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_66 (film VARCHAR, year VARCHAR)
Question: What film was released in 1971?
[/INST]
Here is the SQLite query to answer to the question: What film was relea... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (film VARCHAR, year VARCHAR)
Question: What film was released in 1971?
Here is the SQLite query to answer to the question: What film was released in 1971?:... | bugdaryan/sql-create-context-instruction | |
[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 (high_points VARCHAR, date VARCHAR)
Question: Who had the most points in the game on November 12?
[/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_86 (high_points VARCHAR, date VARCHAR)
Question: Who had the most points in the game on November 12?
Here is the SQLite query to answer to the question: Who 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_13741576_6 (club VARCHAR, points_for VARCHAR)
Question: What club has 536 points for?
[/INST]
Here is the SQLite query to answer to the question: What club ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13741576_6 (club VARCHAR, points_for VARCHAR)
Question: What club has 536 points for?
Here is the SQLite query to answer to the question: What club has 536 points ... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, game VARCHAR)
Question: On what date was game 2 played?
[/INST]
Here is the SQLite query to answer to the question: On what date was ga... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (date VARCHAR, game VARCHAR)
Question: On what date was game 2 played?
Here is the SQLite query to answer to the question: On what date was game 2 played?:... | bugdaryan/sql-create-context-instruction | |
[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 (time VARCHAR, location VARCHAR)
Question: What is the time for Moscow, Russia?
[/INST]
Here is the SQLite query to answer to the question: What is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (time VARCHAR, location VARCHAR)
Question: What is the time for Moscow, Russia?
Here is the SQLite query to answer to the question: What is the time for Mo... | bugdaryan/sql-create-context-instruction | |
[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 (crowd INTEGER, home_team VARCHAR)
Question: What is the largest crowd with Home team of hawthorn?
[/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_62 (crowd INTEGER, home_team VARCHAR)
Question: What is the largest crowd with Home team of hawthorn?
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_26825349_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
Question: The episode that had 8.62 million US viewers originally aired on which date?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26825349_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
Question: The episode that had 8.62 million US viewers originally aired on which date?
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_51 (home_team VARCHAR, venue VARCHAR)
Question: What was the home team's score at the game held at Punt Road Oval?
[/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_51 (home_team VARCHAR, venue VARCHAR)
Question: What was the home team's score at the game held at Punt Road Oval?
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_62 (overall INTEGER, position VARCHAR, round VARCHAR)
Question: During round 8 when the Position being picked was rb, what was the highest overall pick?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (overall INTEGER, position VARCHAR, round VARCHAR)
Question: During round 8 when the Position being picked was rb, what was the highest overall pick?
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_4 (date VARCHAR, score VARCHAR, opponents VARCHAR)
Question: What is Date, when Score is "0-2", and when Opponents is "Bayer Leverkusen"?
[/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_4 (date VARCHAR, score VARCHAR, opponents VARCHAR)
Question: What is Date, when Score is "0-2", and when Opponents is "Bayer Leverkusen"?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (round VARCHAR, method VARCHAR)
Question: What round has a method of submission?
[/INST]
Here is the SQLite query to answer to the question: What roun... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (round VARCHAR, method VARCHAR)
Question: What round has a method of submission?
Here is the SQLite query to answer to the question: What round has a metho... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (high_points VARCHAR, record VARCHAR)
Question: For the game that had an end record of 2-4, who was the high points scorer?
[/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_69 (high_points VARCHAR, record VARCHAR)
Question: For the game that had an end record of 2-4, who was the high points scorer?
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_57 (notes VARCHAR, shirt_printing VARCHAR, year VARCHAR)
Question: What are the notes for the shirt that said Pavv before 2005?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (notes VARCHAR, shirt_printing VARCHAR, year VARCHAR)
Question: What are the notes for the shirt that said Pavv before 2005?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (roll INTEGER, decile VARCHAR, area VARCHAR)
Question: What is the total of the roll with a Decile of 8, and an Area of hororata?
[/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_73 (roll INTEGER, decile VARCHAR, area VARCHAR)
Question: What is the total of the roll with a Decile of 8, and an Area of hororata?
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_99 (record VARCHAR, result VARCHAR, attendance VARCHAR)
Question: What is the record of the game that resulted in a loss with more than 56,648 people in ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (record VARCHAR, result VARCHAR, attendance VARCHAR)
Question: What is the record of the game that resulted in a loss with more than 56,648 people in attend... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, home VARCHAR)
Question: What is the date of the game where the NY Islanders are the home team?
[/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_2 (date VARCHAR, home VARCHAR)
Question: What is the date of the game where the NY Islanders are the home team?
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 weather (zip_code VARCHAR, max_wind_Speed_mph VARCHAR)
Question: For each zip code, return how many times max wind speed reached 25?
[/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 weather (zip_code VARCHAR, max_wind_Speed_mph VARCHAR)
Question: For each zip code, return how many times max wind speed reached 25?
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_30 (athlete VARCHAR, rank VARCHAR, total VARCHAR)
Question: Who had a rank under 17 with a total of 119?
[/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_30 (athlete VARCHAR, rank VARCHAR, total VARCHAR)
Question: Who had a rank under 17 with a total of 119?
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_48 (final_score VARCHAR, date VARCHAR)
Question: What is the Final score on november 22?
[/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_48 (final_score VARCHAR, date VARCHAR)
Question: What is the Final score on november 22?
Here is the SQLite query to answer to the question: What is the Final... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (drawn INTEGER, played INTEGER)
Question: What is the lowest number of games drawn associated with over 39 games played?
[/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_39 (drawn INTEGER, played INTEGER)
Question: What is the lowest number of games drawn associated with over 39 games played?
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_94 (top_25 INTEGER, events VARCHAR, wins VARCHAR)
Question: What is the lowest Top-25 that has 3 Events and Wins greater than 0?
[/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_94 (top_25 INTEGER, events VARCHAR, wins VARCHAR)
Question: What is the lowest Top-25 that has 3 Events and Wins greater than 0?
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_27 (competition VARCHAR, position VARCHAR)
Question: What competition did Lineth Chepkurui place 5th?
[/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_27 (competition VARCHAR, position VARCHAR)
Question: What competition did Lineth Chepkurui place 5th?
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_26 (wins INTEGER, top_5 VARCHAR)
Question: Which Wins has a Top-5 of 6?
[/INST]
Here is the SQLite query to answer to the question: Which Wins has a Top-... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (wins INTEGER, top_5 VARCHAR)
Question: Which Wins has a Top-5 of 6?
Here is the SQLite query to answer to the question: Which Wins has a Top-5 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_26 (position VARCHAR, overall VARCHAR)
Question: WHAT POSITION IS 273?
[/INST]
Here is the SQLite query to answer to the question: WHAT POSITION IS 273?:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (position VARCHAR, overall VARCHAR)
Question: WHAT POSITION IS 273?
Here is the SQLite query to answer to the question: WHAT POSITION IS 273?:
```
SELECT p... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (laps INTEGER, driver VARCHAR, grid VARCHAR)
Question: How many laps for denny hulme with under 4 on the grid?
[/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_13 (laps INTEGER, driver VARCHAR, grid VARCHAR)
Question: How many laps for denny hulme with under 4 on the grid?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (grid INTEGER, time_retired VARCHAR, manufacturer VARCHAR)
Question: WHAT IS THE GRID WITH AN ACCIDENT AND HONDA MANUFACTURER?
[/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_name_72 (grid INTEGER, time_retired VARCHAR, manufacturer VARCHAR)
Question: WHAT IS THE GRID WITH AN ACCIDENT AND HONDA MANUFACTURER?
Here is the SQLite query to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (country VARCHAR, rank INTEGER)
Question: What country is ranked smaller than 2?
[/INST]
Here is the SQLite query to answer to the question: What coun... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (country VARCHAR, rank INTEGER)
Question: What country is ranked smaller than 2?
Here is the SQLite query to answer to the question: What country is ranked... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23670057_5 (current_club VARCHAR, height__m_ VARCHAR)
Question: Which clubs have players with height 2.14m?
[/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_23670057_5 (current_club VARCHAR, height__m_ VARCHAR)
Question: Which clubs have players with height 2.14m?
Here is the SQLite query to answer to the question: Whi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (surface VARCHAR, date VARCHAR)
Question: On June 26, 2006 the game was played on what surface?
[/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_79 (surface VARCHAR, date VARCHAR)
Question: On June 26, 2006 the game was played on what surface?
Here is the SQLite query to answer to the question: On June... | bugdaryan/sql-create-context-instruction | |
[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 (name VARCHAR, pos VARCHAR)
Question: What is the name when the position is centre?
[/INST]
Here is the SQLite query to answer to the question: What i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (name VARCHAR, pos VARCHAR)
Question: What is the name when the position is centre?
Here is the SQLite query to answer to the question: What is the name 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_13 (athlete VARCHAR, country VARCHAR)
Question: Who is the athlete from greece?
[/INST]
Here is the SQLite query to answer to the question: Who is the at... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (athlete VARCHAR, country VARCHAR)
Question: Who is the athlete from greece?
Here is the SQLite query to answer to the question: Who is the athlete from gr... | bugdaryan/sql-create-context-instruction | |
[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 (round VARCHAR, position VARCHAR, player VARCHAR)
Question: What round was Andre Fluellen drafted as a Defensive Tackle?
[/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_54 (round VARCHAR, position VARCHAR, player VARCHAR)
Question: What round was Andre Fluellen drafted as a Defensive Tackle?
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_7 (capital VARCHAR, area_in_1000km²__1930_ VARCHAR)
Question: tell me the name of the capital with an area of 20,4.
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (capital VARCHAR, area_in_1000km²__1930_ VARCHAR)
Question: tell me the name of the capital with an area of 20,4.
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_36 (run_ratio INTEGER, team VARCHAR, runs_allowed VARCHAR, wins VARCHAR)
Question: What is the highest run ratio Japan, which has less than 58 runs and 5... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (run_ratio INTEGER, team VARCHAR, runs_allowed VARCHAR, wins VARCHAR)
Question: What is the highest run ratio Japan, which has less than 58 runs and 5 wins,... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (director VARCHAR, original_title VARCHAR)
Question: Original title of das leben der anderen had what director?
[/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_28 (director VARCHAR, original_title VARCHAR)
Question: Original title of das leben der anderen had what director?
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_14460085_3 (played INTEGER, team VARCHAR)
Question: What is the lowest number of games played for deportivo español?
[/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_14460085_3 (played INTEGER, team VARCHAR)
Question: What is the lowest number of games played for deportivo español?
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_21690339_1 (_percentage_cut VARCHAR, gas_storage VARCHAR)
Question: What wast the percent cut for the nation with an 80% full gas storage?
[/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_21690339_1 (_percentage_cut VARCHAR, gas_storage VARCHAR)
Question: What wast the percent cut for the nation with an 80% full gas storage?
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_40 (club VARCHAR, rank VARCHAR)
Question: Which Club has a Rank of 5?
[/INST]
Here is the SQLite query to answer to the question: Which Club has a Rank o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (club VARCHAR, rank VARCHAR)
Question: Which Club has a Rank of 5?
Here is the SQLite query to answer to the question: Which Club has a Rank of 5?:
```
SEL... | bugdaryan/sql-create-context-instruction | |
[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 (game VARCHAR, team VARCHAR, record VARCHAR)
Question: Which Game has a Team of at san antonio, and a Record of 3-3?
[/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_86 (game VARCHAR, team VARCHAR, record VARCHAR)
Question: Which Game has a Team of at san antonio, and a Record of 3-3?
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_66 (home_team VARCHAR, away_team VARCHAR)
Question: Who is the home team when hawthorn is the away side?
[/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_66 (home_team VARCHAR, away_team VARCHAR)
Question: Who is the home team when hawthorn is the away side?
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_27441210_5 (weeks_at__number1 INTEGER, year VARCHAR)
Question: Name the least weeks at number 1 for 1988
[/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_27441210_5 (weeks_at__number1 INTEGER, year VARCHAR)
Question: Name the least weeks at number 1 for 1988
Here is the SQLite query to answer to the question: Name 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_21146729_6 (title VARCHAR, writer_s_ VARCHAR)
Question: what is the title when the writer(s) is jack turley?
[/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_21146729_6 (title VARCHAR, writer_s_ VARCHAR)
Question: what is the title when the writer(s) is jack turley?
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_1 (location VARCHAR, year VARCHAR, country VARCHAR)
Question: What is the location for Yemen in 1994?
[/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_1 (location VARCHAR, year VARCHAR, country VARCHAR)
Question: What is the location for Yemen in 1994?
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_58 (college VARCHAR, school VARCHAR)
Question: What college did the player from Liberty County High School attend?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (college VARCHAR, school VARCHAR)
Question: What college did the player from Liberty County High School attend?
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_66 (jury VARCHAR, artist VARCHAR, draw VARCHAR)
Question: How much Jury has an Artist of chalice & maagiline kuues, and a Draw smaller than 5?
[/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_66 (jury VARCHAR, artist VARCHAR, draw VARCHAR)
Question: How much Jury has an Artist of chalice & maagiline kuues, and a Draw smaller than 5?
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_53 (date VARCHAR, arena VARCHAR)
Question: What date has joe louis arena as the arena?
[/INST]
Here is the SQLite query to answer to the question: What d... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (date VARCHAR, arena VARCHAR)
Question: What date has joe louis arena as the arena?
Here is the SQLite query to answer to the question: What date has joe 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_41 (shoulder VARCHAR, neck VARCHAR)
Question: Which shoulder has a Neck of 7.3 (.288)?
[/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_41 (shoulder VARCHAR, neck VARCHAR)
Question: Which shoulder has a Neck of 7.3 (.288)?
Here is the SQLite query to answer to the question: Which shoulder 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_31 (goals_scored INTEGER, club VARCHAR, wins VARCHAR)
Question: How many goals scored have utenis utena as the club, with wins less 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_31 (goals_scored INTEGER, club VARCHAR, wins VARCHAR)
Question: How many goals scored have utenis utena as the club, with wins less 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_14395920_2 (winner VARCHAR, stage VARCHAR)
Question: Who won stage 18?
[/INST]
Here is the SQLite query to answer to the question: Who won stage 18?:
```
SELE... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14395920_2 (winner VARCHAR, stage VARCHAR)
Question: Who won stage 18?
Here is the SQLite query to answer to the question: Who won stage 18?:
```
SELECT winner FRO... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_201400_2 (malayalam_name_മലയാളം VARCHAR, sanskrit VARCHAR)
Question: what is the malayalam name മലയാളം of sanskrit uttarāṣāḍha उत्तराषाढा
[/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_201400_2 (malayalam_name_മലയാളം VARCHAR, sanskrit VARCHAR)
Question: what is the malayalam name മലയാളം of sanskrit uttarāṣāḍha उत्तराषाढा
Here is the SQLite query ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (home_team VARCHAR, tie_no VARCHAR)
Question: Which team has home game with tie of 4?
[/INST]
Here is the SQLite query to answer to the question: Whic... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (home_team VARCHAR, tie_no VARCHAR)
Question: Which team has home game with tie of 4?
Here is the SQLite query to answer to the question: Which team has ho... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (game VARCHAR, result VARCHAR, record VARCHAR)
Question: How many games have a Result of l, and a Record of 2-6?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (game VARCHAR, result VARCHAR, record VARCHAR)
Question: How many games have a Result of l, and a Record of 2-6?
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 (against VARCHAR, venue VARCHAR, date VARCHAR)
Question: What is Against, when Venue is "Twickenham , London", and when Date is "04/03/2000"?
[/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 (against VARCHAR, venue VARCHAR, date VARCHAR)
Question: What is Against, when Venue is "Twickenham , London", and when Date is "04/03/2000"?
Here is the S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (member_countries VARCHAR, area__km²_ VARCHAR)
Question: Which country has an area of 871,980 square km?
[/INST]
Here is the SQLite query to answer to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (member_countries VARCHAR, area__km²_ VARCHAR)
Question: Which country has an area of 871,980 square km?
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_75 (score VARCHAR, opponent VARCHAR, record VARCHAR)
Question: what score has the opponent of tigers and a record of 78-64?
[/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_75 (score VARCHAR, opponent VARCHAR, record VARCHAR)
Question: what score has the opponent of tigers and a record of 78-64?
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_22460085_1 (original_broadway_performer VARCHAR, original_west_end_performer VARCHAR)
Question: Who was the Broadway equivalent of Sharon D. Clarke's characte... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22460085_1 (original_broadway_performer VARCHAR, original_west_end_performer VARCHAR)
Question: Who was the Broadway equivalent of Sharon D. Clarke's character?
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_31 (length VARCHAR, character_type VARCHAR)
Question: What is the length of the film with the character type being a milkman turned prizefighter?
[/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 (length VARCHAR, character_type VARCHAR)
Question: What is the length of the film with the character type being a milkman turned prizefighter?
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_25058269_1 (runner_up VARCHAR, season VARCHAR)
Question: In season 2007–08 who is the runner-up?
[/INST]
Here is the SQLite query to answer to the question: I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25058269_1 (runner_up VARCHAR, season VARCHAR)
Question: In season 2007–08 who is the runner-up?
Here is the SQLite query to answer to the question: In season 2007... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2013618_1 (english_name VARCHAR, traditional VARCHAR)
Question: Name the english name for 福鼎市
[/INST]
Here is the SQLite query to answer to the question: Nam... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2013618_1 (english_name VARCHAR, traditional VARCHAR)
Question: Name the english name for 福鼎市
Here is the SQLite query to answer to the question: Name the english... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2886617_4 (nationality VARCHAR, player VARCHAR)
Question: How many countries had players named Marc Savard get picked?
[/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_2886617_4 (nationality VARCHAR, player VARCHAR)
Question: How many countries had players named Marc Savard get picked?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (elevator VARCHAR, elector VARCHAR, elevated VARCHAR, order VARCHAR)
Question: What's the Elevator that has Elevated: 1378, September 18, an Order of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (elevator VARCHAR, elector VARCHAR, elevated VARCHAR, order VARCHAR)
Question: What's the Elevator that has Elevated: 1378, September 18, an Order of Cardin... | bugdaryan/sql-create-context-instruction | |
[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 (report VARCHAR, status VARCHAR, against VARCHAR)
Question: What report has tour match as the status, with an against less than 22?
[/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_92 (report VARCHAR, status VARCHAR, against VARCHAR)
Question: What report has tour match as the status, with an against less than 22?
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_1939367_1 (arabs_2001 INTEGER, province VARCHAR)
Question: If the province is Manitoba, what is the Arabs 2001 number?
[/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_1939367_1 (arabs_2001 INTEGER, province VARCHAR)
Question: If the province is Manitoba, what is the Arabs 2001 number?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (points INTEGER, drawn VARCHAR, position VARCHAR, team VARCHAR)
Question: Which Points is the highest one that has a Position smaller than 4, and a Te... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (points INTEGER, drawn VARCHAR, position VARCHAR, team VARCHAR)
Question: Which Points is the highest one that has a Position smaller than 4, and a Team 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_79 (gold INTEGER, total INTEGER)
Question: How many total golds do teams have when the total medals is less than 1?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (gold INTEGER, total INTEGER)
Question: How many total golds do teams have when the total medals is less than 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_98 (swimsuit VARCHAR, preliminary VARCHAR, average VARCHAR)
Question: What is the swimsuit number when the preliminary is 8.721, and the average is more ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (swimsuit VARCHAR, preliminary VARCHAR, average VARCHAR)
Question: What is the swimsuit number when the preliminary is 8.721, and the average is more than 8... | bugdaryan/sql-create-context-instruction | |
[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 (race VARCHAR, length VARCHAR)
Question: What race is 12 hours in length?
[/INST]
Here is the SQLite query to answer to the question: What race is 12 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (race VARCHAR, length VARCHAR)
Question: What race is 12 hours in length?
Here is the SQLite query to answer to the question: What race is 12 hours in leng... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11214772_1 (champion VARCHAR, semi_finalist__number2 VARCHAR, location VARCHAR)
Question: who is the champion where semi-finalist #2 is na and location is mo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11214772_1 (champion VARCHAR, semi_finalist__number2 VARCHAR, location VARCHAR)
Question: who is the champion where semi-finalist #2 is na and location is morrisvi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (result VARCHAR, week VARCHAR)
Question: What is the result week 6?
[/INST]
Here is the SQLite query to answer to the question: What is the result wee... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (result VARCHAR, week VARCHAR)
Question: What is the result week 6?
Here is the SQLite query to answer to the question: What is the result week 6?:
```
SEL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18760137_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR)
Question: Name the most numbers dam and gnis query link for borough or ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18760137_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR)
Question: Name the most numbers dam and gnis query link for borough or census... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27437601_2 (original_air_date VARCHAR, no_in_season VARCHAR)
Question: List the 1st air date for season 12.
[/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_27437601_2 (original_air_date VARCHAR, no_in_season VARCHAR)
Question: List the 1st air date for season 12.
Here is the SQLite query to answer to the question: Lis... | bugdaryan/sql-create-context-instruction | |
[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 (year INTEGER, host VARCHAR)
Question: In what year was Luxembourg Host?
[/INST]
Here is the SQLite query to answer to the question: In what year was ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (year INTEGER, host VARCHAR)
Question: In what year was Luxembourg Host?
Here is the SQLite query to answer to the question: In what year was Luxembourg Ho... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10321124_1 (COUNT VARCHAR, escherichia VARCHAR)
Question: how many ↓ function / genus → with escherichia being espd
[/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_10321124_1 (COUNT VARCHAR, escherichia VARCHAR)
Question: how many ↓ function / genus → with escherichia being espd
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_27714573_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)
Question: how many millions of north american viewers had the episode whose director was Micha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27714573_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)
Question: how many millions of north american viewers had the episode whose director was Michael Lem... | bugdaryan/sql-create-context-instruction | |
[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 (race VARCHAR, circuit VARCHAR)
Question: What race contains the Monaco circuit?
[/INST]
Here is the SQLite query to answer to the question: What race... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (race VARCHAR, circuit VARCHAR)
Question: What race contains the Monaco circuit?
Here is the SQLite query to answer to the question: What race contains 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_19017269_5 (europe VARCHAR, northern_america VARCHAR)
Question: what will be the population of Europe when Northern America is 482 (4.7%)?
[/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_19017269_5 (europe VARCHAR, northern_america VARCHAR)
Question: what will be the population of Europe when Northern America is 482 (4.7%)?
Here is the SQLite quer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (name VARCHAR, area VARCHAR, decile VARCHAR, authority VARCHAR)
Question: What is the name of the school with a decile of 1, a state authority, and lo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (name VARCHAR, area VARCHAR, decile VARCHAR, authority VARCHAR)
Question: What is the name of the school with a decile of 1, a state authority, and located ... | bugdaryan/sql-create-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 (Fname VARCHAR, Age VARCHAR)
Question: Find the first name of students in the descending order of age.
[/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 STUDENT (Fname VARCHAR, Age VARCHAR)
Question: Find the first name of students in the descending order of age.
Here is the SQLite query to answer to the question: Find 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_11 (tournament VARCHAR, runner_s__up VARCHAR)
Question: What tournament had a Runner(s)-up of Tom Kite?
[/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_11 (tournament VARCHAR, runner_s__up VARCHAR)
Question: What tournament had a Runner(s)-up of Tom Kite?
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_40 (title VARCHAR, release_date VARCHAR)
Question: What was released on 1936-08-29?
[/INST]
Here is the SQLite query to answer to the question: What was ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (title VARCHAR, release_date VARCHAR)
Question: What was released on 1936-08-29?
Here is the SQLite query to answer to the question: What was released on 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_98 (carries INTEGER, points VARCHAR, touchdowns VARCHAR)
Question: What is the sum of carries associated with 80 points and fewer than 16 touchdowns?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (carries INTEGER, points VARCHAR, touchdowns VARCHAR)
Question: What is the sum of carries associated with 80 points and fewer than 16 touchdowns?
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_93 (away_team VARCHAR, home_team VARCHAR)
Question: If north melbourne played as the home team, who was the away team they played?
[/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_93 (away_team VARCHAR, home_team VARCHAR)
Question: If north melbourne played as the home team, who was the away team they played?
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 band (id VARCHAR, lastname VARCHAR); CREATE TABLE vocals (songid VARCHAR, bandmate VARCHAR); CREATE TABLE songs (songid VARCHAR, title VARCHAR)
Question: Which voca... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE band (id VARCHAR, lastname VARCHAR); CREATE TABLE vocals (songid VARCHAR, bandmate VARCHAR); CREATE TABLE songs (songid VARCHAR, title VARCHAR)
Question: Which vocal type... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23449363_1 (leagues_entering_at_this_round VARCHAR, winners_from_previous_round VARCHAR)
Question: Which leagues entered in rounds where there were 16 winners... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23449363_1 (leagues_entering_at_this_round VARCHAR, winners_from_previous_round VARCHAR)
Question: Which leagues entered in rounds where there were 16 winners from ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE weather (zip_code VARCHAR, mean_sea_level_pressure_inches INTEGER)
Question: What is the zip code in which the average mean sea level pressure is the lowest?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE weather (zip_code VARCHAR, mean_sea_level_pressure_inches INTEGER)
Question: What is the zip code in which the average mean sea level pressure is the lowest?
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_25563779_4 (season VARCHAR, national_trophy_rookie VARCHAR)
Question: If the national trophy/rookie is Simone Iaquinta, what is the season total number?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25563779_4 (season VARCHAR, national_trophy_rookie VARCHAR)
Question: If the national trophy/rookie is Simone Iaquinta, what is the season total number?
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_65 (visitor VARCHAR, date VARCHAR)
Question: Who was the visiting team on November 26, 2007?
[/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_65 (visitor VARCHAR, date VARCHAR)
Question: Who was the visiting team on November 26, 2007?
Here is the SQLite query to answer to the question: Who was the v... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (Id VARCHAR)
Question: How many sets were played in the 2011 tournament, in which 2R were played in 2008?
[/INST]
Here is the SQLite query to answer to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (Id VARCHAR)
Question: How many sets were played in the 2011 tournament, in which 2R were played in 2008?
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_20967430_2 (written_by VARCHAR, prod_code VARCHAR)
Question: Name the written by for production code 4g07
[/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_20967430_2 (written_by VARCHAR, prod_code VARCHAR)
Question: Name the written by for production code 4g07
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 purchase (branch_id VARCHAR, year VARCHAR); CREATE TABLE branch (branch_id VARCHAR, city VARCHAR)
Question: What is the sum of total pounds of purchase in year 2018... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE purchase (branch_id VARCHAR, year VARCHAR); CREATE TABLE branch (branch_id VARCHAR, city VARCHAR)
Question: What is the sum of total pounds of purchase in year 2018 for 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 actor (Name VARCHAR, Musical_ID VARCHAR); CREATE TABLE musical (Musical_ID VARCHAR, Name VARCHAR)
Question: Show names of actors that have appeared in musical with ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE actor (Name VARCHAR, Musical_ID VARCHAR); CREATE TABLE musical (Musical_ID VARCHAR, Name VARCHAR)
Question: Show names of actors that have appeared in musical with 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_name_76 (winner VARCHAR, name VARCHAR)
Question: Who won the Fedex tour of Calabarzon?
[/INST]
Here is the SQLite query to answer to the question: Who won the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (winner VARCHAR, name VARCHAR)
Question: Who won the Fedex tour of Calabarzon?
Here is the SQLite query to answer to the question: Who won the Fedex tour 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_name_63 (game INTEGER, team VARCHAR)
Question: What was the number of the game against Charlotte?
[/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_63 (game INTEGER, team VARCHAR)
Question: What was the number of the game against Charlotte?
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_8 (malaysia_cup VARCHAR, league VARCHAR, total VARCHAR, player VARCHAR)
Question: How many Malaysia Cups have a Total larger than 3, and a Player of ivan... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (malaysia_cup VARCHAR, league VARCHAR, total VARCHAR, player VARCHAR)
Question: How many Malaysia Cups have a Total larger than 3, and a Player of ivan yusof... | bugdaryan/sql-create-context-instruction | |
[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 (laps INTEGER, driver VARCHAR, grid VARCHAR)
Question: what is the least laps for driver gerhard berger with a grid more than 6?
[/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_35 (laps INTEGER, driver VARCHAR, grid VARCHAR)
Question: what is the least laps for driver gerhard berger with a grid more than 6?
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_83 (drawn INTEGER, lost VARCHAR)
Question: How many drawns have 7 for the lost?
[/INST]
Here is the SQLite query to answer to the question: How many draw... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (drawn INTEGER, lost VARCHAR)
Question: How many drawns have 7 for the lost?
Here is the SQLite query to answer to the question: How many drawns have 7 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_2221374_3 (production_code VARCHAR, no_in_season VARCHAR)
Question: What is the production code for episode 3 of the season?
[/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_2221374_3 (production_code VARCHAR, no_in_season VARCHAR)
Question: What is the production code for episode 3 of the season?
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_72 (number_ VARCHAR, _name VARCHAR, description VARCHAR)
Question: What's the number & name for the description peckett 0-4-0st?
[/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_72 (number_ VARCHAR, _name VARCHAR, description VARCHAR)
Question: What's the number & name for the description peckett 0-4-0st?
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_25 (home_team VARCHAR, crowd INTEGER)
Question: Which home teams had crowds larger than 4,000?
[/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_25 (home_team VARCHAR, crowd INTEGER)
Question: Which home teams had crowds larger than 4,000?
Here is the SQLite query to answer to the question: Which home ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (date VARCHAR, h_a_n VARCHAR, score VARCHAR)
Question: What is Date, when H/A/N is "H", and when Score is 112-118?
[/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_77 (date VARCHAR, h_a_n VARCHAR, score VARCHAR)
Question: What is Date, when H/A/N is "H", and when Score is 112-118?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.