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_93 (date VARCHAR, competition VARCHAR, venue VARCHAR, goals VARCHAR)
Question: What is the date of the k-league cup, which has less than 28 goals, at the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (date VARCHAR, competition VARCHAR, venue VARCHAR, goals VARCHAR)
Question: What is the date of the k-league cup, which has less than 28 goals, at the jeonj... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (Id VARCHAR)
Question: What is 1994 Grand Slam Tournament if 1993 is also grand slam tournaments?
[/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_88 (Id VARCHAR)
Question: What is 1994 Grand Slam Tournament if 1993 is also grand slam tournaments?
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_32 (title VARCHAR, translation VARCHAR)
Question: Which title has a translation in it of 1000 lies?
[/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_32 (title VARCHAR, translation VARCHAR)
Question: Which title has a translation in it of 1000 lies?
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 concert (YEAR VARCHAR)
Question: Which year has most number of concerts?
[/INST]
Here is the SQLite query to answer to the question: Which year has most number of c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE concert (YEAR VARCHAR)
Question: Which year has most number of concerts?
Here is the SQLite query to answer to the question: Which year has most number of concerts?:
```... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27969432_4 (us_viewers__in_millions_ VARCHAR, no_in_season VARCHAR)
Question: How many viewers in millions were there for episode 4 of this season?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27969432_4 (us_viewers__in_millions_ VARCHAR, no_in_season VARCHAR)
Question: How many viewers in millions were there for episode 4 of this season?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (novelty VARCHAR, location VARCHAR, name VARCHAR)
Question: What novelty has USA as the location, and coryloides as the name?
[/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_70 (novelty VARCHAR, location VARCHAR, name VARCHAR)
Question: What novelty has USA as the location, and coryloides as the name?
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_25030512_4 (party VARCHAR, incumbent VARCHAR)
Question: Name the party for spencer bachus
[/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_25030512_4 (party VARCHAR, incumbent VARCHAR)
Question: Name the party for spencer bachus
Here is the SQLite query to answer to the question: Name the party for sp... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2140071_13 (season INTEGER)
Question: What is the minimum number of seasons?
[/INST]
Here is the SQLite query to answer to the question: What is the minimum n... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2140071_13 (season INTEGER)
Question: What is the minimum number of seasons?
Here is the SQLite query to answer to the question: What is the minimum number of seas... | bugdaryan/sql-create-context-instruction | |
[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 (campanius__ca_1645_ VARCHAR, unami_delaware VARCHAR)
Question: What is the Campanius term for an Unami Delaware term of palé·naxk?
[/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_43 (campanius__ca_1645_ VARCHAR, unami_delaware VARCHAR)
Question: What is the Campanius term for an Unami Delaware term of palé·naxk?
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_71 (network VARCHAR, language VARCHAR)
Question: What Network has Punjabi as the Language?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (network VARCHAR, language VARCHAR)
Question: What Network has Punjabi as the Language?
Here is the SQLite query to answer to the question: What Network ha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Visits_Restaurant (Id VARCHAR); CREATE TABLE Student (Id VARCHAR); CREATE TABLE Restaurant (Id VARCHAR)
Question: How many times has the student Linda Smith visited... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Visits_Restaurant (Id VARCHAR); CREATE TABLE Student (Id VARCHAR); CREATE TABLE Restaurant (Id VARCHAR)
Question: How many times has the student Linda Smith visited Subwa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)
Question: what is the grid when the time/retired is +9 laps and the laps is larger than 91?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)
Question: what is the grid when the time/retired is +9 laps and the laps is larger than 91?
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_5 (player VARCHAR, to_par VARCHAR, total VARCHAR)
Question: Which player had a to par score larger than 7 and a total score of 298?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (player VARCHAR, to_par VARCHAR, total VARCHAR)
Question: Which player had a to par score larger than 7 and a total score of 298?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27533947_1 (players VARCHAR, grand_average VARCHAR)
Question: If the grand average is 12.76-202, who is the player?
[/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_27533947_1 (players VARCHAR, grand_average VARCHAR)
Question: If the grand average is 12.76-202, who is the player?
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_92 (wins VARCHAR, races VARCHAR, third VARCHAR, points VARCHAR)
Question: What is the number of wins when the number of third was 1, points were less tha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (wins VARCHAR, races VARCHAR, third VARCHAR, points VARCHAR)
Question: What is the number of wins when the number of third was 1, points were less than 572 ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (opponent VARCHAR, result VARCHAR)
Question: Which Opponent has a Result of 0-3?
[/INST]
Here is the SQLite query to answer to the question: Which Opp... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (opponent VARCHAR, result VARCHAR)
Question: Which Opponent has a Result of 0-3?
Here is the SQLite query to answer to the question: Which Opponent has a 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_10399701_2 (class_aAA VARCHAR, class_a VARCHAR)
Question: Who was Class AAA during the same year that Class A was (tie) Apple Springs/Texline?
[/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_10399701_2 (class_aAA VARCHAR, class_a VARCHAR)
Question: Who was Class AAA during the same year that Class A was (tie) Apple Springs/Texline?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2088_1 (fluency VARCHAR, type_of_aphasia VARCHAR)
Question: Name the fluency for transcortical sensory aphasia
[/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_2088_1 (fluency VARCHAR, type_of_aphasia VARCHAR)
Question: Name the fluency for transcortical sensory aphasia
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 book_club (publisher VARCHAR)
Question: Show all publishers and the number of books for each publisher.
[/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 book_club (publisher VARCHAR)
Question: Show all publishers and the number of books for each publisher.
Here is the SQLite query to answer to the question: Show all publ... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, time VARCHAR)
Question: What was the score at 3:27?
[/INST]
Here is the SQLite query to answer to the question: What was the score at 3... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (score VARCHAR, time VARCHAR)
Question: What was the score at 3:27?
Here is the SQLite query to answer to the question: What was the score at 3:27?:
```
SEL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27704187_11 (game INTEGER, date VARCHAR)
Question: What game number was played on april 8?
[/INST]
Here is the SQLite query to answer to the question: What ga... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27704187_11 (game INTEGER, date VARCHAR)
Question: What game number was played on april 8?
Here is the SQLite query to answer to the question: What game number 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_26565917_2 (title VARCHAR, no_in_season VARCHAR)
Question: what was the name of episode 5?
[/INST]
Here is the SQLite query to answer to the question: what wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26565917_2 (title VARCHAR, no_in_season VARCHAR)
Question: what was the name of episode 5?
Here is the SQLite query to answer to the question: what was the name 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_32 (host_team VARCHAR, stadium VARCHAR)
Question: Who was the host team at the game at the Cleveland Browns Stadium?
[/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_32 (host_team VARCHAR, stadium VARCHAR)
Question: Who was the host team at the game at the Cleveland Browns Stadium?
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_75 (prefix VARCHAR, formula VARCHAR)
Question: What is the prefix for the formula of Rsor'?
[/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_75 (prefix VARCHAR, formula VARCHAR)
Question: What is the prefix for the formula of Rsor'?
Here is the SQLite query to answer to the question: What is the pr... | bugdaryan/sql-create-context-instruction | |
[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 (home_team VARCHAR, away_team VARCHAR)
Question: What team played Essendon?
[/INST]
Here is the SQLite query to answer to the question: What team play... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR)
Question: What team played Essendon?
Here is the SQLite query to answer to the question: What team played Essendon?:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (year INTEGER, apparatus VARCHAR, rank_final VARCHAR)
Question: Which Year is the first one that has an Apparatus of uneven bars, and a Rank-Final sma... | 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, apparatus VARCHAR, rank_final VARCHAR)
Question: Which Year is the first one that has an Apparatus of uneven bars, and a Rank-Final smaller 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_52 (ccbs INTEGER, launches_to_date VARCHAR, payload_to_gto VARCHAR)
Question: What is the greatest CCBs with Launches to date of 4, and a Payload to GTO ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (ccbs INTEGER, launches_to_date VARCHAR, payload_to_gto VARCHAR)
Question: What is the greatest CCBs with Launches to date of 4, and a Payload to GTO of 8,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_90 (richmond_ VARCHAR, staten_is VARCHAR, the_bronx VARCHAR)
Question: How many voters were in Manhattan when 181,639 people voted in the Bronx?
[/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 (richmond_ VARCHAR, staten_is VARCHAR, the_bronx VARCHAR)
Question: How many voters were in Manhattan when 181,639 people voted in the Bronx?
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_81 (age_at_time_of_disaster VARCHAR, date_of_birth VARCHAR)
Question: How old was the person born 24 September 1851 at the time of disaster?
[/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_81 (age_at_time_of_disaster VARCHAR, date_of_birth VARCHAR)
Question: How old was the person born 24 September 1851 at the time of disaster?
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_19614212_1 (marriages_between_women VARCHAR, _percentage_same_sex_marriages VARCHAR)
Question: How many marriages between women have % same-sex marriages of 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19614212_1 (marriages_between_women VARCHAR, _percentage_same_sex_marriages VARCHAR)
Question: How many marriages between women have % same-sex marriages of 1.06?
... | bugdaryan/sql-create-context-instruction | |
[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 (athlete VARCHAR, notes VARCHAR, time VARCHAR)
Question: Who has a time of 7:26.85 and notes of sc/d?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (athlete VARCHAR, notes VARCHAR, time VARCHAR)
Question: Who has a time of 7:26.85 and notes of sc/d?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (year VARCHAR, category VARCHAR)
Question: How many years had the best actress in a Revival category?
[/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_9 (year VARCHAR, category VARCHAR)
Question: How many years had the best actress in a Revival category?
Here is the SQLite query to answer to the question: Ho... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (stage VARCHAR, team_classification VARCHAR, points_classification VARCHAR)
Question: Which stage corresponds to Banesto and Tony Rominger?
[/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_7 (stage VARCHAR, team_classification VARCHAR, points_classification VARCHAR)
Question: Which stage corresponds to Banesto and Tony Rominger?
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_27712451_6 (high_points VARCHAR, date VARCHAR)
Question: What are December 10's high points?
[/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_27712451_6 (high_points VARCHAR, date VARCHAR)
Question: What are December 10's high points?
Here is the SQLite query to answer to the question: What are December ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (actor VARCHAR, number_of_episodes VARCHAR)
Question: What is Actor, when Number Of Episodes is "117 Episodes"?
[/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_88 (actor VARCHAR, number_of_episodes VARCHAR)
Question: What is Actor, when Number Of Episodes is "117 Episodes"?
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_23 (division VARCHAR, team_season VARCHAR)
Question: Which division were the Brewers a part of in the 1987 season?
[/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_23 (division VARCHAR, team_season VARCHAR)
Question: Which division were the Brewers a part of in the 1987 season?
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 dorm (gender VARCHAR, student_capacity INTEGER)
Question: Find the number of dorms and total capacity for each gender.
[/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 dorm (gender VARCHAR, student_capacity INTEGER)
Question: Find the number of dorms and total capacity for each gender.
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_14 (gold VARCHAR, total INTEGER)
Question: How many total gold are less than 4?
[/INST]
Here is the SQLite query to answer to the question: How many tota... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (gold VARCHAR, total INTEGER)
Question: How many total gold are less than 4?
Here is the SQLite query to answer to the question: How many total gold are le... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342359_4 (candidates VARCHAR, district VARCHAR)
Question: How many candidates ran in the election in the Arkansas 4 district?
[/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_1342359_4 (candidates VARCHAR, district VARCHAR)
Question: How many candidates ran in the election in the Arkansas 4 district?
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 park (city VARCHAR)
Question: Which cities have 2 to 4 parks?
[/INST]
Here is the SQLite query to answer to the question: Which cities have 2 to 4 parks?:
```
SELEC... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE park (city VARCHAR)
Question: Which cities have 2 to 4 parks?
Here is the SQLite query to answer to the question: Which cities have 2 to 4 parks?:
```
SELECT city FROM 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_7 (Id VARCHAR)
Question: What 1941 has N/A as 1945, N/A for 1948, and 9 for 1953?
[/INST]
Here is the SQLite query to answer to the question: What 1941 h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (Id VARCHAR)
Question: What 1941 has N/A as 1945, N/A for 1948, and 9 for 1953?
Here is the SQLite query to answer to the question: What 1941 has N/A as 194... | bugdaryan/sql-create-context-instruction | |
[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 (total INTEGER, gold VARCHAR, nation VARCHAR)
Question: Which Total has Gold smaller than 12, and a Nation of hong kong (hkg)?
[/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_43 (total INTEGER, gold VARCHAR, nation VARCHAR)
Question: Which Total has Gold smaller than 12, and a Nation of hong kong (hkg)?
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_15187735_21 (segment_c VARCHAR, segment_d VARCHAR)
Question: What are the titles of segment c when segment d is motorcycle brake locks?
[/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_15187735_21 (segment_c VARCHAR, segment_d VARCHAR)
Question: What are the titles of segment c when segment d is motorcycle brake locks?
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 actor (Musical_ID VARCHAR); CREATE TABLE musical (Name VARCHAR, Musical_ID VARCHAR)
Question: Show names of musicals which have at least three actors.
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE actor (Musical_ID VARCHAR); CREATE TABLE musical (Name VARCHAR, Musical_ID VARCHAR)
Question: Show names of musicals which have at least three actors.
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_61 (team_2 VARCHAR)
Question: What was the 2nd leg score for Al-Merrikh as team 2?
[/INST]
Here is the SQLite query to answer to the question: What was t... | 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_2 VARCHAR)
Question: What was the 2nd leg score for Al-Merrikh as team 2?
Here is the SQLite query to answer to the question: What was the 2nd leg sc... | bugdaryan/sql-create-context-instruction | |
[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 (home_team VARCHAR)
Question: What was Carlton's score as the home team?
[/INST]
Here is the SQLite query to answer to the question: What was Carlton'... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (home_team VARCHAR)
Question: What was Carlton's score as the home team?
Here is the SQLite query to answer to the question: What was Carlton's score as 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_23465864_4 (sat_29_aug VARCHAR, mon_24_aug VARCHAR)
Question: What time was achieved on Saturday 29th August by the rider who recorded 24' 17.26 93.208mph on ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, mon_24_aug VARCHAR)
Question: What time was achieved on Saturday 29th August by the rider who recorded 24' 17.26 93.208mph on Monday... | bugdaryan/sql-create-context-instruction | |
[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 (progressive_ticket VARCHAR, republican_ticket VARCHAR)
Question: With the Republican ticket of Frank M. Williams who was the Progressive ticket?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (progressive_ticket VARCHAR, republican_ticket VARCHAR)
Question: With the Republican ticket of Frank M. Williams who was the Progressive ticket?
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22580855_1 (written_by VARCHAR, production_code VARCHAR)
Question: who are the writers when the production code is 8011?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22580855_1 (written_by VARCHAR, production_code VARCHAR)
Question: who are the writers when the production code is 8011?
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_1566850_9 (interview_subject VARCHAR, date VARCHAR)
Question: Who was interviewed in the 8-98 issue?
[/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_1566850_9 (interview_subject VARCHAR, date VARCHAR)
Question: Who was interviewed in the 8-98 issue?
Here is the SQLite query to answer to the question: Who was in... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10361625_1 (round VARCHAR, player_name VARCHAR)
Question: Which round did Tommy Kramer play in>
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10361625_1 (round VARCHAR, player_name VARCHAR)
Question: Which round did Tommy Kramer play in>
Here is the SQLite query to answer to the question: Which round did... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (laps INTEGER, bike VARCHAR, grid VARCHAR)
Question: What is the average lap for suzuki gsx-r1000 k7 and at grid 6?
[/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 (laps INTEGER, bike VARCHAR, grid VARCHAR)
Question: What is the average lap for suzuki gsx-r1000 k7 and at grid 6?
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_15187735_1 (segment_d VARCHAR, segment_b VARCHAR)
Question: What was segment D when segment B was jeans?
[/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_15187735_1 (segment_d VARCHAR, segment_b VARCHAR)
Question: What was segment D when segment B was jeans?
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_1289762_1 (total_poll___percentage_ VARCHAR, for___percentage_ VARCHAR)
Question: List all total poll percentages when the for percentage is 59,532 (54).
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1289762_1 (total_poll___percentage_ VARCHAR, for___percentage_ VARCHAR)
Question: List all total poll percentages when the for percentage is 59,532 (54).
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (position VARCHAR, round VARCHAR, overall VARCHAR)
Question: Which Position has a Round larger than 14, and an Overall smaller than 419?
[/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_70 (position VARCHAR, round VARCHAR, overall VARCHAR)
Question: Which Position has a Round larger than 14, and an Overall smaller than 419?
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_74 (visitor VARCHAR, home VARCHAR)
Question: What is the visitor team of the game with Chicago as the home team?
[/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_74 (visitor VARCHAR, home VARCHAR)
Question: What is the visitor team of the game with Chicago as the home team?
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_3 (release_date INTEGER, label VARCHAR)
Question: On what date did Epic label start its release?
[/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_3 (release_date INTEGER, label VARCHAR)
Question: On what date did Epic label start its release?
Here is the SQLite query to answer to the question: On what 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_98 (paul_mccartney VARCHAR, linda_mccartney VARCHAR)
Question: Which Paul McCartney has a Linda McCartney of keyboards?
[/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_98 (paul_mccartney VARCHAR, linda_mccartney VARCHAR)
Question: Which Paul McCartney has a Linda McCartney of keyboards?
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_23274514_4 (team VARCHAR, record VARCHAR)
Question: What team did the Wizards play against when their record was 2-5?
[/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_23274514_4 (team VARCHAR, record VARCHAR)
Question: What team did the Wizards play against when their record was 2-5?
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_5 (year_joined VARCHAR, school VARCHAR)
Question: What year did a school from Jennings County join?
[/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_5 (year_joined VARCHAR, school VARCHAR)
Question: What year did a school from Jennings County join?
Here is the SQLite query to answer to the question: What y... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14102379_4 (result VARCHAR, opponent VARCHAR)
Question: what's the result with opponent being at oakland raiders
[/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_14102379_4 (result VARCHAR, opponent VARCHAR)
Question: what's the result with opponent being at oakland raiders
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_19860361_4 (huckleberry_hound VARCHAR, air_date VARCHAR)
Question: How many Huckleberry Hound episodes were aired on 1960.09.18?
[/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_19860361_4 (huckleberry_hound VARCHAR, air_date VARCHAR)
Question: How many Huckleberry Hound episodes were aired on 1960.09.18?
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_75 (host_team VARCHAR, stadium VARCHAR)
Question: What team hosted at Tampa Stadium?
[/INST]
Here is the SQLite query to answer to the question: What tea... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (host_team VARCHAR, stadium VARCHAR)
Question: What team hosted at Tampa Stadium?
Here is the SQLite query to answer to the question: What team hosted at 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 (points INTEGER, attendance VARCHAR, home VARCHAR, date VARCHAR)
Question: What is the sum of Points, when Home is "Pittsburgh", when Date is "Decembe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (points INTEGER, attendance VARCHAR, home VARCHAR, date VARCHAR)
Question: What is the sum of Points, when Home is "Pittsburgh", when Date is "December 21",... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1360997_3 (weight__kg_ VARCHAR, winner_2nd VARCHAR, venue VARCHAR)
Question: How many entries are there for weight when the winner is 1st - defier and venue i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1360997_3 (weight__kg_ VARCHAR, winner_2nd VARCHAR, venue VARCHAR)
Question: How many entries are there for weight when the winner is 1st - defier and venue is rand... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, date VARCHAR)
Question: what was the score on the game that happened on May 15?
[/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_49 (score VARCHAR, date VARCHAR)
Question: what was the score on the game that happened on May 15?
Here is the SQLite query to answer to the question: 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_40 (tournament VARCHAR, opponent_in_the_final VARCHAR)
Question: What tournament has petra mandula patricia wartusch as the opponent in the final?
[/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 (tournament VARCHAR, opponent_in_the_final VARCHAR)
Question: What tournament has petra mandula patricia wartusch as the opponent in the final?
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_2950964_1 (featuring_companion VARCHAR, _number VARCHAR)
Question: Who are the featuring companions of number 3?
[/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_2950964_1 (featuring_companion VARCHAR, _number VARCHAR)
Question: Who are the featuring companions of number 3?
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_58 (opponent VARCHAR, time VARCHAR)
Question: Who was the opponent in the match that lasted 4:17?
[/INST]
Here is the SQLite query to answer to the quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (opponent VARCHAR, time VARCHAR)
Question: Who was the opponent in the match that lasted 4:17?
Here is the SQLite query to answer to the question: Who 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_5 (crowd VARCHAR, away_team VARCHAR)
Question: What was the attendance of the South Melbourne away game?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (crowd VARCHAR, away_team VARCHAR)
Question: What was the attendance of the South Melbourne away game?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (name VARCHAR, pos VARCHAR, date_of_birth VARCHAR)
Question: born on 1973-08-21, what is the cf's name?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (name VARCHAR, pos VARCHAR, date_of_birth VARCHAR)
Question: born on 1973-08-21, what is the cf's name?
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_86 (Id VARCHAR)
Question: What is listed for the 2012 that has a 2011 of 28.9%?
[/INST]
Here is the SQLite query to answer to the question: What is liste... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (Id VARCHAR)
Question: What is listed for the 2012 that has a 2011 of 28.9%?
Here is the SQLite query to answer to the question: What is listed for the 201... | bugdaryan/sql-create-context-instruction | |
[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 (years VARCHAR, finals VARCHAR, a_league VARCHAR)
Question: What years have 9 (0) as the finals and 133 (1) as the A-League?
[/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_12 (years VARCHAR, finals VARCHAR, a_league VARCHAR)
Question: What years have 9 (0) as the finals and 133 (1) as the A-League?
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_8 (stadium VARCHAR, past_season VARCHAR)
Question: what stadium has a prior record of 7th?
[/INST]
Here is the SQLite query to answer to the question: wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (stadium VARCHAR, past_season VARCHAR)
Question: what stadium has a prior record of 7th?
Here is the SQLite query to answer to the question: what stadium ha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17311759_9 (record VARCHAR, high_assists VARCHAR)
Question: When mike bibby (8) had the highest amount of assists what is the record?
[/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_17311759_9 (record VARCHAR, high_assists VARCHAR)
Question: When mike bibby (8) had the highest amount of assists what is the record?
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_10753917_1 (driver VARCHAR, team VARCHAR, margin_of_defeat VARCHAR)
Question: How many drivers on the williams team had a margin of defeat of 2?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10753917_1 (driver VARCHAR, team VARCHAR, margin_of_defeat VARCHAR)
Question: How many drivers on the williams team had a margin of defeat of 2?
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_73 (prohibition_ticket VARCHAR, greenback_ticket VARCHAR)
Question: Who was on the Prohibition ticket when Thomas Armstrong ran on the Greenback ticket?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (prohibition_ticket VARCHAR, greenback_ticket VARCHAR)
Question: Who was on the Prohibition ticket when Thomas Armstrong ran on the Greenback ticket?
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_10 (attendance INTEGER, date VARCHAR)
Question: How many people attended on July 5?
[/INST]
Here is the SQLite query to answer to the question: How many ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (attendance INTEGER, date VARCHAR)
Question: How many people attended on July 5?
Here is the SQLite query to answer to the question: How many people attend... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (ansi_code INTEGER, land___sqmi__ VARCHAR, township VARCHAR, longitude VARCHAR, geo_id VARCHAR)
Question: What is the smallest ANSI code for adler tow... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (ansi_code INTEGER, land___sqmi__ VARCHAR, township VARCHAR, longitude VARCHAR, geo_id VARCHAR)
Question: What is the smallest ANSI code for adler township ... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, round VARCHAR)
Question: Who was the opponent in the round of R2?
[/INST]
Here is the SQLite query to answer to the question: Who w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (opponent VARCHAR, round VARCHAR)
Question: Who was the opponent in the round of R2?
Here is the SQLite query to answer to the question: Who was 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 table_name_19 (first_elected INTEGER, party VARCHAR, district VARCHAR)
Question: What is the lowest First Elected, when Party is "Republican", and when District is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (first_elected INTEGER, party VARCHAR, district VARCHAR)
Question: What is the lowest First Elected, when Party is "Republican", and when District is "Minne... | bugdaryan/sql-create-context-instruction | |
[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 (promotion VARCHAR, venue VARCHAR, event VARCHAR)
Question: What is the promotion when the arena was the venue and the event of legends of the arena?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (promotion VARCHAR, venue VARCHAR, event VARCHAR)
Question: What is the promotion when the arena was the venue and the event of legends of the arena?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (location VARCHAR, school VARCHAR)
Question: WHere is the friends' school?
[/INST]
Here is the SQLite query to answer to the question: WHere is the fr... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (location VARCHAR, school VARCHAR)
Question: WHere is the friends' school?
Here is the SQLite query to answer to the question: WHere is the friends' school... | bugdaryan/sql-create-context-instruction | |
[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 (place INTEGER, machine VARCHAR, speed VARCHAR)
Question: How many places have yamaha as the machine, and 89.85mph as the speed?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (place INTEGER, machine VARCHAR, speed VARCHAR)
Question: How many places have yamaha as the machine, and 89.85mph as the speed?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (home VARCHAR, visitor VARCHAR, date VARCHAR)
Question: Who was the home team when the vistor team was the Montreal Canadiens on February 12?
[/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 (home VARCHAR, visitor VARCHAR, date VARCHAR)
Question: Who was the home team when the vistor team was the Montreal Canadiens on February 12?
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_14496232_2 (womens_doubles VARCHAR, tour VARCHAR)
Question: Name the womens doubles when tour is malaysia super series
[/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_14496232_2 (womens_doubles VARCHAR, tour VARCHAR)
Question: Name the womens doubles when tour is malaysia super series
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 user_profiles (name VARCHAR, email VARCHAR, followers INTEGER)
Question: Find the name and email of the users who have more than 1000 followers.
[/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 user_profiles (name VARCHAR, email VARCHAR, followers INTEGER)
Question: Find the name and email of the users who have more than 1000 followers.
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_41 (nationality VARCHAR, years_for_jazz VARCHAR)
Question: What is the nationality of all Utah Jazz Players, that played 1987-88?
[/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_41 (nationality VARCHAR, years_for_jazz VARCHAR)
Question: What is the nationality of all Utah Jazz Players, that played 1987-88?
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_21501564_1 (original_artist VARCHAR, result VARCHAR)
Question: Who was the originally artist when Jasmine Murray was selected?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21501564_1 (original_artist VARCHAR, result VARCHAR)
Question: Who was the originally artist when Jasmine Murray was selected?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE races (name VARCHAR, YEAR INTEGER)
Question: What are the names of races held between 2009 and 2011?
[/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 races (name VARCHAR, YEAR INTEGER)
Question: What are the names of races held between 2009 and 2011?
Here is the SQLite query to answer to the question: What are the nam... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (election_date VARCHAR, member VARCHAR)
Question: What is the Election date for Member william richmond category:articles with hcards?
[/INST]
Here is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (election_date VARCHAR, member VARCHAR)
Question: What is the Election date for Member william richmond category:articles with hcards?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (to_par VARCHAR, score VARCHAR)
Question: What was the to par when the score was 71-70-72-68=281?
[/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_92 (to_par VARCHAR, score VARCHAR)
Question: What was the to par when the score was 71-70-72-68=281?
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_53 (score VARCHAR, runner_up VARCHAR, tournament VARCHAR)
Question: what was the score when goran ivanišević was runner up and the tournament was in alga... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (score VARCHAR, runner_up VARCHAR, tournament VARCHAR)
Question: what was the score when goran ivanišević was runner up and the tournament was in algarve?
... | bugdaryan/sql-create-context-instruction | |
[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 (company_name VARCHAR, hardware_model VARCHAR)
Question: What company makes the Nokia 700?
[/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_31 (company_name VARCHAR, hardware_model VARCHAR)
Question: What company makes the Nokia 700?
Here is the SQLite query to answer to the question: What company... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (score VARCHAR, opponents VARCHAR, date VARCHAR)
Question: Which Score has Opponents of pkns fc, and a Date of january 8, 2006?
[/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_35 (score VARCHAR, opponents VARCHAR, date VARCHAR)
Question: Which Score has Opponents of pkns fc, and a Date of january 8, 2006?
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_2076608_3 (founded VARCHAR, school VARCHAR)
Question: What year was Hartland College founded?
[/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_2076608_3 (founded VARCHAR, school VARCHAR)
Question: What year was Hartland College founded?
Here is the SQLite query to answer to the question: What year was Har... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341663_26 (first_elected INTEGER)
Question: When was the earliest first election?
[/INST]
Here is the SQLite query to answer to the question: When was the ea... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341663_26 (first_elected INTEGER)
Question: When was the earliest first election?
Here is the SQLite query to answer to the question: When was the earliest first ... | bugdaryan/sql-create-context-instruction | |
[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 (heat INTEGER, rank VARCHAR, lane VARCHAR, time VARCHAR)
Question: In what heat did the swimmer in Lane 6 rank higher than 7 with a time of 4:08.27?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (heat INTEGER, rank VARCHAR, lane VARCHAR, time VARCHAR)
Question: In what heat did the swimmer in Lane 6 rank higher than 7 with a time of 4:08.27?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (date VARCHAR, home VARCHAR)
Question: What is the date of the game when the Mavericks were the home 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_98 (date VARCHAR, home VARCHAR)
Question: What is the date of the game when the Mavericks were the home team?
Here is the SQLite query to answer to the questi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (total_seats INTEGER, share_of_votes VARCHAR)
Question: When the share of votes equals 21.8%, what's the sum of the total amount of seats?
[/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_61 (total_seats INTEGER, share_of_votes VARCHAR)
Question: When the share of votes equals 21.8%, what's the sum of the total amount of seats?
Here is the SQLi... | 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.