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_70 (date VARCHAR, home_team VARCHAR)
Question: When did Essendon play as the home team?
[/INST]
Here is the SQLite query to answer to the question: When ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (date VARCHAR, home_team VARCHAR)
Question: When did Essendon play as the home team?
Here is the SQLite query to answer to the question: When did Essendon ... | bugdaryan/sql-create-context-instruction | |
[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 (points INTEGER, team VARCHAR, position VARCHAR)
Question: Which Points has a Team of são paulo athletic, and a Position larger than 5?
[/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_15 (points INTEGER, team VARCHAR, position VARCHAR)
Question: Which Points has a Team of são paulo athletic, and a Position larger than 5?
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_92 (player VARCHAR, team VARCHAR)
Question: Who plays for the chicago bulls?
[/INST]
Here is the SQLite query to answer to the question: Who plays for 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 (player VARCHAR, team VARCHAR)
Question: Who plays for the chicago bulls?
Here is the SQLite query to answer to the question: Who plays for the chicago bul... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1670921_2 (wicket VARCHAR, runs VARCHAR, fielding_team VARCHAR)
Question: What are the wickets when there are 451 runs and india is the fielding team?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1670921_2 (wicket VARCHAR, runs VARCHAR, fielding_team VARCHAR)
Question: What are the wickets when there are 451 runs and india is the fielding team?
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_9 (heat INTEGER, lane VARCHAR, nationality VARCHAR)
Question: Who was the 4 lane person from Canada?
[/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_9 (heat INTEGER, lane VARCHAR, nationality VARCHAR)
Question: Who was the 4 lane person from Canada?
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_1672976_2 (institution VARCHAR, wins VARCHAR, current_streak VARCHAR)
Question: What institution had 6 wins and a current streak of won 2?
[/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_1672976_2 (institution VARCHAR, wins VARCHAR, current_streak VARCHAR)
Question: What institution had 6 wins and a current streak of won 2?
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_2387790_2 (avg_finish VARCHAR, position VARCHAR)
Question: What was the average finish the year Bodine finished 3rd?
[/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_2387790_2 (avg_finish VARCHAR, position VARCHAR)
Question: What was the average finish the year Bodine finished 3rd?
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_40 (home_team VARCHAR, venue VARCHAR)
Question: Which home team plays at Punt Road Oval?
[/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_40 (home_team VARCHAR, venue VARCHAR)
Question: Which home team plays at Punt Road Oval?
Here is the SQLite query to answer to the question: Which home team 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_6 (format VARCHAR, single VARCHAR)
Question: What's the format of the single, I Can't Stay?
[/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_6 (format VARCHAR, single VARCHAR)
Question: What's the format of the single, I Can't Stay?
Here is the SQLite query to answer to the question: What's the for... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)
Question: What is the Date of vacancy for Tommy McLean?
[/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_80 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)
Question: What is the Date of vacancy for Tommy McLean?
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 (position VARCHAR, player VARCHAR)
Question: What position does Barry Richter play?
[/INST]
Here is the SQLite query to answer to the question: What p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (position VARCHAR, player VARCHAR)
Question: What position does Barry Richter play?
Here is the SQLite query to answer to the question: What position does ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1389609_3 (total_population INTEGER, region VARCHAR)
Question: What is the entire inhabitants in Southeast Asia?
[/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_1389609_3 (total_population INTEGER, region VARCHAR)
Question: What is the entire inhabitants in Southeast Asia?
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_27039190_3 (episode VARCHAR, viewers VARCHAR)
Question: How many episodes had 4.44m viewers?
[/INST]
Here is the SQLite query to answer to the question: How m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27039190_3 (episode VARCHAR, viewers VARCHAR)
Question: How many episodes had 4.44m viewers?
Here is the SQLite query to answer to the question: How many episodes ... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, game VARCHAR, date VARCHAR)
Question: Who was the opponent for a game over 31 and a date over 30?
[/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_54 (opponent VARCHAR, game VARCHAR, date VARCHAR)
Question: Who was the opponent for a game over 31 and a date over 30?
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_14219514_2 (home__2nd_leg_ VARCHAR, home__1st_leg_ VARCHAR)
Question: When belgrano is the home (1st leg) what is the home (2nd leg)?
[/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_14219514_2 (home__2nd_leg_ VARCHAR, home__1st_leg_ VARCHAR)
Question: When belgrano is the home (1st leg) what is the home (2nd leg)?
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_2626495_1 (originalairdate VARCHAR, directed_by VARCHAR)
Question: how many times was the episode directed by maury geraghty originally aired?
[/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_2626495_1 (originalairdate VARCHAR, directed_by VARCHAR)
Question: how many times was the episode directed by maury geraghty originally aired?
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_20803241_1 (cash_fare VARCHAR, type_of_fare VARCHAR)
Question: When mega pass* (senior/disabled) is the type of fare what is the cash fare?
[/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_20803241_1 (cash_fare VARCHAR, type_of_fare VARCHAR)
Question: When mega pass* (senior/disabled) is the type of fare what is the cash fare?
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_7 (position VARCHAR, pick VARCHAR)
Question: Tell me the position for pick of 146
[/INST]
Here is the SQLite query to answer to the question: Tell me the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (position VARCHAR, pick VARCHAR)
Question: Tell me the position for pick of 146
Here is the SQLite query to answer to the question: Tell me the position 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_2263152_1 (features VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR)
Question: If the distribution mechanism is the Microsoft website and the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2263152_1 (features VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR)
Question: If the distribution mechanism is the Microsoft website and the secur... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (engine_code VARCHAR, model VARCHAR)
Question: What is the engine code for the model xdrive35i?
[/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_9 (engine_code VARCHAR, model VARCHAR)
Question: What is the engine code for the model xdrive35i?
Here is the SQLite query to answer to the question: What is... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (production_number VARCHAR, director VARCHAR, title VARCHAR)
Question: What is the production number for the episode directed by Robert McKimson named... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (production_number VARCHAR, director VARCHAR, title VARCHAR)
Question: What is the production number for the episode directed by Robert McKimson named Mice ... | bugdaryan/sql-create-context-instruction | |
[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 (shirt_sponsor VARCHAR, manager VARCHAR)
Question: Which sponsor has Mark Hughes as manager?
[/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_23 (shirt_sponsor VARCHAR, manager VARCHAR)
Question: Which sponsor has Mark Hughes as manager?
Here is the SQLite query to answer to the question: Which spon... | bugdaryan/sql-create-context-instruction | |
[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 (genre VARCHAR, artist VARCHAR)
Question: What is the Genre when the Artist is Prince?
[/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_7 (genre VARCHAR, artist VARCHAR)
Question: What is the Genre when the Artist is Prince?
Here is the SQLite query to answer to the question: What is the Genre... | bugdaryan/sql-create-context-instruction | |
[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 (city VARCHAR, icao VARCHAR)
Question: Which city has an ICAO of TBA?
[/INST]
Here is the SQLite query to answer to the question: Which city has an IC... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (city VARCHAR, icao VARCHAR)
Question: Which city has an ICAO of TBA?
Here is the SQLite query to answer to the question: Which city has an ICAO of TBA?:
`... | bugdaryan/sql-create-context-instruction | |
[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 (result VARCHAR, attendance VARCHAR)
Question: What is the Result when the Attendance is 1,634?
[/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_85 (result VARCHAR, attendance VARCHAR)
Question: What is the Result when the Attendance is 1,634?
Here is the SQLite query to answer to the question: What is... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (score VARCHAR, date VARCHAR)
Question: Date of april 9 had what score?
[/INST]
Here is the SQLite query to answer to the question: Date of april 9 ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (score VARCHAR, date VARCHAR)
Question: Date of april 9 had what score?
Here is the SQLite query to answer to the question: Date of april 9 had what score?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (champion VARCHAR, engine VARCHAR, season VARCHAR)
Question: Who was the champion that drove the car with the Ford engine in 1971?
[/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_28 (champion VARCHAR, engine VARCHAR, season VARCHAR)
Question: Who was the champion that drove the car with the Ford engine in 1971?
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_60 (record VARCHAR, date VARCHAR)
Question: What is the record of the game on February 21, 2008?
[/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_60 (record VARCHAR, date VARCHAR)
Question: What is the record of the game on February 21, 2008?
Here is the SQLite query to answer to the question: What is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (place VARCHAR, score VARCHAR)
Question: What place was the scorer of 67-74-73=214?
[/INST]
Here is the SQLite query to answer to the question: What p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (place VARCHAR, score VARCHAR)
Question: What place was the scorer of 67-74-73=214?
Here is the SQLite query to answer to the question: What place 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_47 (mccain_number INTEGER, obama_number VARCHAR, others_percentage VARCHAR, mccain_percentage VARCHAR)
Question: What is the highest number of votes for ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (mccain_number INTEGER, obama_number VARCHAR, others_percentage VARCHAR, mccain_percentage VARCHAR)
Question: What is the highest number of votes for McCain... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE country (Code VARCHAR, Continent VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR)
Question: Which language is the most popular on the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE country (Code VARCHAR, Continent VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR)
Question: Which language is the most popular on the Asian ... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, round VARCHAR)
Question: who was the opponent with round 17?
[/INST]
Here is the SQLite query to answer to the question: who was th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (opponent VARCHAR, round VARCHAR)
Question: who was the opponent with round 17?
Here is the SQLite query to answer to the question: who was the opponent wi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (home VARCHAR, country VARCHAR)
Question: Where in Sweden is the home of the Swedish team?
[/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_14 (home VARCHAR, country VARCHAR)
Question: Where in Sweden is the home of the Swedish team?
Here is the SQLite query to answer to the question: Where in Swe... | bugdaryan/sql-create-context-instruction | |
[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 (grid INTEGER, driver VARCHAR, laps VARCHAR)
Question: For Jo Siffert, what was the highest grid with the number of laps above 12?
[/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_5 (grid INTEGER, driver VARCHAR, laps VARCHAR)
Question: For Jo Siffert, what was the highest grid with the number of laps above 12?
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 roller_coaster (Speed VARCHAR, LENGTH VARCHAR)
Question: What are the speeds of the longest roller coaster?
[/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 roller_coaster (Speed VARCHAR, LENGTH VARCHAR)
Question: What are the speeds of the longest roller coaster?
Here is the SQLite query to answer to the 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_name_2 (total_medals INTEGER, ensemble VARCHAR)
Question: Name the average total medals with ensemble of goshen hs
[/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_2 (total_medals INTEGER, ensemble VARCHAR)
Question: Name the average total medals with ensemble of goshen hs
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_16439764_1 (m_v_ft_s INTEGER, max_height__ft_ VARCHAR)
Question: How many feet per second does a shell move where the height range is 23500?
[/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_16439764_1 (m_v_ft_s INTEGER, max_height__ft_ VARCHAR)
Question: How many feet per second does a shell move where the height range is 23500?
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_30 (year VARCHAR, event VARCHAR, driver VARCHAR)
Question: What year was the Spanish Grand Prix where Emerson Fittipaldi drove?
[/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_30 (year VARCHAR, event VARCHAR, driver VARCHAR)
Question: What year was the Spanish Grand Prix where Emerson Fittipaldi drove?
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_25561038_1 (points VARCHAR, position VARCHAR)
Question: List the total points for the 1st place team.
[/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_25561038_1 (points VARCHAR, position VARCHAR)
Question: List the total points for the 1st place team.
Here is the SQLite query to answer to the question: List 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_46 (location VARCHAR, unit VARCHAR)
Question: Where is two medicine formation?
[/INST]
Here is the SQLite query to answer to the question: Where is two m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (location VARCHAR, unit VARCHAR)
Question: Where is two medicine formation?
Here is the SQLite query to answer to the question: Where is two medicine forma... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1137718_2 (fastest_lap VARCHAR, location VARCHAR)
Question: How many drivers had the fastest lap at Silverstone?
[/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_1137718_2 (fastest_lap VARCHAR, location VARCHAR)
Question: How many drivers had the fastest lap at Silverstone?
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 airports (city VARCHAR, country VARCHAR)
Question: How many airports are there per city in the United States? Order the cities by decreasing number of airports.
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE airports (city VARCHAR, country VARCHAR)
Question: How many airports are there per city in the United States? Order the cities by decreasing number of airports.
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_41 (score VARCHAR, game VARCHAR, record VARCHAR)
Question: What is the Score of the game earlier than 69 with a record of 4–56?
[/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_41 (score VARCHAR, game VARCHAR, record VARCHAR)
Question: What is the Score of the game earlier than 69 with a record of 4–56?
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_28059992_2 (college VARCHAR, player VARCHAR)
Question: Name the number of colleges for jerome pathon
[/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_28059992_2 (college VARCHAR, player VARCHAR)
Question: Name the number of colleges for jerome pathon
Here is the SQLite query to answer to the question: Name the n... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22265716_1 (director VARCHAR, film_title_used_in_nomination VARCHAR)
Question: Who directed the film with the title three summer days?
[/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_22265716_1 (director VARCHAR, film_title_used_in_nomination VARCHAR)
Question: Who directed the film with the title three summer days?
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_95 (english_title VARCHAR, original_title VARCHAR)
Question: What's the English title listed that has an Original title of The Crying Game?
[/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_95 (english_title VARCHAR, original_title VARCHAR)
Question: What's the English title listed that has an Original title of The Crying Game?
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_15796054_3 (order__number VARCHAR, original_artist VARCHAR, result VARCHAR)
Question: Name the order number for the beatles and result is safe
[/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_15796054_3 (order__number VARCHAR, original_artist VARCHAR, result VARCHAR)
Question: Name the order number for the beatles and result is safe
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_49 (rank VARCHAR, avgatt VARCHAR)
Question: Wha is the rank for 52 574 avg. att?
[/INST]
Here is the SQLite query to answer to the question: Wha is the r... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (rank VARCHAR, avgatt VARCHAR)
Question: Wha is the rank for 52 574 avg. att?
Here is the SQLite query to answer to the question: Wha is the rank for 52 57... | bugdaryan/sql-create-context-instruction | |
[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 (lost INTEGER, against VARCHAR, drawn VARCHAR)
Question: How much Lost has an Against larger than 19, and a Drawn smaller than 1?
[/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_67 (lost INTEGER, against VARCHAR, drawn VARCHAR)
Question: How much Lost has an Against larger than 19, and a Drawn smaller than 1?
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_48 (start_time VARCHAR, date VARCHAR)
Question: Tell me the start time for december 24, 2005
[/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_48 (start_time VARCHAR, date VARCHAR)
Question: Tell me the start time for december 24, 2005
Here is the SQLite query to answer to the question: Tell me 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_18 (wind VARCHAR, rank VARCHAR, location VARCHAR)
Question: What was the wind at New York City when the rank was smaller than 6?
[/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_18 (wind VARCHAR, rank VARCHAR, location VARCHAR)
Question: What was the wind at New York City when the rank was smaller than 6?
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_87 (division VARCHAR, team VARCHAR)
Question: Which division do the Toronto Raptors belong in?
[/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_87 (division VARCHAR, team VARCHAR)
Question: Which division do the Toronto Raptors belong in?
Here is the SQLite query to answer to the question: Which divis... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (director_s_ VARCHAR, rank VARCHAR, film VARCHAR)
Question: Who directed the nominated film 'blood on his hands'?
[/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_45 (director_s_ VARCHAR, rank VARCHAR, film VARCHAR)
Question: Who directed the nominated film 'blood on his hands'?
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_24 (money_requested__ INTEGER, episode VARCHAR, entrepreneur_s_ VARCHAR)
Question: In episode 7 what was the highest amount of money requested by Jerry M... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (money_requested__ INTEGER, episode VARCHAR, entrepreneur_s_ VARCHAR)
Question: In episode 7 what was the highest amount of money requested by Jerry Mantalv... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_176524_2 (census_ranking VARCHAR, official_name VARCHAR)
Question: What is the census ranking for the Perth parish?
[/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_176524_2 (census_ranking VARCHAR, official_name VARCHAR)
Question: What is the census ranking for the Perth parish?
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_37 (lifespan VARCHAR, majors VARCHAR, name VARCHAR)
Question: What lifespan has a majors greater than 1, and fuzzy zoeller as the name?
[/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_37 (lifespan VARCHAR, majors VARCHAR, name VARCHAR)
Question: What lifespan has a majors greater than 1, and fuzzy zoeller as the name?
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_91 (wins INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR)
Question: Which Wins have a Goal Difference larger than 12, and a Club of granad... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (wins INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR)
Question: Which Wins have a Goal Difference larger than 12, and a Club of granada cf, ... | bugdaryan/sql-create-context-instruction | |
[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 (voice_actor__harmony_gold_ova_dub_ VARCHAR, japanese_voice_actor VARCHAR)
Question: Who is the voice actor of the character with the Japanese voice a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (voice_actor__harmony_gold_ova_dub_ VARCHAR, japanese_voice_actor VARCHAR)
Question: Who is the voice actor of the character with the Japanese voice actor Y... | bugdaryan/sql-create-context-instruction | |
[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, score VARCHAR)
Question: What date was the score of 6–3 6–4?
[/INST]
Here is the SQLite query to answer to the question: What date was ... | 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, score VARCHAR)
Question: What date was the score of 6–3 6–4?
Here is the SQLite query to answer to the question: What date was the score 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_87 (to_par VARCHAR, place VARCHAR, player VARCHAR)
Question: Which To par has a Place of t4, and wayne grady is in?
[/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_87 (to_par VARCHAR, place VARCHAR, player VARCHAR)
Question: Which To par has a Place of t4, and wayne grady is in?
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_5 (chassis VARCHAR, entrant VARCHAR)
Question: What chassis had an entrant of G.A. Vandervell?
[/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_5 (chassis VARCHAR, entrant VARCHAR)
Question: What chassis had an entrant of G.A. Vandervell?
Here is the SQLite query to answer to the question: What chassi... | bugdaryan/sql-create-context-instruction | |
[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 (label VARCHAR, date VARCHAR, catalog VARCHAR)
Question: What is the label from 1973 that has a catalog number of l 35023?
[/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_98 (label VARCHAR, date VARCHAR, catalog VARCHAR)
Question: What is the label from 1973 that has a catalog number of l 35023?
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 Accounts (account_id VARCHAR, account_details VARCHAR)
Question: Show all account ids and account details.
[/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 Accounts (account_id VARCHAR, account_details VARCHAR)
Question: Show all account ids and account details.
Here is the SQLite query to answer to the question: Show all 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_58 (_2013_projection VARCHAR, july_1 VARCHAR, rank VARCHAR)
Question: How many July 1, 2013 projections have a Rank of 27?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (_2013_projection VARCHAR, july_1 VARCHAR, rank VARCHAR)
Question: How many July 1, 2013 projections have a Rank of 27?
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_27765443_2 (no_of_processors VARCHAR, period_of_operation VARCHAR)
Question: Name the number of processors for october 2006 - january 2010
[/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_27765443_2 (no_of_processors VARCHAR, period_of_operation VARCHAR)
Question: Name the number of processors for october 2006 - january 2010
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_8 (position VARCHAR, team VARCHAR)
Question: What position is played by the player from the Chicago Cubs?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (position VARCHAR, team VARCHAR)
Question: What position is played by the player from the Chicago Cubs?
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 paragraphs (other_details VARCHAR, paragraph_text VARCHAR)
Question: Show paragraph details for paragraph with text 'Korea ' .
[/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 paragraphs (other_details VARCHAR, paragraph_text VARCHAR)
Question: Show paragraph details for paragraph with text 'Korea ' .
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_74 (imperfect_stem VARCHAR, meaning VARCHAR)
Question: What is the imperfect stem of the word that means 'take away, remove'?
[/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_74 (imperfect_stem VARCHAR, meaning VARCHAR)
Question: What is the imperfect stem of the word that means 'take away, remove'?
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_26996293_1 (college VARCHAR, position VARCHAR)
Question: What college did the player who played DE go to?
[/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_26996293_1 (college VARCHAR, position VARCHAR)
Question: What college did the player who played DE go to?
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_28137918_5 (new_adherents_per_year VARCHAR, religion VARCHAR)
Question: Name the new adherents per year for buddhism
[/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_28137918_5 (new_adherents_per_year VARCHAR, religion VARCHAR)
Question: Name the new adherents per year for buddhism
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 county_public_safety (Id VARCHAR)
Question: How many counties are there?
[/INST]
Here is the SQLite query to answer to the question: How many counties are there?:
`... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE county_public_safety (Id VARCHAR)
Question: How many counties are there?
Here is the SQLite query to answer to the question: How many counties are there?:
```
SELECT COU... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE roller_coaster (Park VARCHAR, Speed VARCHAR)
Question: Show the park of the roller coaster with the highest speed.
[/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 roller_coaster (Park VARCHAR, Speed VARCHAR)
Question: Show the park of the roller coaster with the highest speed.
Here is the SQLite query to answer to the question: Sh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE invoices (billing_country VARCHAR, total INTEGER)
Question: A list of the top 8 countries by gross/total invoice size. List country name and gross invoice size.
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE invoices (billing_country VARCHAR, total INTEGER)
Question: A list of the top 8 countries by gross/total invoice size. List country name and gross invoice size.
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 election (Id VARCHAR)
Question: How many elections are there?
[/INST]
Here is the SQLite query to answer to the question: How many elections are there?:
```
SELECT ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE election (Id VARCHAR)
Question: How many elections are there?
Here is the SQLite query to answer to the question: How many elections are there?:
```
SELECT COUNT(*) 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 table_name_97 (torque VARCHAR, engine_code VARCHAR, power VARCHAR)
Question: What is the torque when engine code is N46B20 and power is ps (kw; hp)@6400?
[/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_97 (torque VARCHAR, engine_code VARCHAR, power VARCHAR)
Question: What is the torque when engine code is N46B20 and power is ps (kw; hp)@6400?
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_58 (crowd INTEGER, home_team VARCHAR)
Question: How many people were in the crowd when the Home Team was Hawthorn?
[/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 (crowd INTEGER, home_team VARCHAR)
Question: How many people were in the crowd when the Home Team was Hawthorn?
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_12 (result VARCHAR, week VARCHAR)
Question: What was the score during week 16?
[/INST]
Here is the SQLite query to answer to the question: What was 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_12 (result VARCHAR, week VARCHAR)
Question: What was the score during week 16?
Here is the SQLite query to answer to the question: What was the score during 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_36 (score VARCHAR, record VARCHAR)
Question: Which Score has a Record of 5-4?
[/INST]
Here is the SQLite query to answer to the question: Which Score has... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (score VARCHAR, record VARCHAR)
Question: Which Score has a Record of 5-4?
Here is the SQLite query to answer to the question: Which Score has a Record 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_35 (away_team VARCHAR, venue VARCHAR)
Question: Which away team played at Kardinia Park?
[/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_35 (away_team VARCHAR, venue VARCHAR)
Question: Which away team played at Kardinia Park?
Here is the SQLite query to answer to the question: Which away team 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_99 (years VARCHAR, wins VARCHAR, losses VARCHAR)
Question: What years did the person coach who had less than 82 wins and more than 24 losses?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (years VARCHAR, wins VARCHAR, losses VARCHAR)
Question: What years did the person coach who had less than 82 wins and more than 24 losses?
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (pick INTEGER, overall VARCHAR)
Question: What is the smallest Pick with Overall of 244?
[/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_33 (pick INTEGER, overall VARCHAR)
Question: What is the smallest Pick with Overall of 244?
Here is the SQLite query to answer to the question: What is the sm... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, visitor VARCHAR)
Question: Which Score has a Visitor of atlanta?
[/INST]
Here is the SQLite query to answer to the question: Which Sco... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (score VARCHAR, visitor VARCHAR)
Question: Which Score has a Visitor of atlanta?
Here is the SQLite query to answer to the question: Which Score has a Visi... | bugdaryan/sql-create-context-instruction | |
[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 (class VARCHAR, frequency VARCHAR)
Question: Which class has a frequency of 91.9 fm?
[/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_31 (class VARCHAR, frequency VARCHAR)
Question: Which class has a frequency of 91.9 fm?
Here is the SQLite query to answer to the question: Which class 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_2668243_25 (party VARCHAR, incumbent VARCHAR)
Question: What party did john s. barbour represent?
[/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_2668243_25 (party VARCHAR, incumbent VARCHAR)
Question: What party did john s. barbour represent?
Here is the SQLite query to answer to the question: What party di... | bugdaryan/sql-create-context-instruction | |
[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 (country VARCHAR, class VARCHAR, qualifying_grand_prix VARCHAR)
Question: What is Country, when Class is "15 meters", and when Qualifying Grand Prix i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (country VARCHAR, class VARCHAR, qualifying_grand_prix VARCHAR)
Question: What is Country, when Class is "15 meters", and when Qualifying Grand Prix is "Soa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15781170_2 (poll_winner VARCHAR, original_air_date VARCHAR)
Question: Name the poll winner for march 19, 2008
[/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_15781170_2 (poll_winner VARCHAR, original_air_date VARCHAR)
Question: Name the poll winner for march 19, 2008
Here is the SQLite query to answer to the question: N... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (purse___us$__ VARCHAR, dist VARCHAR, winning_horse VARCHAR)
Question: How much money did Crafty Bear wins with a dist of 1 mile?
[/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_30 (purse___us$__ VARCHAR, dist VARCHAR, winning_horse VARCHAR)
Question: How much money did Crafty Bear wins with a dist of 1 mile?
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_17924362_1 (week VARCHAR, date VARCHAR)
Question: Name the number of weeks for october 26
[/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_17924362_1 (week VARCHAR, date VARCHAR)
Question: Name the number of weeks for october 26
Here is the SQLite query to answer to the question: Name the number of we... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (name VARCHAR, position VARCHAR, college VARCHAR)
Question: What is the name of the cornerback from Wisconsin college?
[/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_45 (name VARCHAR, position VARCHAR, college VARCHAR)
Question: What is the name of the cornerback from Wisconsin college?
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_99 (grid INTEGER, time_retired VARCHAR, points VARCHAR)
Question: What is the grid associated with a Time/Retired of + 1 lap, and under 7 points?
[/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 (grid INTEGER, time_retired VARCHAR, points VARCHAR)
Question: What is the grid associated with a Time/Retired of + 1 lap, and under 7 points?
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_17 (status VARCHAR, name VARCHAR)
Question: What status is shown for Cadeby?
[/INST]
Here is the SQLite query to answer to the question: What status is s... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (status VARCHAR, name VARCHAR)
Question: What status is shown for Cadeby?
Here is the SQLite query to answer to the question: What status is shown for Cade... | bugdaryan/sql-create-context-instruction | |
[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 (games VARCHAR, event VARCHAR, medal VARCHAR)
Question: Which Olympic Games had a silver medal for the Men's Singles?
[/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_33 (games VARCHAR, event VARCHAR, medal VARCHAR)
Question: Which Olympic Games had a silver medal for the Men's Singles?
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_11839306_2 (track VARCHAR)
Question: How long is track number 8?
[/INST]
Here is the SQLite query to answer to the question: How long is track number 8?:
```
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11839306_2 (track VARCHAR)
Question: How long is track number 8?
Here is the SQLite query to answer to the question: How long is track number 8?:
```
SELECT track ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE prereq (course_id VARCHAR); CREATE TABLE course (course_id VARCHAR)
Question: Find the id of the courses that do not have any prerequisite?
[/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 prereq (course_id VARCHAR); CREATE TABLE course (course_id VARCHAR)
Question: Find the id of the courses that do not have any prerequisite?
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_86 (athletics_nickname VARCHAR, founded VARCHAR)
Question: Which athletics nickname was founded in 1872?
[/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_86 (athletics_nickname VARCHAR, founded VARCHAR)
Question: Which athletics nickname was founded in 1872?
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_52 (home_team VARCHAR)
Question: What was the North Melbourne's score when they played as the home team?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (home_team VARCHAR)
Question: What was the North Melbourne's score when they played as the home team?
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_17 (goals INTEGER, player VARCHAR, rank VARCHAR)
Question: What was Thierry Henry's average goal when his rank was higher than 7?
[/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_17 (goals INTEGER, player VARCHAR, rank VARCHAR)
Question: What was Thierry Henry's average goal when his rank was higher than 7?
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_28181347_6 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)
Question: One 6 November 2007 what was the manner of departure for the coach release in ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28181347_6 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)
Question: One 6 November 2007 what was the manner of departure for the coach release in footba... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (fastest_lap VARCHAR, race VARCHAR)
Question: Who had the fastest lap at the German Grand Prix?
[/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_87 (fastest_lap VARCHAR, race VARCHAR)
Question: Who had the fastest lap at the German Grand Prix?
Here is the SQLite query to answer to the question: Who had... | bugdaryan/sql-create-context-instruction | |
[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 (result VARCHAR, group VARCHAR, film_series VARCHAR, year VARCHAR)
Question: What was the result for Thirst in 2010 at the Green Globe Film Awards?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (result VARCHAR, group VARCHAR, film_series VARCHAR, year VARCHAR)
Question: What was the result for Thirst in 2010 at the Green Globe Film Awards?
Here is... | 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.