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 country (Code VARCHAR, Name VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR)
Question: What is the total number of languages used in A... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE country (Code VARCHAR, Name VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR)
Question: What is the total number of languages used in Aruba?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE employees (job_id VARCHAR, hire_date INTEGER)
Question: Find job id and date of hire for those employees who was hired between November 5th, 2007 and July 5th, 2009... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE employees (job_id VARCHAR, hire_date INTEGER)
Question: Find job id and date of hire for those employees who was hired between November 5th, 2007 and July 5th, 2009.
Her... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE employees (address VARCHAR, first_name VARCHAR, last_name VARCHAR)
Question: What is the address of employee Nancy Edwards?
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE employees (address VARCHAR, first_name VARCHAR, last_name VARCHAR)
Question: What is the address of employee Nancy Edwards?
Here is the SQLite query to answer to the que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10842344_1 (no_in_season INTEGER, production_code VARCHAR)
Question: What episode number had production code e4423?
[/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_10842344_1 (no_in_season INTEGER, production_code VARCHAR)
Question: What episode number had production code e4423?
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_11464746_1 (house_name VARCHAR, colours VARCHAR)
Question: How many houses are green?
[/INST]
Here is the SQLite query to answer to the question: How many hou... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11464746_1 (house_name VARCHAR, colours VARCHAR)
Question: How many houses are green?
Here is the SQLite query to answer to the question: How many houses are green... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11677100_3 (position VARCHAR, player VARCHAR)
Question: What position does Kerry Wood play in?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11677100_3 (position VARCHAR, player VARCHAR)
Question: What position does Kerry Wood play in?
Here is the SQLite query to answer to the question: What position do... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE university (school_id VARCHAR); CREATE TABLE basketball_match (school_id VARCHAR)
Question: How many schools do not participate in the basketball match?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE university (school_id VARCHAR); CREATE TABLE basketball_match (school_id VARCHAR)
Question: How many schools do not participate in the basketball match?
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_13 (class VARCHAR, race VARCHAR, length VARCHAR)
Question: What is the class of the Budweiser Grand Prix of Miami race with a length of 3 hours?
[/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 (class VARCHAR, race VARCHAR, length VARCHAR)
Question: What is the class of the Budweiser Grand Prix of Miami race with a length of 3 hours?
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_18646111_13 (round_1 VARCHAR, event VARCHAR)
Question: Name the round 1 for team event
[/INST]
Here is the SQLite query to answer to the question: Name the ro... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18646111_13 (round_1 VARCHAR, event VARCHAR)
Question: Name the round 1 for team event
Here is the SQLite query to answer to the question: Name the round 1 for tea... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1979619_3 (term_ends VARCHAR, residence VARCHAR)
Question: Name the term ends for bethlehem
[/INST]
Here is the SQLite query to answer to the question: Name t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1979619_3 (term_ends VARCHAR, residence VARCHAR)
Question: Name the term ends for bethlehem
Here is the SQLite query to answer to the question: Name the term ends ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_175980_2 (finale VARCHAR, timeslot VARCHAR)
Question: What finales took place in the Tuesday 9:30 p.m. timeslot?
[/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_175980_2 (finale VARCHAR, timeslot VARCHAR)
Question: What finales took place in the Tuesday 9:30 p.m. timeslot?
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_71 (country VARCHAR, player VARCHAR)
Question: Where is Fred Couples from?
[/INST]
Here is the SQLite query to answer to the question: Where is Fred Coup... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (country VARCHAR, player VARCHAR)
Question: Where is Fred Couples from?
Here is the SQLite query to answer to the question: Where is Fred Couples 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_11664625_2 (no_in_season INTEGER, us_viewers__millions_ VARCHAR)
Question: When is the first season there were 14.57 million U.S viewers?
[/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_11664625_2 (no_in_season INTEGER, us_viewers__millions_ VARCHAR)
Question: When is the first season there were 14.57 million U.S viewers?
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_1560673_1 (first_season INTEGER)
Question: What was the earliest season recorded for any team
[/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_1560673_1 (first_season INTEGER)
Question: What was the earliest season recorded for any team
Here is the SQLite query to answer to the question: What was the earl... | bugdaryan/sql-create-context-instruction | |
[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 (grid INTEGER, time VARCHAR)
Question: Which Grid has a Time of +13.999?
[/INST]
Here is the SQLite query to answer to the question: Which Grid has a ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (grid INTEGER, time VARCHAR)
Question: Which Grid has a Time of +13.999?
Here is the SQLite query to answer to the question: Which Grid has a Time of +13.9... | bugdaryan/sql-create-context-instruction | |
[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 (floors INTEGER, completed VARCHAR, rank VARCHAR)
Question: What is the lowest amount of floors in the building completed before 1970 ranked more than ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (floors INTEGER, completed VARCHAR, rank VARCHAR)
Question: What is the lowest amount of floors in the building completed before 1970 ranked more than 14?
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_1547951_3 (surface VARCHAR, outcome VARCHAR, championship VARCHAR)
Question: Name the surfaace where outcome is runner-up and championship is us open
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1547951_3 (surface VARCHAR, outcome VARCHAR, championship VARCHAR)
Question: Name the surfaace where outcome is runner-up and championship is us open
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_71 (score VARCHAR, date VARCHAR, record VARCHAR)
Question: What is the Score on July 18 that has Record of 41-51?
[/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_71 (score VARCHAR, date VARCHAR, record VARCHAR)
Question: What is the Score on July 18 that has Record of 41-51?
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_33 (floors INTEGER, rank VARCHAR, building VARCHAR)
Question: What is the lowest amount of floors after rank 1 in the Trillium (residential) building?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (floors INTEGER, rank VARCHAR, building VARCHAR)
Question: What is the lowest amount of floors after rank 1 in the Trillium (residential) building?
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_73 (date VARCHAR, home_team VARCHAR, game VARCHAR)
Question: On what date was the game 1 played at Portland?
[/INST]
Here is the SQLite query to answer t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (date VARCHAR, home_team VARCHAR, game VARCHAR)
Question: On what date was the game 1 played at Portland?
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (agg VARCHAR)
Question: For an aggregate of 1-3, what was the 2nd leg?
[/INST]
Here is the SQLite query to answer to the question: For an aggregate of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (agg VARCHAR)
Question: For an aggregate of 1-3, what was the 2nd leg?
Here is the SQLite query to answer to the question: For an aggregate of 1-3, what wa... | bugdaryan/sql-create-context-instruction | |
[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 (city_of_license VARCHAR, class VARCHAR, identifier VARCHAR)
Question: What city of license has A as a class, and cbec-fm as the identifier?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (city_of_license VARCHAR, class VARCHAR, identifier VARCHAR)
Question: What city of license has A as a class, and cbec-fm as the identifier?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Movie (title VARCHAR, director VARCHAR); CREATE TABLE Movie (director VARCHAR, title VARCHAR)
Question: For all directors who directed more than one movie, return t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Movie (title VARCHAR, director VARCHAR); CREATE TABLE Movie (director VARCHAR, title VARCHAR)
Question: For all directors who directed more than one movie, return the tit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (customer_id VARCHAR); CREATE TABLE orders (customer_id VARCHAR, order_status VARCHAR)
Question: Find the id of the customers who have order status both "... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (customer_id VARCHAR); CREATE TABLE orders (customer_id VARCHAR, order_status VARCHAR)
Question: Find the id of the customers who have order status both "On Roa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25840200_1 (location VARCHAR, notes VARCHAR)
Question: Where was the Undercard of Stevenson/Bellew?
[/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_25840200_1 (location VARCHAR, notes VARCHAR)
Question: Where was the Undercard of Stevenson/Bellew?
Here is the SQLite query to answer to the question: Where was t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (world_record VARCHAR, press VARCHAR)
Question: Which 92.5 holds the world record?
[/INST]
Here is the SQLite query to answer to the question: Which 9... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (world_record VARCHAR, press VARCHAR)
Question: Which 92.5 holds the world record?
Here is the SQLite query to answer to the question: Which 92.5 holds 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_13480122_5 (high_points VARCHAR, score VARCHAR)
Question: who is the the high points with score being w 117–93
[/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_13480122_5 (high_points VARCHAR, score VARCHAR)
Question: who is the the high points with score being w 117–93
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_2009095_2 (outcome VARCHAR, championship VARCHAR)
Question: Name the outcome for wimbledon
[/INST]
Here is the SQLite query to answer to the question: Name th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2009095_2 (outcome VARCHAR, championship VARCHAR)
Question: Name the outcome for wimbledon
Here is the SQLite query to answer to the question: Name the outcome 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_54 (season VARCHAR, date VARCHAR)
Question: What season had a date of 30 august 1980
[/INST]
Here is the SQLite query to answer to the question: What sea... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (season VARCHAR, date VARCHAR)
Question: What season had a date of 30 august 1980
Here is the SQLite query to answer to the question: What season had a dat... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342256_5 (first_elected VARCHAR, candidates VARCHAR)
Question: How many candidates were in the election featuring brooks hays (d) unopposed?
[/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_1342256_5 (first_elected VARCHAR, candidates VARCHAR)
Question: How many candidates were in the election featuring brooks hays (d) unopposed?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Behavior_Incident (incident_type_code VARCHAR)
Question: How many distinct incident type codes are there?
[/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 Behavior_Incident (incident_type_code VARCHAR)
Question: How many distinct incident type codes are there?
Here is the SQLite query to answer to the question: How many 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_59 (margin_of_victory VARCHAR, winning_score VARCHAR)
Question: What was the margin of victory when the winning score was –14 (70-68-67=205)?
[/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_59 (margin_of_victory VARCHAR, winning_score VARCHAR)
Question: What was the margin of victory when the winning score was –14 (70-68-67=205)?
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_2181798_1 (wins VARCHAR, starts VARCHAR)
Question: Name the number of wins for 30 starts
[/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_2181798_1 (wins VARCHAR, starts VARCHAR)
Question: Name the number of wins for 30 starts
Here is the SQLite query to answer to the question: Name the number of win... | bugdaryan/sql-create-context-instruction | |
[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 (iata VARCHAR, airport VARCHAR)
Question: What is the IATA of Madrid-Barajas Airport?
[/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_8 (iata VARCHAR, airport VARCHAR)
Question: What is the IATA of Madrid-Barajas Airport?
Here is the SQLite query to answer to the question: What is the IATA 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_15909409_2 (total_freshwater_withdrawal__km_3__yr_ VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR)
Question: In Pakistan, what was the total fr... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15909409_2 (total_freshwater_withdrawal__km_3__yr_ VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR)
Question: In Pakistan, what was the total freshwat... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, opponent VARCHAR)
Question: What is the Date of the game against Christo Van Rensburg?
[/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_5 (date VARCHAR, opponent VARCHAR)
Question: What is the Date of the game against Christo Van Rensburg?
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_52 (to_par INTEGER, player VARCHAR, total VARCHAR)
Question: What is the sum of the to par of player meg mallon, who had a total greater than 157?
[/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 (to_par INTEGER, player VARCHAR, total VARCHAR)
Question: What is the sum of the to par of player meg mallon, who had a total greater than 157?
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_86 (owner VARCHAR, time VARCHAR, year VARCHAR)
Question: Which owner has the time of 2:02.20 and the year of 1957?
[/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_86 (owner VARCHAR, time VARCHAR, year VARCHAR)
Question: Which owner has the time of 2:02.20 and the year of 1957?
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_10 (record VARCHAR, date VARCHAR)
Question: What is the Record on July 12?
[/INST]
Here is the SQLite query to answer to the question: What is the Record... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (record VARCHAR, date VARCHAR)
Question: What is the Record on July 12?
Here is the SQLite query to answer to the question: What is the Record on July 12?:... | bugdaryan/sql-create-context-instruction | |
[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 (democratic_alternative VARCHAR, polling_institute VARCHAR)
Question: What is the value of the Democratic Alternative for the poll released by Malta T... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (democratic_alternative VARCHAR, polling_institute VARCHAR)
Question: What is the value of the Democratic Alternative for the poll released by Malta Today?
... | bugdaryan/sql-create-context-instruction | |
[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 (owner VARCHAR, call_sign VARCHAR)
Question: Who owns CKSB-8-FM?
[/INST]
Here is the SQLite query to answer to the question: Who owns CKSB-8-FM?:
```
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (owner VARCHAR, call_sign VARCHAR)
Question: Who owns CKSB-8-FM?
Here is the SQLite query to answer to the question: Who owns CKSB-8-FM?:
```
SELECT owner ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (silver INTEGER, bronze VARCHAR, gold VARCHAR)
Question: How many Silver medals were won in total by all those with more than 3 bronze and exactly 16 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (silver INTEGER, bronze VARCHAR, gold VARCHAR)
Question: How many Silver medals were won in total by all those with more than 3 bronze and exactly 16 gold?
... | bugdaryan/sql-create-context-instruction | |
[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 (theme VARCHAR, special_notes VARCHAR)
Question: What theme has special notes from calgary flames gift set?
[/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_24 (theme VARCHAR, special_notes VARCHAR)
Question: What theme has special notes from calgary flames gift set?
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_90 (pl_gp INTEGER, pick__number VARCHAR, reg_gp VARCHAR)
Question: What is the total number of Pl GP when the pick number is 199 and the Reg GP is bigger... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (pl_gp INTEGER, pick__number VARCHAR, reg_gp VARCHAR)
Question: What is the total number of Pl GP when the pick number is 199 and the Reg GP is bigger than ... | bugdaryan/sql-create-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 (Name VARCHAR, Continent VARCHAR, population INTEGER)
Question: What are the African countries that have a population less than any country in Asia?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE country (Name VARCHAR, Continent VARCHAR, population INTEGER)
Question: What are the African countries that have a population less than any country in Asia?
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_10798421_1 (village__german_ VARCHAR, village__slovenian_ VARCHAR)
Question: Provide me with the name of all the village (German) that are part of the village... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10798421_1 (village__german_ VARCHAR, village__slovenian_ VARCHAR)
Question: Provide me with the name of all the village (German) that are part of the village (Slov... | bugdaryan/sql-create-context-instruction | |
[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 (partner VARCHAR, surface VARCHAR, championship VARCHAR)
Question: Who was the partner when the championship was us open on a hard surface?
[/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_30 (partner VARCHAR, surface VARCHAR, championship VARCHAR)
Question: Who was the partner when the championship was us open on a hard surface?
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_56 (aspect_ratio VARCHAR, release_date VARCHAR)
Question: What is the aspect ratio for the September 1, 2009 release?
[/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_56 (aspect_ratio VARCHAR, release_date VARCHAR)
Question: What is the aspect ratio for the September 1, 2009 release?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (to_par VARCHAR, player VARCHAR)
Question: What to par has tom kite as the player?
[/INST]
Here is the SQLite query to answer to the question: What to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (to_par VARCHAR, player VARCHAR)
Question: What to par has tom kite as the player?
Here is the SQLite query to answer to the question: What to par has tom ... | bugdaryan/sql-create-context-instruction | |
[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 (safari VARCHAR, internet_explorer VARCHAR)
Question: What is the safari value with a 28.0% internet explorer?
[/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_70 (safari VARCHAR, internet_explorer VARCHAR)
Question: What is the safari value with a 28.0% internet explorer?
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_1341472_20 (result VARCHAR, incumbent VARCHAR)
Question: List all results in elections with Richard Baker as the incumbent.
[/INST]
Here is the SQLite query t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341472_20 (result VARCHAR, incumbent VARCHAR)
Question: List all results in elections with Richard Baker as the incumbent.
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Band (firstname VARCHAR, lastname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Songs (SongId VARCHAR, Title VARCHAR)
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Band (firstname VARCHAR, lastname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Songs (SongId VARCHAR, Title VARCHAR)
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_22078972_2 (title VARCHAR, us_viewers__millions_ VARCHAR)
Question: What's the title of the episode first seen by 18.15 million people in the US?
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22078972_2 (title VARCHAR, us_viewers__millions_ VARCHAR)
Question: What's the title of the episode first seen by 18.15 million people in the US?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (engine VARCHAR, displacement VARCHAR, model VARCHAR)
Question: Which of the engines has a displacement of 1,585 cc, with a model number of 90i?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (engine VARCHAR, displacement VARCHAR, model VARCHAR)
Question: Which of the engines has a displacement of 1,585 cc, with a model number of 90i?
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_22 (tournament VARCHAR, surface VARCHAR)
Question: Which tournament had a hard surface?
[/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_22 (tournament VARCHAR, surface VARCHAR)
Question: Which tournament had a hard surface?
Here is the SQLite query to answer to the question: Which tournament h... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (opponent VARCHAR, winner VARCHAR)
Question: Tell me the opponent for winner of bc 2
[/INST]
Here is the SQLite query to answer to the question: Tell ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (opponent VARCHAR, winner VARCHAR)
Question: Tell me the opponent for winner of bc 2
Here is the SQLite query to answer to the question: Tell me the oppone... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE csu_fees (campusfee INTEGER, YEAR VARCHAR)
Question: Find the average fee on a CSU campus in 1996
[/INST]
Here is the SQLite query to answer to the question: Find t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE csu_fees (campusfee INTEGER, YEAR VARCHAR)
Question: Find the average fee on a CSU campus in 1996
Here is the SQLite query to answer to the question: Find the average fe... | bugdaryan/sql-create-context-instruction | |
[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 (position VARCHAR, school VARCHAR)
Question: Name the position for indiana state
[/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_name_17 (position VARCHAR, school VARCHAR)
Question: Name the position for indiana state
Here is the SQLite query to answer to the question: Name 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_10725629_2 (date VARCHAR, circuit VARCHAR)
Question: On how many dates did the Michigan International Speedway hold a round?
[/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_10725629_2 (date VARCHAR, circuit VARCHAR)
Question: On how many dates did the Michigan International Speedway hold a round?
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_26 (year VARCHAR, position VARCHAR, venue VARCHAR)
Question: what is the year that the position was 1st in paris?
[/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_26 (year VARCHAR, position VARCHAR, venue VARCHAR)
Question: what is the year that the position was 1st in paris?
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_75 (home_team VARCHAR, venue VARCHAR)
Question: What was the home team score for the game played at Western Oval?
[/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_75 (home_team VARCHAR, venue VARCHAR)
Question: What was the home team score for the game played at Western Oval?
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_44 (rank VARCHAR, actor_actress VARCHAR)
Question: What rank did actor Aaron Pedersen's character have?
[/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_44 (rank VARCHAR, actor_actress VARCHAR)
Question: What rank did actor Aaron Pedersen's character have?
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_11 (location VARCHAR, result VARCHAR)
Question: What location was the game with the result of 29-14?
[/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_11 (location VARCHAR, result VARCHAR)
Question: What location was the game with the result of 29-14?
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_95 (club VARCHAR, points VARCHAR)
Question: Which club has 77 points?
[/INST]
Here is the SQLite query to answer to the question: Which club has 77 point... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (club VARCHAR, points VARCHAR)
Question: Which club has 77 points?
Here is the SQLite query to answer to the question: Which club has 77 points?:
```
SELEC... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (goals_for VARCHAR, lost VARCHAR, games VARCHAR)
Question: How many goals have Lost larger than 35, and Games smaller than 80?
[/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_33 (goals_for VARCHAR, lost VARCHAR, games VARCHAR)
Question: How many goals have Lost larger than 35, and Games smaller than 80?
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_21100348_15 (rank INTEGER, player VARCHAR)
Question: What rank does Rodney Marsh have?
[/INST]
Here is the SQLite query to answer to the question: What rank d... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21100348_15 (rank INTEGER, player VARCHAR)
Question: What rank does Rodney Marsh have?
Here is the SQLite query to answer to the question: What rank does Rodney Ma... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (manufacturer VARCHAR, rider VARCHAR)
Question: Which manufacturer made Shoya Tomizawa's motorcycle?
[/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_20 (manufacturer VARCHAR, rider VARCHAR)
Question: Which manufacturer made Shoya Tomizawa's motorcycle?
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 Student_Course_Enrolment (course_id VARCHAR); CREATE TABLE Courses (course_description VARCHAR, course_name VARCHAR, course_id VARCHAR)
Question: What are the descr... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student_Course_Enrolment (course_id VARCHAR); CREATE TABLE Courses (course_description VARCHAR, course_name VARCHAR, course_id VARCHAR)
Question: What are the description... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18600760_18 (land___sqmi__ VARCHAR, township VARCHAR)
Question: What is the land area of Reed Township?
[/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_18600760_18 (land___sqmi__ VARCHAR, township VARCHAR)
Question: What is the land area of Reed Township?
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 (october VARCHAR, opponent VARCHAR)
Question: What date in October did the Flyers play against the Toronto Maple Leafs?
[/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_11 (october VARCHAR, opponent VARCHAR)
Question: What date in October did the Flyers play against the Toronto Maple Leafs?
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_14465871_1 (unix_shell VARCHAR, powershell__cmdlet_ VARCHAR)
Question: What are the names of all unix shell with PowerShell (Cmdlet) of select-string?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14465871_1 (unix_shell VARCHAR, powershell__cmdlet_ VARCHAR)
Question: What are the names of all unix shell with PowerShell (Cmdlet) of select-string?
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_1590967_7 (musical_guest__song_performed_ VARCHAR, guest_host VARCHAR)
Question: What song was performed when Barbara Windsor was the guest host?
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1590967_7 (musical_guest__song_performed_ VARCHAR, guest_host VARCHAR)
Question: What song was performed when Barbara Windsor was the guest host?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Financial_Transactions (transaction_type VARCHAR)
Question: Show the number of transaction types.
[/INST]
Here is the SQLite query to answer to the question: Show t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Financial_Transactions (transaction_type VARCHAR)
Question: Show the number of transaction types.
Here is the SQLite query to answer to the question: Show the number 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_22 (opponent VARCHAR, round VARCHAR)
Question: Which Opponent has a Round of qf replay?
[/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_22 (opponent VARCHAR, round VARCHAR)
Question: Which Opponent has a Round of qf replay?
Here is the SQLite query to answer to the question: Which Opponent 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_92 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, date VARCHAR, outcome VARCHAR)
Question: What was the score in the final, that Víctor Pecc... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, date VARCHAR, outcome VARCHAR)
Question: What was the score in the final, that Víctor Pecci was ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (fate VARCHAR, nationality VARCHAR)
Question: What was Yugoslavia's fate?
[/INST]
Here is the SQLite query to answer to the question: What was Yugosla... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (fate VARCHAR, nationality VARCHAR)
Question: What was Yugoslavia's fate?
Here is the SQLite query to answer to the question: What was Yugoslavia's fate?:
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17503169_1 (democratic VARCHAR)
Question: What was the 2008 election status when glenn nye was the running democrat?
[/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_17503169_1 (democratic VARCHAR)
Question: What was the 2008 election status when glenn nye was the running democrat?
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_78 (games VARCHAR, total_rebounds INTEGER)
Question: How many games have rebounds larger than 1048?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (games VARCHAR, total_rebounds INTEGER)
Question: How many games have rebounds larger than 1048?
Here is the SQLite query to answer to the question: How ma... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE manufacturers (headquarter VARCHAR)
Question: Find the number of manufactures that are based in Tokyo or Beijing.
[/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 manufacturers (headquarter VARCHAR)
Question: Find the number of manufactures that are based in Tokyo or Beijing.
Here is the SQLite query to answer to the question: Fin... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (attendance VARCHAR, week VARCHAR, record VARCHAR)
Question: How many were in attendance in a week less than 4 with a record of 2–1?
[/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_81 (attendance VARCHAR, week VARCHAR, record VARCHAR)
Question: How many were in attendance in a week less than 4 with a record of 2–1?
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 (height VARCHAR, name VARCHAR)
Question: How tall is Zipp Duncan?
[/INST]
Here is the SQLite query to answer to the question: How tall is Zipp Duncan?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (height VARCHAR, name VARCHAR)
Question: How tall is Zipp Duncan?
Here is the SQLite query to answer to the question: How tall is Zipp Duncan?:
```
SELECT ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (team__number1 VARCHAR)
Question: Tell me the 2nd leg for alemannia aachen
[/INST]
Here is the SQLite query to answer to the question: Tell me the 2nd... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (team__number1 VARCHAR)
Question: Tell me the 2nd leg for alemannia aachen
Here is the SQLite query to answer to the question: Tell me the 2nd leg for alem... | bugdaryan/sql-create-context-instruction | |
[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 (song VARCHAR, artist VARCHAR)
Question: What song was made by the sex pistols?
[/INST]
Here is the SQLite query to answer to the question: What song w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (song VARCHAR, artist VARCHAR)
Question: What song was made by the sex pistols?
Here is the SQLite query to answer to the question: What song was made by 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_28 (away VARCHAR, club VARCHAR)
Question: The Club of Ekranas was an away with a score of what?
[/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_28 (away VARCHAR, club VARCHAR)
Question: The Club of Ekranas was an away with a score of what?
Here is the SQLite query to answer to the question: The Club 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_12496904_1 (population_density_2012__km_2__ INTEGER, sector VARCHAR)
Question: What is the population density for 2012 for Gatunda sector?
[/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_12496904_1 (population_density_2012__km_2__ INTEGER, sector VARCHAR)
Question: What is the population density for 2012 for Gatunda sector?
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 Apartment_Bookings (booking_start_date VARCHAR, apt_id VARCHAR); CREATE TABLE Apartments (apt_id VARCHAR, bedroom_count INTEGER)
Question: What are the booking star... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, apt_id VARCHAR); CREATE TABLE Apartments (apt_id VARCHAR, bedroom_count INTEGER)
Question: What are the booking start and ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (opponents_in_the_final VARCHAR, partner VARCHAR)
Question: Who is Partner Frederik Nielsen's Opponents in the final?
[/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_38 (opponents_in_the_final VARCHAR, partner VARCHAR)
Question: Who is Partner Frederik Nielsen's Opponents in the final?
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_49 (gold VARCHAR, nation VARCHAR, silver VARCHAR)
Question: What is the total number of gold medals Egypt, who has less than 0 silver, has?
[/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_49 (gold VARCHAR, nation VARCHAR, silver VARCHAR)
Question: What is the total number of gold medals Egypt, who has less than 0 silver, has?
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_10 (shirt_sponsor VARCHAR, captain VARCHAR)
Question: Who is the shirt sponsor for Captain Geoff Thomas' team?
[/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_10 (shirt_sponsor VARCHAR, captain VARCHAR)
Question: Who is the shirt sponsor for Captain Geoff Thomas' team?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (team VARCHAR, best VARCHAR)
Question: What Team had a 1:25.602 Best?
[/INST]
Here is the SQLite query to answer to the question: What Team had a 1:25... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (team VARCHAR, best VARCHAR)
Question: What Team had a 1:25.602 Best?
Here is the SQLite query to answer to the question: What Team had a 1:25.602 Best?:
`... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (term_expiration INTEGER, appointing_governor VARCHAR, appointed VARCHAR)
Question: Which Term expiration has an Appointing Governor of george pataki,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (term_expiration INTEGER, appointing_governor VARCHAR, appointed VARCHAR)
Question: Which Term expiration has an Appointing Governor of george pataki, repub... | bugdaryan/sql-create-context-instruction | |
[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 (draw VARCHAR, lost VARCHAR, match VARCHAR)
Question: How many draws correspond to more than 11 losses in a match less than 14?
[/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_36 (draw VARCHAR, lost VARCHAR, match VARCHAR)
Question: How many draws correspond to more than 11 losses in a match less than 14?
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_99 (tourism_receipts__2011___us INTEGER, tourism_receipts__2003___as__percentage_of_gdp_ VARCHAR, tourism_receipts__2011___us$_per_arrival_ VARCHAR)
Ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (tourism_receipts__2011___us INTEGER, tourism_receipts__2003___as__percentage_of_gdp_ VARCHAR, tourism_receipts__2011___us$_per_arrival_ VARCHAR)
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_11 (total_assists INTEGER, ast_avg VARCHAR, games VARCHAR)
Question: What is the total number of assists for players with under 55 games and over 6 assis... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (total_assists INTEGER, ast_avg VARCHAR, games VARCHAR)
Question: What is the total number of assists for players with under 55 games and over 6 assists per... | bugdaryan/sql-create-context-instruction | |
[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 (name VARCHAR, floors VARCHAR, year VARCHAR)
Question: What is the name of the building that has more than 31 floors and built prior to 1964?
[/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 (name VARCHAR, floors VARCHAR, year VARCHAR)
Question: What is the name of the building that has more than 31 floors and built prior to 1964?
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_41 (bleeding_time VARCHAR, condition VARCHAR)
Question: What is hemophilia's bleeding time?
[/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_41 (bleeding_time VARCHAR, condition VARCHAR)
Question: What is hemophilia's bleeding time?
Here is the SQLite query to answer to the question: What is hemoph... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE editor (editor_id VARCHAR, Name VARCHAR, Editor_ID VARCHAR); CREATE TABLE journal_committee (Editor_ID VARCHAR)
Question: Show the id, name of each editor and the n... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE editor (editor_id VARCHAR, Name VARCHAR, Editor_ID VARCHAR); CREATE TABLE journal_committee (Editor_ID VARCHAR)
Question: Show the id, name of each editor and the number ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1697190_2 (wins INTEGER)
Question: how many times did Casey Martin win?
[/INST]
Here is the SQLite query to answer to the question: how many times did Casey M... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1697190_2 (wins INTEGER)
Question: how many times did Casey Martin win?
Here is the SQLite query to answer to the question: how many times did Casey Martin win?:
`... | bugdaryan/sql-create-context-instruction | |
[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 (year_s__won VARCHAR, to_par VARCHAR)
Question: Which years was there a To par of +1?
[/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_45 (year_s__won VARCHAR, to_par VARCHAR)
Question: Which years was there a To par of +1?
Here is the SQLite query to answer to the question: Which years was t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26561509_1 (written_by VARCHAR, directed_by VARCHAR, no VARCHAR)
Question: The episode with the no. 54, directed by Charles Haid, is written by who?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26561509_1 (written_by VARCHAR, directed_by VARCHAR, no VARCHAR)
Question: The episode with the no. 54, directed by Charles Haid, is written by who?
Here is the SQ... | 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.