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_33 (attendance VARCHAR, result VARCHAR)
Question: What was the Attendance when the Result was L 31–23?
[/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_33 (attendance VARCHAR, result VARCHAR)
Question: What was the Attendance when the Result was L 31–23?
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_11 (college VARCHAR, pick VARCHAR, pba_team VARCHAR)
Question: Which college has a pick below 6 for the PBA team the Shell Turbo Chargers?
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (college VARCHAR, pick VARCHAR, pba_team VARCHAR)
Question: Which college has a pick below 6 for the PBA team the Shell Turbo Chargers?
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_26108103_2 (year INTEGER)
Question: What was the earliest year?
[/INST]
Here is the SQLite query to answer to the question: What was the earliest year?:
```
S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26108103_2 (year INTEGER)
Question: What was the earliest year?
Here is the SQLite query to answer to the question: What was the earliest year?:
```
SELECT MIN(yea... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17176509_4 (bike_no INTEGER, position VARCHAR)
Question: Name the max bike number of position for 30
[/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_17176509_4 (bike_no INTEGER, position VARCHAR)
Question: Name the max bike number of position for 30
Here is the SQLite query to answer to the question: Name the m... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (top_fives INTEGER, poles VARCHAR, top_tens VARCHAR)
Question: What is the total number of top fives when casey mears had more than 1 poles and top te... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (top_fives INTEGER, poles VARCHAR, top_tens VARCHAR)
Question: What is the total number of top fives when casey mears had more than 1 poles and top tens les... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR)
Question: What is the score for the away team at Essendon?
[/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_19 (away_team VARCHAR)
Question: What is the score for the away team at Essendon?
Here is the SQLite query to answer to the question: What is the score for 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_15327489_1 (wins INTEGER)
Question: Name the most wins
[/INST]
Here is the SQLite query to answer to the question: Name the most wins:
```
SELECT MIN(wins) FR... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15327489_1 (wins INTEGER)
Question: Name the most wins
Here is the SQLite query to answer to the question: Name the most wins:
```
SELECT MIN(wins) FROM table_1532... | bugdaryan/sql-create-context-instruction | |
[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 (venue VARCHAR, tournament VARCHAR, result VARCHAR)
Question: Which Venue has a Tournament of olympic games with a Result of 4th?
[/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_33 (venue VARCHAR, tournament VARCHAR, result VARCHAR)
Question: Which Venue has a Tournament of olympic games with a Result of 4th?
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_2801185_2 (status VARCHAR, district VARCHAR)
Question: How many statuses are there for the Durham district?
[/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_2801185_2 (status VARCHAR, district VARCHAR)
Question: How many statuses are there for the Durham district?
Here is the SQLite query to answer to the question: How... | bugdaryan/sql-create-context-instruction | |
[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 (family VARCHAR, name VARCHAR)
Question: What family has the name of eastern cottontail?
[/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_57 (family VARCHAR, name VARCHAR)
Question: What family has the name of eastern cottontail?
Here is the SQLite query to answer to the question: What family 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_name_78 (home_team VARCHAR)
Question: When the home team north melbourne was playing what did they score?
[/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_78 (home_team VARCHAR)
Question: When the home team north melbourne was playing what did they score?
Here is the SQLite query to answer to the question: When ... | bugdaryan/sql-create-context-instruction | |
[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 (cfl_team VARCHAR, college VARCHAR)
Question: Which cfl team was associated with the college of manitoba?
[/INST]
Here is the SQLite query to answer t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (cfl_team VARCHAR, college VARCHAR)
Question: Which cfl team was associated with the college of manitoba?
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (chapter VARCHAR, location VARCHAR)
Question: What chapter is located in Normal, Illinois?
[/INST]
Here is the SQLite query to answer to the question:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (chapter VARCHAR, location VARCHAR)
Question: What chapter is located in Normal, Illinois?
Here is the SQLite query to answer to the question: What chapter... | bugdaryan/sql-create-context-instruction | |
[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 (losses INTEGER, wins VARCHAR, last_appearance VARCHAR)
Question: What is the highest Losses, when Wins is greater than 1, and when Last Appearance is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (losses INTEGER, wins VARCHAR, last_appearance VARCHAR)
Question: What is the highest Losses, when Wins is greater than 1, and when Last Appearance is 2003?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16751596_13 (democrat VARCHAR, dates_administered VARCHAR)
Question: What was Mark Begich polling on October 6, 2008?
[/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_16751596_13 (democrat VARCHAR, dates_administered VARCHAR)
Question: What was Mark Begich polling on October 6, 2008?
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 list (classroom VARCHAR, grade VARCHAR)
Question: Report the total number of students for each fourth-grade classroom.
[/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 list (classroom VARCHAR, grade VARCHAR)
Question: Report the total number of students for each fourth-grade classroom.
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_27723228_7 (score VARCHAR, team VARCHAR)
Question: Name the score for miami
[/INST]
Here is the SQLite query to answer to the question: Name the score for mia... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27723228_7 (score VARCHAR, team VARCHAR)
Question: Name the score for miami
Here is the SQLite query to answer to the question: Name the score for miami:
```
SELEC... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (date VARCHAR, outcome VARCHAR, opponents_in_the_final VARCHAR)
Question: Which date has the tom gullikson butch walts final, and who was the runner-u... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (date VARCHAR, outcome VARCHAR, opponents_in_the_final VARCHAR)
Question: Which date has the tom gullikson butch walts final, and who was the runner-up?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (rank INTEGER, lane VARCHAR, nationality VARCHAR, name VARCHAR)
Question: Which Rank has a Nationality of france, and a Name of alain bernard, and a L... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (rank INTEGER, lane VARCHAR, nationality VARCHAR, name VARCHAR)
Question: Which Rank has a Nationality of france, and a Name of alain bernard, and a Lane sm... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (film VARCHAR, writer_s_ VARCHAR)
Question: Which film did Al Mackay write?
[/INST]
Here is the SQLite query to answer to the question: Which film did ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (film VARCHAR, writer_s_ VARCHAR)
Question: Which film did Al Mackay write?
Here is the SQLite query to answer to the question: Which film did Al Mackay wri... | bugdaryan/sql-create-context-instruction | |
[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 (week_5 VARCHAR, week_2 VARCHAR)
Question: Who was the girl of the week 3 weeks after brianne bailey in the same month?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (week_5 VARCHAR, week_2 VARCHAR)
Question: Who was the girl of the week 3 weeks after brianne bailey in the same month?
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 orchestra (Record_Company VARCHAR, Year_of_Founded VARCHAR)
Question: What are the record companies of orchestras in descending order of years in which they were fo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE orchestra (Record_Company VARCHAR, Year_of_Founded VARCHAR)
Question: What are the record companies of orchestras in descending order of years in which they were founded?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1656555_1 (died VARCHAR, ordained_bishop VARCHAR)
Question: What is the death date of the archbishop who was ordained as bishop April 26, 1927?
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1656555_1 (died VARCHAR, ordained_bishop VARCHAR)
Question: What is the death date of the archbishop who was ordained as bishop April 26, 1927?
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_25642873_2 (touchdowns INTEGER, player VARCHAR)
Question: How many touchdowns did Sam Babcock get?
[/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_25642873_2 (touchdowns INTEGER, player VARCHAR)
Question: How many touchdowns did Sam Babcock get?
Here is the SQLite query to answer to the question: How many 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_31 (type VARCHAR, name VARCHAR)
Question: What is the Type for l. publilius philo vulscus?
[/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_31 (type VARCHAR, name VARCHAR)
Question: What is the Type for l. publilius philo vulscus?
Here is the SQLite query to answer to the question: What is the Typ... | bugdaryan/sql-create-context-instruction | |
[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 (career_sr VARCHAR)
Question: What is the career SR with a 1r in 1985?
[/INST]
Here is the SQLite query to answer to the question: What is the career ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (career_sr VARCHAR)
Question: What is the career SR with a 1r in 1985?
Here is the SQLite query to answer to the question: What is the career SR with a 1r ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (left_office VARCHAR, took_office VARCHAR)
Question: What is Left Office, when Took Office is 1998?
[/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_25 (left_office VARCHAR, took_office VARCHAR)
Question: What is Left Office, when Took Office is 1998?
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_97 (rank INTEGER, name VARCHAR, time VARCHAR)
Question: Name the lowest Rank of carmelita jeter with a Time smaller than 11.08?
[/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_97 (rank INTEGER, name VARCHAR, time VARCHAR)
Question: Name the lowest Rank of carmelita jeter with a Time smaller than 11.08?
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 exhibition (ticket_price INTEGER, YEAR INTEGER)
Question: Show the average, minimum, and maximum ticket prices for exhibitions for all years before 2009.
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE exhibition (ticket_price INTEGER, YEAR INTEGER)
Question: Show the average, minimum, and maximum ticket prices for exhibitions for all years before 2009.
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_5 (fa_cup_goals INTEGER, league_goals VARCHAR)
Question: What is the sum of FA Cup goals when there are 19 league goals?
[/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_5 (fa_cup_goals INTEGER, league_goals VARCHAR)
Question: What is the sum of FA Cup goals when there are 19 league goals?
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_22073745_1 (languages VARCHAR, film_title_used_in_nomination VARCHAR)
Question: How many languages have elles as the film title used in nomination?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22073745_1 (languages VARCHAR, film_title_used_in_nomination VARCHAR)
Question: How many languages have elles as the film title used in nomination?
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_24990183_4 (Id VARCHAR)
Question: What was the maximum 09-10 i/o best?
[/INST]
Here is the SQLite query to answer to the question: What was the maximum 09-10 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24990183_4 (Id VARCHAR)
Question: What was the maximum 09-10 i/o best?
Here is the SQLite query to answer to the question: What was the maximum 09-10 i/o best?:
``... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14058433_3 (try_bonus VARCHAR, club VARCHAR)
Question: What is the try bonus for Ruthin RFC?
[/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_14058433_3 (try_bonus VARCHAR, club VARCHAR)
Question: What is the try bonus for Ruthin RFC?
Here is the SQLite query to answer to the question: What is the try bo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE COURSE (CName VARCHAR, Credits VARCHAR)
Question: List all names of courses with 1 credit?
[/INST]
Here is the SQLite query to answer to the question: List all name... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE COURSE (CName VARCHAR, Credits VARCHAR)
Question: List all names of courses with 1 credit?
Here is the SQLite query to answer to the question: List all names of courses ... | bugdaryan/sql-create-context-instruction | |
[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 (latitude VARCHAR, year_named VARCHAR, longitude VARCHAR)
Question: What's the latitude when the longitude is 152.0e later than 1997?
[/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_66 (latitude VARCHAR, year_named VARCHAR, longitude VARCHAR)
Question: What's the latitude when the longitude is 152.0e later than 1997?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (school VARCHAR, size VARCHAR, mascot VARCHAR)
Question: Which School has a Size larger than 408, and a Mascot of pacers?
[/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_59 (school VARCHAR, size VARCHAR, mascot VARCHAR)
Question: Which School has a Size larger than 408, and a Mascot of pacers?
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_42 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
Question: What is the average Silver with rank 30 and a Bronze greater than 0
[/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_42 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
Question: What is the average Silver with rank 30 and a Bronze greater than 0
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_15938543_1 (no_in_series VARCHAR, production_code VARCHAR)
Question: Which series number had the production code of 116
[/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_15938543_1 (no_in_series VARCHAR, production_code VARCHAR)
Question: Which series number had the production code of 116
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_38 (shots INTEGER, points INTEGER)
Question: What is the lowest Shots with a Point that is larger than 32?
[/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_38 (shots INTEGER, points INTEGER)
Question: What is the lowest Shots with a Point that is larger than 32?
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_34 (overall INTEGER, pick INTEGER)
Question: Which average overall has a Pick smaller than 5?
[/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 (overall INTEGER, pick INTEGER)
Question: Which average overall has a Pick smaller than 5?
Here is the SQLite query to answer to the question: Which averag... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, surface VARCHAR, score VARCHAR)
Question: What is the date of the match on clay with score of 6-3 2-6 6-4?
[/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_15 (date VARCHAR, surface VARCHAR, score VARCHAR)
Question: What is the date of the match on clay with score of 6-3 2-6 6-4?
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_6 (goals VARCHAR, player VARCHAR)
Question: How many goals does Mike Eruzione have in total?
[/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_6 (goals VARCHAR, player VARCHAR)
Question: How many goals does Mike Eruzione have in total?
Here is the SQLite query to answer to the question: How many goal... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (game INTEGER, time VARCHAR)
Question: How many games had a Time of 2:14?
[/INST]
Here is the SQLite query to answer to the question: How many games h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (game INTEGER, time VARCHAR)
Question: How many games had a Time of 2:14?
Here is the SQLite query to answer to the question: How many games had a Time 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_34 (yam_ VARCHAR, y_ VARCHAR, cassava_ VARCHAR, e_ VARCHAR)
Question: What is the yam amount when the Cassava amount is 0.11?
[/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_34 (yam_ VARCHAR, y_ VARCHAR, cassava_ VARCHAR, e_ VARCHAR)
Question: What is the yam amount when the Cassava amount is 0.11?
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_55 (airport VARCHAR, country VARCHAR, icao VARCHAR)
Question: What airport is in China with an ICAO of zbaa?
[/INST]
Here is the SQLite query to answer t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (airport VARCHAR, country VARCHAR, icao VARCHAR)
Question: What airport is in China with an ICAO of zbaa?
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (home VARCHAR, record VARCHAR)
Question: What home team has a record of 4-3?
[/INST]
Here is the SQLite query to answer to the question: What home team... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (home VARCHAR, record VARCHAR)
Question: What home team has a record of 4-3?
Here is the SQLite query to answer to the question: What home team has a record... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10748727_1 (races VARCHAR, season VARCHAR, wins VARCHAR)
Question: how many races were in 2009 with 0 wins?
[/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_10748727_1 (races VARCHAR, season VARCHAR, wins VARCHAR)
Question: how many races were in 2009 with 0 wins?
Here is the SQLite query to answer to the question: how... | bugdaryan/sql-create-context-instruction | |
[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 (capacity INTEGER, location VARCHAR)
Question: what is the lowest capacity in grodno
[/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_79 (capacity INTEGER, location VARCHAR)
Question: what is the lowest capacity in grodno
Here is the SQLite query to answer to the question: what is the lowest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (founded INTEGER, enrollment VARCHAR)
Question: What is the average Founded, when Enrollment is 4,000?
[/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_68 (founded INTEGER, enrollment VARCHAR)
Question: What is the average Founded, when Enrollment is 4,000?
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_15187735_18 (segment_d VARCHAR, segment_b VARCHAR)
Question: Name the number of sement d for solar water heaters
[/INST]
Here is the SQLite query to answer t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15187735_18 (segment_d VARCHAR, segment_b VARCHAR)
Question: Name the number of sement d for solar water heaters
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (nationality VARCHAR, pick__number VARCHAR, player VARCHAR)
Question: Which Nationality has a Pick # smaller than 130 and a Player of tyler bunz? Ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (nationality VARCHAR, pick__number VARCHAR, player VARCHAR)
Question: Which Nationality has a Pick # smaller than 130 and a Player of tyler bunz? Question 1... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (date VARCHAR, away_team VARCHAR)
Question: What is the Date of the Crystal Palace Away game?
[/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_33 (date VARCHAR, away_team VARCHAR)
Question: What is the Date of the Crystal Palace Away game?
Here is the SQLite query to answer to the question: What is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (score VARCHAR, date VARCHAR)
Question: What was the game score on april 2, 2008?
[/INST]
Here is the SQLite query to answer to the question: What was ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (score VARCHAR, date VARCHAR)
Question: What was the game score on april 2, 2008?
Here is the SQLite query to answer to the question: What was the game scor... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12113888_1 (number VARCHAR, rebuilt VARCHAR)
Question: How many times was the rebuilt data cannot handle non-empty timestamp argument! 1934?
[/INST]
Here is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12113888_1 (number VARCHAR, rebuilt VARCHAR)
Question: How many times was the rebuilt data cannot handle non-empty timestamp argument! 1934?
Here is the SQLite que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (january VARCHAR, region VARCHAR)
Question: What is the January climate figure for Eastman?
[/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_26 (january VARCHAR, region VARCHAR)
Question: What is the January climate figure for Eastman?
Here is the SQLite query to answer to the question: What 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_15 (position VARCHAR, player VARCHAR)
Question: Which position has john keane as the player?
[/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_15 (position VARCHAR, player VARCHAR)
Question: Which position has john keane as the player?
Here is the SQLite query to answer to the question: Which positio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE election (Delegate VARCHAR, District VARCHAR); CREATE TABLE county (County_name VARCHAR, County_id VARCHAR)
Question: Show the delegates and the names of county the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE election (Delegate VARCHAR, District VARCHAR); CREATE TABLE county (County_name VARCHAR, County_id VARCHAR)
Question: Show the delegates and the names of county they belo... | bugdaryan/sql-create-context-instruction | |
[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 (stop_no VARCHAR, destination VARCHAR, line VARCHAR)
Question: What is Stop No., when Destination is Perth, and when Line is Midland?
[/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_23 (stop_no VARCHAR, destination VARCHAR, line VARCHAR)
Question: What is Stop No., when Destination is Perth, and when Line is Midland?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (result VARCHAR, opponent VARCHAR)
Question: What was the result for the game against the Pittsburgh Steelers?
[/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_85 (result VARCHAR, opponent VARCHAR)
Question: What was the result for the game against the Pittsburgh Steelers?
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_48 (date VARCHAR, home VARCHAR)
Question: When did the Houston Rockets play Home?
[/INST]
Here is the SQLite query to answer to the question: When did th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (date VARCHAR, home VARCHAR)
Question: When did the Houston Rockets play Home?
Here is the SQLite query to answer to the question: When did the Houston Roc... | bugdaryan/sql-create-context-instruction | |
[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 (player VARCHAR, to_par VARCHAR, country VARCHAR)
Question: Who is the player from Australia with a to par of +5?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (player VARCHAR, to_par VARCHAR, country VARCHAR)
Question: Who is the player from Australia with a to par of +5?
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_32 (tournament VARCHAR)
Question: Name the tournament for 2012 grand slam tournaments
[/INST]
Here is the SQLite query to answer to the question: Name th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (tournament VARCHAR)
Question: Name the tournament for 2012 grand slam tournaments
Here is the SQLite query to answer to the question: Name the tournament ... | bugdaryan/sql-create-context-instruction | |
[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 (greek VARCHAR, german VARCHAR)
Question: What Greek word means the same thing as the German word ebbe?
[/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_99 (greek VARCHAR, german VARCHAR)
Question: What Greek word means the same thing as the German word ebbe?
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_92 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)
Question: Name the entrant for year more than 1991 and chassis of lotus 109
[/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_92 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)
Question: Name the entrant for year more than 1991 and chassis of lotus 109
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_79 (position VARCHAR, first_team_goals VARCHAR, current_club VARCHAR)
Question: What is the position of the player who has ongoing first-team goals and c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (position VARCHAR, first_team_goals VARCHAR, current_club VARCHAR)
Question: What is the position of the player who has ongoing first-team goals and current... | bugdaryan/sql-create-context-instruction | |
[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 (comp VARCHAR, date VARCHAR)
Question: Which Comp is on 2004-10-17?
[/INST]
Here is the SQLite query to answer to the question: Which Comp is on 2004-... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (comp VARCHAR, date VARCHAR)
Question: Which Comp is on 2004-10-17?
Here is the SQLite query to answer to the question: Which Comp is on 2004-10-17?:
```
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_15418319_1 (points VARCHAR, team VARCHAR)
Question: Name the points for paulistano
[/INST]
Here is the SQLite query to answer to the question: Name the points... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15418319_1 (points VARCHAR, team VARCHAR)
Question: Name the points for paulistano
Here is the SQLite query to answer to the question: Name the points for paulista... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1507431_1 (runner_up VARCHAR, no VARCHAR)
Question: Who are all runner-ups for No. 2?
[/INST]
Here is the SQLite query to answer to the question: Who are all ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1507431_1 (runner_up VARCHAR, no VARCHAR)
Question: Who are all runner-ups for No. 2?
Here is the SQLite query to answer to the question: Who are all runner-ups fo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (name VARCHAR, pos VARCHAR)
Question: What is the name when the position was fullback, hooker?
[/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_85 (name VARCHAR, pos VARCHAR)
Question: What is the name when the position was fullback, hooker?
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_63 (d_41 VARCHAR, d_43 VARCHAR)
Question: Tell me the D 41 for D 43 of d 18
[/INST]
Here is the SQLite query to answer to the question: Tell me the D 41 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (d_41 VARCHAR, d_43 VARCHAR)
Question: Tell me the D 41 for D 43 of d 18
Here is the SQLite query to answer to the question: Tell me the D 41 for D 43 of 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_69 (opponent VARCHAR, result VARCHAR)
Question: Who was the opponent at the game with a result of w 20-17?
[/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_69 (opponent VARCHAR, result VARCHAR)
Question: Who was the opponent at the game with a result of w 20-17?
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_10 (player VARCHAR, score VARCHAR)
Question: What is the name of the player when the Score was 72-73-67-72=284?
[/INST]
Here is the SQLite query to answe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (player VARCHAR, score VARCHAR)
Question: What is the name of the player when the Score was 72-73-67-72=284?
Here is the SQLite query to answer to the ques... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (player VARCHAR, nationality VARCHAR, round VARCHAR, draft VARCHAR, pick VARCHAR)
Question: Which Player has a Draft of 1994, a Pick larger than 8, a ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (player VARCHAR, nationality VARCHAR, round VARCHAR, draft VARCHAR, pick VARCHAR)
Question: Which Player has a Draft of 1994, a Pick larger than 8, a Round ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR)
Question: List top 10 employee work longest in the company. List employee's first and last name... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR)
Question: List top 10 employee work longest in the company. List employee's first and last name.
Her... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (event VARCHAR, prize VARCHAR)
Question: What was the Event for the prize of €850,000?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (event VARCHAR, prize VARCHAR)
Question: What was the Event for the prize of €850,000?
Here is the SQLite query to answer to the question: What was the Eve... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_169693_1 (age_30_39 VARCHAR, age_10_19 VARCHAR)
Question: Name the age 30-39 and age 10-19 380
[/INST]
Here is the SQLite query to answer to the question: Nam... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_169693_1 (age_30_39 VARCHAR, age_10_19 VARCHAR)
Question: Name the age 30-39 and age 10-19 380
Here is the SQLite query to answer to the question: Name the age 30-... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR, attendance VARCHAR)
Question: What is the away team at the game with an Attendance of 1,730?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (away_team VARCHAR, attendance VARCHAR)
Question: What is the away team at the game with an Attendance of 1,730?
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_43 (pursuit VARCHAR, event VARCHAR)
Question: Name the pursuit for 1994 lillehammer
[/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_43 (pursuit VARCHAR, event VARCHAR)
Question: Name the pursuit for 1994 lillehammer
Here is the SQLite query to answer to the question: Name the pursuit for 1... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (oklahoma_vs VARCHAR, current_streak VARCHAR, at_neutral_site VARCHAR)
Question: What is Oklahoma vs. when Current Streak is l 1, and Neutral Site is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (oklahoma_vs VARCHAR, current_streak VARCHAR, at_neutral_site VARCHAR)
Question: What is Oklahoma vs. when Current Streak is l 1, and Neutral Site is osu, 7... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (winners VARCHAR, third_place VARCHAR, team VARCHAR)
Question: How many winners did Minas, which has 0 third places, have?
[/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_47 (winners VARCHAR, third_place VARCHAR, team VARCHAR)
Question: How many winners did Minas, which has 0 third places, have?
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_37 (bronze INTEGER, total VARCHAR, nation VARCHAR, silver VARCHAR, gold VARCHAR)
Question: What is the smallest bronze with a Silver smaller than 2, and ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (bronze INTEGER, total VARCHAR, nation VARCHAR, silver VARCHAR, gold VARCHAR)
Question: What is the smallest bronze with a Silver smaller than 2, and a Gold... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (date VARCHAR, score VARCHAR)
Question: What is the date of the game with a score of 4-3?
[/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 (date VARCHAR, score VARCHAR)
Question: What is the date of the game with a score of 4-3?
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_name_32 (score INTEGER, place VARCHAR)
Question: What is the lowest Score, when Place is "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_32 (score INTEGER, place VARCHAR)
Question: What is the lowest Score, when Place is "1"?
Here is the SQLite query to answer to the question: What is the lowes... | bugdaryan/sql-create-context-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_44 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)
Question: What was the largest ethnic group in in the settlement with the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2562572_44 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)
Question: What was the largest ethnic group in in the settlement with the cyrill... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, margin_of_victory VARCHAR)
Question: What is Date, when Margin Of Victory is 4 Strokes?
[/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_1 (date VARCHAR, margin_of_victory VARCHAR)
Question: What is Date, when Margin Of Victory is 4 Strokes?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (date VARCHAR, label VARCHAR)
Question: What is the date for CBS label?
[/INST]
Here is the SQLite query to answer to the question: What is the date f... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (date VARCHAR, label VARCHAR)
Question: What is the date for CBS label?
Here is the SQLite query to answer to the question: What is the date for CBS label?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17355408_5 (high_points VARCHAR, date VARCHAR)
Question: Name the highh points for december 29
[/INST]
Here is the SQLite query to answer to the question: Nam... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17355408_5 (high_points VARCHAR, date VARCHAR)
Question: Name the highh points for december 29
Here is the SQLite query to answer to the question: Name the highh 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 accelerator_compatible_browser (accelerator_id VARCHAR); CREATE TABLE web_client_accelerator (id VARCHAR, Name VARCHAR)
Question: What are the ids and names of the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE accelerator_compatible_browser (accelerator_id VARCHAR); CREATE TABLE web_client_accelerator (id VARCHAR, Name VARCHAR)
Question: What are the ids and names of the web ac... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22815568_12 (unemployment_rate VARCHAR, population VARCHAR)
Question: Name the unemployment rate for 34024
[/INST]
Here is the SQLite query to answer to the q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22815568_12 (unemployment_rate VARCHAR, population VARCHAR)
Question: Name the unemployment rate for 34024
Here is the SQLite query to answer to the question: Name... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (group VARCHAR, population VARCHAR)
Question: What group has a Population of see hoy?
[/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_23 (group VARCHAR, population VARCHAR)
Question: What group has a Population of see hoy?
Here is the SQLite query to answer to the question: What group has a ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (rank VARCHAR, country VARCHAR)
Question: What was the rank for Great Britain?
[/INST]
Here is the SQLite query to answer to the question: What was th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (rank VARCHAR, country VARCHAR)
Question: What was the rank for Great Britain?
Here is the SQLite query to answer to the question: What was the rank for Gr... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (decision VARCHAR, attendance INTEGER)
Question: What is the decision of the game with an attendance greater than 19,883?
[/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_49 (decision VARCHAR, attendance INTEGER)
Question: What is the decision of the game with an attendance greater than 19,883?
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_20928682_1 (opponents VARCHAR, record VARCHAR)
Question: After how many opponents was the overall record 1-0-0?
[/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_20928682_1 (opponents VARCHAR, record VARCHAR)
Question: After how many opponents was the overall record 1-0-0?
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 (team VARCHAR, laps VARCHAR, points VARCHAR)
Question: Which team had 64 laps and 13 points?
[/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_39 (team VARCHAR, laps VARCHAR, points VARCHAR)
Question: Which team had 64 laps and 13 points?
Here is the SQLite query to answer to the question: Which 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 FLIGHTS (DestAirport VARCHAR, SourceAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR)
Question: What is the code of airport that has fewest number of fl... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE FLIGHTS (DestAirport VARCHAR, SourceAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR)
Question: What is the code of airport that has fewest number of flights?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (enrollment INTEGER, mascot VARCHAR, year_joined VARCHAR)
Question: What is the average enrollment that has hot dogs as the mascot, with a year joined... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (enrollment INTEGER, mascot VARCHAR, year_joined VARCHAR)
Question: What is the average enrollment that has hot dogs as the mascot, with a year joined later... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (year INTEGER, notes VARCHAR, venue VARCHAR)
Question: What's the year of the event that took place most recently in Antwerp, Belgium with team compet... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (year INTEGER, notes VARCHAR, venue VARCHAR)
Question: What's the year of the event that took place most recently in Antwerp, Belgium with team 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_name_31 (uni_number VARCHAR, bats VARCHAR, position VARCHAR)
Question: How many Uni numbers have Bats of s, and a Position of utl?
[/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_31 (uni_number VARCHAR, bats VARCHAR, position VARCHAR)
Question: How many Uni numbers have Bats of s, and a Position of utl?
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_93 (updated_in_past_30_days VARCHAR, registration VARCHAR)
Question: What is Updated In Past 30 Days, when Registration is "Open to people 13 and over"?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (updated_in_past_30_days VARCHAR, registration VARCHAR)
Question: What is Updated In Past 30 Days, when Registration is "Open to people 13 and over"?
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_37 (avoirdupois_value VARCHAR, russian VARCHAR)
Question: What Avoirdupois value has a Russian of берковец?
[/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_37 (avoirdupois_value VARCHAR, russian VARCHAR)
Question: What Avoirdupois value has a Russian of берковец?
Here is the SQLite query to answer to the question... | 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.