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_95 (loss INTEGER, name VARCHAR, long VARCHAR)
Question: What is the lowest Loss for the player named total that has a long greater than 55?
[/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 (loss INTEGER, name VARCHAR, long VARCHAR)
Question: What is the lowest Loss for the player named total that has a long greater than 55?
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_66 (country VARCHAR, catalogue__number VARCHAR)
Question: Which country had a cad 4011 catalogue #?
[/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_66 (country VARCHAR, catalogue__number VARCHAR)
Question: Which country had a cad 4011 catalogue #?
Here is the SQLite query to answer to the question: Which ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (home VARCHAR, leading_scorer VARCHAR)
Question: What is the home of the team with Carlos Boozer (27) as the leading scorer?
[/INST]
Here is the SQLite... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (home VARCHAR, leading_scorer VARCHAR)
Question: What is the home of the team with Carlos Boozer (27) as the leading scorer?
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (founded INTEGER, day_boarding VARCHAR, year_entered_competition VARCHAR)
Question: Which is the earliest founded day school to have entered the compe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (founded INTEGER, day_boarding VARCHAR, year_entered_competition VARCHAR)
Question: Which is the earliest founded day school to have entered the competition... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1893276_2 (reward VARCHAR, air_date VARCHAR)
Question: How many rewards are there for air date October 6, 2005?
[/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_1893276_2 (reward VARCHAR, air_date VARCHAR)
Question: How many rewards are there for air date October 6, 2005?
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_29836557_2 (affiliation VARCHAR, player VARCHAR)
Question: What university was Kevan George affiliated with?
[/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_29836557_2 (affiliation VARCHAR, player VARCHAR)
Question: What university was Kevan George affiliated with?
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_20190834_1 (enrollment INTEGER, team_name VARCHAR)
Question: What is the minimum enrollment of the cyclones?
[/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_20190834_1 (enrollment INTEGER, team_name VARCHAR)
Question: What is the minimum enrollment of the cyclones?
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_49 (caps VARCHAR, date_of_birth__age_ VARCHAR)
Question: How many caps have a Date of Birth (Age) of 15 july 1981?
[/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_49 (caps VARCHAR, date_of_birth__age_ VARCHAR)
Question: How many caps have a Date of Birth (Age) of 15 july 1981?
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_70 (country VARCHAR, total INTEGER)
Question: What is the country of the player who has a total larger than 300?
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (country VARCHAR, total INTEGER)
Question: What is the country of the player who has a total larger than 300?
Here is the SQLite query to answer to the que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (county VARCHAR, year_joined VARCHAR, location VARCHAR)
Question: Can you tell me the County that has the Year Joined of 1964, and the Location of mon... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (county VARCHAR, year_joined VARCHAR, location VARCHAR)
Question: Can you tell me the County that has the Year Joined of 1964, and the Location of montezuma... | bugdaryan/sql-create-context-instruction | |
[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 (crowd INTEGER, away_team VARCHAR)
Question: What was the lowest crowd size when Carlton was the away 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_65 (crowd INTEGER, away_team VARCHAR)
Question: What was the lowest crowd size when Carlton was the away 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_70 (urban_sub_area VARCHAR, council_area VARCHAR, population VARCHAR)
Question: What is the urban sub-area with an East Dunbartonshire council area and a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (urban_sub_area VARCHAR, council_area VARCHAR, population VARCHAR)
Question: What is the urban sub-area with an East Dunbartonshire council area and a popul... | bugdaryan/sql-create-context-instruction | |
[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 (position VARCHAR, school VARCHAR)
Question: What is the position of the player from Glades Day School?
[/INST]
Here is the SQLite query to answer to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (position VARCHAR, school VARCHAR)
Question: What is the position of the player from Glades Day School?
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_87 (elimination VARCHAR, eliminated_by VARCHAR)
Question: What Elimination number is listed againt Eliminated by Sonjay Dutt?
[/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_87 (elimination VARCHAR, eliminated_by VARCHAR)
Question: What Elimination number is listed againt Eliminated by Sonjay Dutt?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (byes INTEGER, portland_dfl VARCHAR, losses VARCHAR)
Question: What is the sum of byes for losses larger than 14 for a Portland DFL of westerns?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (byes INTEGER, portland_dfl VARCHAR, losses VARCHAR)
Question: What is the sum of byes for losses larger than 14 for a Portland DFL of westerns?
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_60 (venue VARCHAR, result VARCHAR)
Question: What is the Venue when the result was 2-1?
[/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_60 (venue VARCHAR, result VARCHAR)
Question: What is the Venue when the result was 2-1?
Here is the SQLite query to answer to the question: What is the Venue ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2076557_2 (founded VARCHAR, location_s_ VARCHAR)
Question: Name the total number of founded for yankton
[/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_2076557_2 (founded VARCHAR, location_s_ VARCHAR)
Question: Name the total number of founded for yankton
Here is the SQLite query to answer to the question: Name 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_99 (tyre VARCHAR, chassis VARCHAR)
Question: What is the tyre with a 56 chassis?
[/INST]
Here is the SQLite query to answer to the question: What is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (tyre VARCHAR, chassis VARCHAR)
Question: What is the tyre with a 56 chassis?
Here is the SQLite query to answer to the question: What is the tyre with a 5... | bugdaryan/sql-create-context-instruction | |
[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 (no_5 VARCHAR, no_6 VARCHAR, no_10 VARCHAR)
Question: Who was No. 5 when No. 6 Mason and No. 10 Jackson?
[/INST]
Here is the SQLite query to answer to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (no_5 VARCHAR, no_6 VARCHAR, no_10 VARCHAR)
Question: Who was No. 5 when No. 6 Mason and No. 10 Jackson?
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_57 (class VARCHAR, weight VARCHAR)
Question: Which Class has a Weight of 203?
[/INST]
Here is the SQLite query to answer to the question: Which Class has... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (class VARCHAR, weight VARCHAR)
Question: Which Class has a Weight of 203?
Here is the SQLite query to answer to the question: Which Class has a Weight 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_57 (blank_ends VARCHAR, shot_pct VARCHAR, stolen_ends VARCHAR, skip VARCHAR)
Question: What is the number of blank ends when the stolen ends were 17 and ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (blank_ends VARCHAR, shot_pct VARCHAR, stolen_ends VARCHAR, skip VARCHAR)
Question: What is the number of blank ends when the stolen ends were 17 and Jennif... | bugdaryan/sql-create-context-instruction | |
[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 (total INTEGER, rank VARCHAR, gold VARCHAR)
Question: what is the total when the rank is 7 and gold is more than 0?
[/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_name_41 (total INTEGER, rank VARCHAR, gold VARCHAR)
Question: what is the total when the rank is 7 and gold is more than 0?
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (record VARCHAR, time VARCHAR)
Question: What is the record of the match at 6:00?
[/INST]
Here is the SQLite query to answer to the question: What is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (record VARCHAR, time VARCHAR)
Question: What is the record of the match at 6:00?
Here is the SQLite query to answer to the question: What is the 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_69 (network VARCHAR, aspect VARCHAR, channel VARCHAR)
Question: Which network has more than 31.4 channels with a 4:3 aspect?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (network VARCHAR, aspect VARCHAR, channel VARCHAR)
Question: Which network has more than 31.4 channels with a 4:3 aspect?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (earnings___ INTEGER, events VARCHAR, wins VARCHAR)
Question: What is the high earnings for players with 34 events and over 2 wins?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (earnings___ INTEGER, events VARCHAR, wins VARCHAR)
Question: What is the high earnings for players with 34 events and over 2 wins?
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_76 (partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, condition VARCHAR)
Question: Which Partial thromboplastin time has a Prothrombin time ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, condition VARCHAR)
Question: Which Partial thromboplastin time has a Prothrombin time of pro... | bugdaryan/sql-create-context-instruction | |
[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 (condition VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR)
Question: Name the condition for partial throm... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (condition VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR)
Question: Name the condition for partial thromboplas... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (draws VARCHAR, points VARCHAR, position VARCHAR)
Question: What is the amount of Draws for the game that had a score of 45+7 and a position below 3?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (draws VARCHAR, points VARCHAR, position VARCHAR)
Question: What is the amount of Draws for the game that had a score of 45+7 and a position below 3?
Here ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (bronze INTEGER, gold INTEGER)
Question: What is the bronze number for the nation with less than 0 gold?
[/INST]
Here is the SQLite query to answer to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (bronze INTEGER, gold INTEGER)
Question: What is the bronze number for the nation with less than 0 gold?
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_14308895_2 (country_territory VARCHAR, former_pageant VARCHAR)
Question: which country has miss universe Hungary as former pageant?
[/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_14308895_2 (country_territory VARCHAR, former_pageant VARCHAR)
Question: which country has miss universe Hungary as former pageant?
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2562572_50 (dominant_religion__2002_ VARCHAR, settlement VARCHAR)
Question: What was the dominant religion (2002) of the Mala Remeta settlement?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2562572_50 (dominant_religion__2002_ VARCHAR, settlement VARCHAR)
Question: What was the dominant religion (2002) of the Mala Remeta settlement?
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_41 (tourism_receipts__2011___millions_of_us INTEGER, tourist_arrivals__2011___millions_ VARCHAR, tourism_receipts__2011___us$_per_arrival_ VARCHAR)
Quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (tourism_receipts__2011___millions_of_us INTEGER, tourist_arrivals__2011___millions_ VARCHAR, tourism_receipts__2011___us$_per_arrival_ VARCHAR)
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 Lessons (staff_id VARCHAR); CREATE TABLE Staff (staff_id VARCHAR, first_name VARCHAR, last_name VARCHAR)
Question: How long is the total lesson time taught by staff... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Lessons (staff_id VARCHAR); CREATE TABLE Staff (staff_id VARCHAR, first_name VARCHAR, last_name VARCHAR)
Question: How long is the total lesson time taught by staff with ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (interview INTEGER, swimsuit VARCHAR, country VARCHAR, preliminaries VARCHAR, evening_gown VARCHAR)
Question: What is the least score for interview wi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (interview INTEGER, swimsuit VARCHAR, country VARCHAR, preliminaries VARCHAR, evening_gown VARCHAR)
Question: What is the least score for interview with a 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_39 (result VARCHAR, opponent VARCHAR)
Question: what is the result when the opponent is blackburn rovers?
[/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_39 (result VARCHAR, opponent VARCHAR)
Question: what is the result when the opponent is blackburn rovers?
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_39 (catalogue VARCHAR, format VARCHAR)
Question: Which catalogue has a formate of "CD Remastered with 3 bonus tracks"?
[/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_name_39 (catalogue VARCHAR, format VARCHAR)
Question: Which catalogue has a formate of "CD Remastered with 3 bonus tracks"?
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28092844_16 (points_classification_klasyfikacja_punktowa VARCHAR, teams_classification VARCHAR)
Question: Who won the points classification when the teams cla... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28092844_16 (points_classification_klasyfikacja_punktowa VARCHAR, teams_classification VARCHAR)
Question: Who won the points classification when the teams classific... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28768469_5 (high_assists VARCHAR, team VARCHAR)
Question: Who had highest assists in game against Utah?
[/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_28768469_5 (high_assists VARCHAR, team VARCHAR)
Question: Who had highest assists in game against Utah?
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_7 (rank INTEGER, player VARCHAR)
Question: What's hale irwin's average rank?
[/INST]
Here is the SQLite query to answer to the question: What's hale irwi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (rank INTEGER, player VARCHAR)
Question: What's hale irwin's average rank?
Here is the SQLite query to answer to the question: What's hale irwin's average r... | bugdaryan/sql-create-context-instruction | |
[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 (attendance VARCHAR, tie_no VARCHAR)
Question: Which attendance has 9 as the tie no.?
[/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_43 (attendance VARCHAR, tie_no VARCHAR)
Question: Which attendance has 9 as the tie no.?
Here is the SQLite query to answer to the question: Which attendance ... | bugdaryan/sql-create-context-instruction | |
[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 (surface VARCHAR, score VARCHAR)
Question: Name the surface for score of 7–6(4), 6–1
[/INST]
Here is the SQLite query to answer to the question: Name ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (surface VARCHAR, score VARCHAR)
Question: Name the surface for score of 7–6(4), 6–1
Here is the SQLite query to answer to the question: Name the surface f... | bugdaryan/sql-create-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_cards (customer_id VARCHAR)
Question: What is the customer id with most number of cards, and how many does he have?
[/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 Customers_cards (customer_id VARCHAR)
Question: What is the customer id with most number of cards, and how many does he have?
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (engine VARCHAR, introduced VARCHAR)
Question: What engine was introduced in 1935?
[/INST]
Here is the SQLite query to answer to the question: What en... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (engine VARCHAR, introduced VARCHAR)
Question: What engine was introduced in 1935?
Here is the SQLite query to answer to the question: What engine was intr... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22171978_1 (athletic_nickname VARCHAR, location VARCHAR)
Question: For the location of quezon city , metro manila what is the athletic nickname?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22171978_1 (athletic_nickname VARCHAR, location VARCHAR)
Question: For the location of quezon city , metro manila what is the athletic nickname?
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_1 (city VARCHAR, airport VARCHAR)
Question: What city is fuhlsbüttel airport in?
[/INST]
Here is the SQLite query to answer to the question: What city is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (city VARCHAR, airport VARCHAR)
Question: What city is fuhlsbüttel airport in?
Here is the SQLite query to answer to the question: What city is fuhlsbüttel ... | bugdaryan/sql-create-context-instruction | |
[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 (name VARCHAR, wins VARCHAR, matches VARCHAR)
Question: What are the names of those who made less than 3 wins in 15 matches?
[/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_90 (name VARCHAR, wins VARCHAR, matches VARCHAR)
Question: What are the names of those who made less than 3 wins in 15 matches?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (rank VARCHAR, year VARCHAR)
Question: What is rank of the year 1956?
[/INST]
Here is the SQLite query to answer to the question: What is rank of the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (rank VARCHAR, year VARCHAR)
Question: What is rank of the year 1956?
Here is the SQLite query to answer to the question: What is rank of the year 1956?:
`... | bugdaryan/sql-create-context-instruction | |
[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 (episode__number VARCHAR, original_airdate VARCHAR)
Question: What is the episode # of the episode that originally aired on January 21, 2001?
[/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 (episode__number VARCHAR, original_airdate VARCHAR)
Question: What is the episode # of the episode that originally aired on January 21, 2001?
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_33 (games_played VARCHAR, draws VARCHAR, goals_conceded VARCHAR, goals_scored VARCHAR, loses VARCHAR)
Question: What is the total number of games played ... | 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_played VARCHAR, draws VARCHAR, goals_conceded VARCHAR, goals_scored VARCHAR, loses VARCHAR)
Question: What is the total number of games played of 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_1342270_3 (district VARCHAR, incumbent VARCHAR)
Question: what are all the district with incumbent being sam hobbs
[/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_1342270_3 (district VARCHAR, incumbent VARCHAR)
Question: what are all the district with incumbent being sam hobbs
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_1429629_1 (broadcast_date VARCHAR, run_time VARCHAR)
Question: How many episodes had a broadcast date and run time of 24:43?
[/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_1429629_1 (broadcast_date VARCHAR, run_time VARCHAR)
Question: How many episodes had a broadcast date and run time of 24:43?
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_34 (location VARCHAR, record VARCHAR)
Question: Where is the location with a record of 50-19?
[/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_34 (location VARCHAR, record VARCHAR)
Question: Where is the location with a record of 50-19?
Here is the SQLite query to answer to the question: Where 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_69 (date VARCHAR, name VARCHAR)
Question: What date did the International Gold Cup take place?
[/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_69 (date VARCHAR, name VARCHAR)
Question: What date did the International Gold Cup take place?
Here is the SQLite query to answer to the question: What date d... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (ns VARCHAR, normal_total VARCHAR)
Question: Name the NS with normal total of 102
[/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_11 (ns VARCHAR, normal_total VARCHAR)
Question: Name the NS with normal total of 102
Here is the SQLite query to answer to the question: Name the NS with norm... | bugdaryan/sql-create-context-instruction | |
[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 (result VARCHAR, horse VARCHAR, event VARCHAR)
Question: What is the result for the Toscane Horse in the freestyle test?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (result VARCHAR, horse VARCHAR, event VARCHAR)
Question: What is the result for the Toscane Horse in the freestyle test?
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 medicine (id VARCHAR, trade_name VARCHAR); CREATE TABLE medicine_enzyme_interaction (medicine_id VARCHAR)
Question: What is the id and trade name of the medicines c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE medicine (id VARCHAR, trade_name VARCHAR); CREATE TABLE medicine_enzyme_interaction (medicine_id VARCHAR)
Question: What is the id and trade name of the medicines can int... | bugdaryan/sql-create-context-instruction | |
[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 (total_pts VARCHAR, total_pld INTEGER)
Question: What is the total number of points for a total pld less than 38?
[/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_24 (total_pts VARCHAR, total_pld INTEGER)
Question: What is the total number of points for a total pld less than 38?
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_19 (tournament VARCHAR, partner VARCHAR)
Question: Which Tournament has a Partner of martín rodríguez?
[/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_19 (tournament VARCHAR, partner VARCHAR)
Question: Which Tournament has a Partner of martín rodríguez?
Here is the SQLite query to answer to the question: Whi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (written_by VARCHAR, production_code VARCHAR)
Question: Who wrote the episode that has the production code ad1c05?
[/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_4 (written_by VARCHAR, production_code VARCHAR)
Question: Who wrote the episode that has the production code ad1c05?
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 region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE party (party_name VARCHAR, region_id VARCHAR)
Question: Show all party names and their region names.
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE party (party_name VARCHAR, region_id VARCHAR)
Question: Show all party names and their region names.
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28884858_2 (capacity_percentage VARCHAR, team VARCHAR)
Question: What was the capacity for the Denver Broncos?
[/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_28884858_2 (capacity_percentage VARCHAR, team VARCHAR)
Question: What was the capacity for the Denver Broncos?
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_89 (attendance INTEGER, date VARCHAR)
Question: What's greatest attendance on May 7?
[/INST]
Here is the SQLite query to answer to the question: What's g... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (attendance INTEGER, date VARCHAR)
Question: What's greatest attendance on May 7?
Here is the SQLite query to answer to the question: What's greatest atten... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18328569_1 (round VARCHAR, winners_from_previous_round VARCHAR)
Question: What is the round where winners from the previous round totals 8?
[/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_18328569_1 (round VARCHAR, winners_from_previous_round VARCHAR)
Question: What is the round where winners from the previous round totals 8?
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_51 (visitor VARCHAR, score VARCHAR)
Question: What was the visiting team for the game that ended 82-75?
[/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_51 (visitor VARCHAR, score VARCHAR)
Question: What was the visiting team for the game that ended 82-75?
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 (pts INTEGER, pct INTEGER)
Question: What is the sum of PTS when there is a PCT smaller than 0.1?
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (pts INTEGER, pct INTEGER)
Question: What is the sum of PTS when there is a PCT smaller than 0.1?
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_56 (vessel_name VARCHAR, built VARCHAR, class VARCHAR, flag VARCHAR, type VARCHAR)
Question: What is the name of the Malta vessel built after 2010 that i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (vessel_name VARCHAR, built VARCHAR, class VARCHAR, flag VARCHAR, type VARCHAR)
Question: What is the name of the Malta vessel built after 2010 that is a GL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (home_team VARCHAR, tie_no VARCHAR)
Question: Which Home team that has a Tie no of 20?
[/INST]
Here is the SQLite query to answer to the question: Whi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (home_team VARCHAR, tie_no VARCHAR)
Question: Which Home team that has a Tie no of 20?
Here is the SQLite query to answer to the question: Which Home team ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (round VARCHAR, player VARCHAR)
Question: What round does Bryan Berard do?
[/INST]
Here is the SQLite query to answer to the question: What round does... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (round VARCHAR, player VARCHAR)
Question: What round does Bryan Berard do?
Here is the SQLite query to answer to the question: What round does Bryan Berard... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22542179_3 (nat VARCHAR, total_g VARCHAR)
Question: Name the number of nat for total g of 6
[/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_22542179_3 (nat VARCHAR, total_g VARCHAR)
Question: Name the number of nat for total g of 6
Here is the SQLite query to answer to the question: Name 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_40 (hometown VARCHAR, name VARCHAR)
Question: What is Hasan Shah's hometown?
[/INST]
Here is the SQLite query to answer to the question: What is Hasan Sh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (hometown VARCHAR, name VARCHAR)
Question: What is Hasan Shah's hometown?
Here is the SQLite query to answer to the question: What is Hasan Shah's hometown... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (date VARCHAR, opposing_team VARCHAR)
Question: What date was the opposing team Poverty Bay?
[/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_94 (date VARCHAR, opposing_team VARCHAR)
Question: What date was the opposing team Poverty Bay?
Here is the SQLite query to answer to the question: What date ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16993379_1 (rating VARCHAR, rank__overall_ VARCHAR)
Question: What was the rating of the episode with an overall ranking of 190?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16993379_1 (rating VARCHAR, rank__overall_ VARCHAR)
Question: What was the rating of the episode with an overall ranking of 190?
Here is the SQLite query to answer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (draws INTEGER, total VARCHAR, goal_difference VARCHAR)
Question: What is the average number of draws that have a total of 1 and a goal difference of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (draws INTEGER, total VARCHAR, goal_difference VARCHAR)
Question: What is the average number of draws that have a total of 1 and a goal difference of 2:0?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (game VARCHAR, location_attendance VARCHAR, score VARCHAR)
Question: What game was played at Omni Coliseum with a w 105-95 score?
[/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_32 (game VARCHAR, location_attendance VARCHAR, score VARCHAR)
Question: What game was played at Omni Coliseum with a w 105-95 score?
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_70 (tyres VARCHAR, chassis VARCHAR)
Question: What is the tyres for the JBW type 2 chassis?
[/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_70 (tyres VARCHAR, chassis VARCHAR)
Question: What is the tyres for the JBW type 2 chassis?
Here is the SQLite query to answer to the question: What is the ty... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21977704_1 (chassis VARCHAR, constructor VARCHAR)
Question: Name the chassis for alta
[/INST]
Here is the SQLite query to answer to the question: Name the cha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21977704_1 (chassis VARCHAR, constructor VARCHAR)
Question: Name the chassis for alta
Here is the SQLite query to answer to the question: Name the chassis for alta... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23346983_1 (record VARCHAR, opponent VARCHAR)
Question: What was the record for the Orangemen when they played against Army?
[/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_23346983_1 (record VARCHAR, opponent VARCHAR)
Question: What was the record for the Orangemen when they played against Army?
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_67 (loss VARCHAR, record VARCHAR)
Question: with a record of 68-80 what was the loss?
[/INST]
Here is the SQLite query to answer to the question: with a ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (loss VARCHAR, record VARCHAR)
Question: with a record of 68-80 what was the loss?
Here is the SQLite query to answer to the question: with a record of 68-... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10335_1 (current_country_of_location VARCHAR, operational VARCHAR)
Question: what's the current country of location with operational period of summer of 1941... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10335_1 (current_country_of_location VARCHAR, operational VARCHAR)
Question: what's the current country of location with operational period of summer of 1941 to 28... | bugdaryan/sql-create-context-instruction | |
[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 (took_office VARCHAR, party VARCHAR, name VARCHAR)
Question: Which Took Office that has a Party of democrat, under the name of John Hancock
[/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 (took_office VARCHAR, party VARCHAR, name VARCHAR)
Question: Which Took Office that has a Party of democrat, under the name of John Hancock
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_26124171_1 (team VARCHAR, series VARCHAR)
Question: How many teams were in the series championnat de france formula renault 2.0?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26124171_1 (team VARCHAR, series VARCHAR)
Question: How many teams were in the series championnat de france formula renault 2.0?
Here is the SQLite query to answer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (class VARCHAR, city_of_license VARCHAR)
Question: Which class has a city of Richmond, Virginia?
[/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_20 (class VARCHAR, city_of_license VARCHAR)
Question: Which class has a city of Richmond, Virginia?
Here is the SQLite query to answer to the question: Which ... | bugdaryan/sql-create-context-instruction | |
[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 (home_team VARCHAR, crowd INTEGER)
Question: When the Crowd was larger than 25,000. what was the Home Team score?
[/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_44 (home_team VARCHAR, crowd INTEGER)
Question: When the Crowd was larger than 25,000. what was the Home Team score?
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_69 (ihsaa_class VARCHAR, enrollment VARCHAR)
Question: What is the IHSAA class with 395 in enrollment?
[/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_69 (ihsaa_class VARCHAR, enrollment VARCHAR)
Question: What is the IHSAA class with 395 in enrollment?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (d_46_√ VARCHAR, d_41_√ VARCHAR)
Question: What is the D 46 √ with a D 41 √ with d 38 √?
[/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_94 (d_46_√ VARCHAR, d_41_√ VARCHAR)
Question: What is the D 46 √ with a D 41 √ with d 38 √?
Here is the SQLite query to answer to the question: What is the D ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25252080_3 (march_27_29 VARCHAR, november_3 VARCHAR)
Question: What is the number for march 27-29 whern november 3 is 153?
[/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_25252080_3 (march_27_29 VARCHAR, november_3 VARCHAR)
Question: What is the number for march 27-29 whern november 3 is 153?
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_12 (date VARCHAR, score VARCHAR, tie_no VARCHAR)
Question: When has a Score of 0–1, and a Tie no of 3?
[/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_12 (date VARCHAR, score VARCHAR, tie_no VARCHAR)
Question: When has a Score of 0–1, and a Tie no of 3?
Here is the SQLite query to answer to the question: Whe... | bugdaryan/sql-create-context-instruction | |
[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 (rank VARCHAR, events VARCHAR)
Question: What is the rank where the events is 31?
[/INST]
Here is the SQLite query to answer to the question: What is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (rank VARCHAR, events VARCHAR)
Question: What is the rank where the events is 31?
Here is the SQLite query to answer to the question: What is the rank wher... | bugdaryan/sql-create-context-instruction | |
[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 (record VARCHAR, visitor VARCHAR)
Question: Name the record when the visitor is st. louis
[/INST]
Here is the SQLite query to answer to the question: ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (record VARCHAR, visitor VARCHAR)
Question: Name the record when the visitor is st. louis
Here is the SQLite query to answer to the question: Name the reco... | bugdaryan/sql-create-context-instruction | |
[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 (losses VARCHAR, goals_for VARCHAR, team VARCHAR)
Question: What is the total number of losses for the Team of Montreal with Goals For larger than 29?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (losses VARCHAR, goals_for VARCHAR, team VARCHAR)
Question: What is the total number of losses for the Team of Montreal with Goals For larger than 29?
Here... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29770377_1 (route_via VARCHAR, train_name VARCHAR)
Question: How many route/via's are there for the ernad express?
[/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_29770377_1 (route_via VARCHAR, train_name VARCHAR)
Question: How many route/via's are there for the ernad express?
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_23265433_2 (defensive VARCHAR, week VARCHAR)
Question: Name the defensive for week 9
[/INST]
Here is the SQLite query to answer to the question: Name the defe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23265433_2 (defensive VARCHAR, week VARCHAR)
Question: Name the defensive for week 9
Here is the SQLite query to answer to the question: Name the defensive for wee... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (bronze VARCHAR, total VARCHAR, gold VARCHAR)
Question: When there are more than 12 total medals and less than 5 gold medals, how many bronze medals a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (bronze VARCHAR, total VARCHAR, gold VARCHAR)
Question: When there are more than 12 total medals and less than 5 gold medals, how many bronze medals are 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_13 (location_attendance VARCHAR, date VARCHAR)
Question: What was the location and attendance on the May 22 game?
[/INST]
Here is the SQLite query to ans... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (location_attendance VARCHAR, date VARCHAR)
Question: What was the location and attendance on the May 22 game?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (field_goals INTEGER, position VARCHAR, touchdowns VARCHAR)
Question: What is the average number of field goals scored by a right halfback who had mor... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (field_goals INTEGER, position VARCHAR, touchdowns VARCHAR)
Question: What is the average number of field goals scored by a right halfback who had more 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 table_name_15 (year INTEGER, venue VARCHAR)
Question: What is the average year for Ponce, Puerto Rico events?
[/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_15 (year INTEGER, venue VARCHAR)
Question: What is the average year for Ponce, Puerto Rico events?
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_34 (closed INTEGER, capacity VARCHAR)
Question: Tell me the lowest closed for capacity of 62,439
[/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_34 (closed INTEGER, capacity VARCHAR)
Question: Tell me the lowest closed for capacity of 62,439
Here is the SQLite query to answer to the question: Tell me t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (years_of_daylight_service VARCHAR, builder VARCHAR)
Question: What is the year of daylight service when the builder was Alco?
[/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_7 (years_of_daylight_service VARCHAR, builder VARCHAR)
Question: What is the year of daylight service when the builder was Alco?
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_76 (composition VARCHAR, year VARCHAR, mintage VARCHAR, artist VARCHAR)
Question: What is the composition of the coin that was issued after 2008, had a m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (composition VARCHAR, year VARCHAR, mintage VARCHAR, artist VARCHAR)
Question: What is the composition of the coin that was issued after 2008, had a mintage... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14984103_1 (week VARCHAR, opponent VARCHAR)
Question: Name the number of weeks for san francisco 49ers
[/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_14984103_1 (week VARCHAR, opponent VARCHAR)
Question: Name the number of weeks for san francisco 49ers
Here is the SQLite query to answer to the question: Name th... | bugdaryan/sql-create-context-instruction |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.