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_40 (position INTEGER, points_1 VARCHAR)
Question: What is the position when the points 1 is 61?
[/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_40 (position INTEGER, points_1 VARCHAR)
Question: What is the position when the points 1 is 61?
Here is the SQLite query to answer to the question: What is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (total_viewers VARCHAR, share VARCHAR, episode_no VARCHAR)
Question: How many episodes have a share of 16.2% and an episode number of less than 1?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (total_viewers VARCHAR, share VARCHAR, episode_no VARCHAR)
Question: How many episodes have a share of 16.2% and an episode number of less than 1?
Here is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26914076_3 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)
Question: How many entries are there for u.s. viewers (millions) for the episode directed by r... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26914076_3 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)
Question: How many entries are there for u.s. viewers (millions) for the episode directed by rob bai... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29997112_3 (description VARCHAR, meaning VARCHAR)
Question: How many different descriptions are there for the flag that means decimal digit 2?
[/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_29997112_3 (description VARCHAR, meaning VARCHAR)
Question: How many different descriptions are there for the flag that means decimal digit 2?
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_45 (against INTEGER, lost INTEGER)
Question: What is the sum of Against when the lost is more than 7?
[/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_name_45 (against INTEGER, lost INTEGER)
Question: What is the sum of Against when the lost is more than 7?
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_256286_41 (yes_votes VARCHAR, no_votes VARCHAR, _percentage_yes VARCHAR)
Question: What is the aggregate number of yes votes where no votes is littler than 29... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_256286_41 (yes_votes VARCHAR, no_votes VARCHAR, _percentage_yes VARCHAR)
Question: What is the aggregate number of yes votes where no votes is littler than 299939.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_34 (time VARCHAR, lane VARCHAR)
Question: What is the Time of the Athlete in Lane 4?
[/INST]
Here is the SQLite query to answer to the question: What is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (time VARCHAR, lane VARCHAR)
Question: What is the Time of the Athlete in Lane 4?
Here is the SQLite query to answer to the question: What is the Time of 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_29 (wins VARCHAR, season VARCHAR, podiums VARCHAR)
Question: How many wins had a podium larger than 6 after season 2008?
[/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_29 (wins VARCHAR, season VARCHAR, podiums VARCHAR)
Question: How many wins had a podium larger than 6 after season 2008?
Here is the SQLite query to answer to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (system VARCHAR, name VARCHAR)
Question: Which system is named mess?
[/INST]
Here is the SQLite query to answer to the question: Which system is named... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (system VARCHAR, name VARCHAR)
Question: Which system is named mess?
Here is the SQLite query to answer to the question: Which system is named mess?:
```
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 student (fname VARCHAR, lname VARCHAR, age INTEGER)
Question: Find the first and last name of students whose age is younger than the average age.
[/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 student (fname VARCHAR, lname VARCHAR, age INTEGER)
Question: Find the first and last name of students whose age is younger than the average age.
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_26 (countries_visited VARCHAR, episode_no VARCHAR, writer VARCHAR)
Question: Which countries visited had an episode number of less than 7 when Ray Goslin... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (countries_visited VARCHAR, episode_no VARCHAR, writer VARCHAR)
Question: Which countries visited had an episode number of less than 7 when Ray Gosling 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_23 (date INTEGER, region VARCHAR, format VARCHAR)
Question: WHAT IS THE LOWEST DATE FOR KOREA, IN CD FORMAT?
[/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_23 (date INTEGER, region VARCHAR, format VARCHAR)
Question: WHAT IS THE LOWEST DATE FOR KOREA, IN CD FORMAT?
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_29 (bronze INTEGER, total VARCHAR, silver VARCHAR, rank VARCHAR)
Question: What is the average Bronze, when Silver is 0, when Rank is 19, and when Total ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (bronze INTEGER, total VARCHAR, silver VARCHAR, rank VARCHAR)
Question: What is the average Bronze, when Silver is 0, when Rank is 19, and when Total is gre... | bugdaryan/sql-create-context-instruction | |
[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 (opponents_in_the_final VARCHAR, date VARCHAR)
Question: Who are the opponents in the February 19, 1996 final?
[/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_30 (opponents_in_the_final VARCHAR, date VARCHAR)
Question: Who are the opponents in the February 19, 1996 final?
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_45 (score VARCHAR, date VARCHAR)
Question: What is the Score on October 7, 2000?
[/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_45 (score VARCHAR, date VARCHAR)
Question: What is the Score on October 7, 2000?
Here is the SQLite query to answer to the question: What is the Score on Octo... | bugdaryan/sql-create-context-instruction | |
[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 (grid VARCHAR, constructor VARCHAR, laps VARCHAR)
Question: What was the grid placement for the Maserati that completed 14 laps?
[/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_40 (grid VARCHAR, constructor VARCHAR, laps VARCHAR)
Question: What was the grid placement for the Maserati that completed 14 laps?
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 Movie (director VARCHAR)
Question: What are the names of the directors who made exactly one movie?
[/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 Movie (director VARCHAR)
Question: What are the names of the directors who made exactly one movie?
Here is the SQLite query to answer to the question: What are the names... | bugdaryan/sql-create-context-instruction | |
[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 (attendance VARCHAR, result VARCHAR, week VARCHAR)
Question: What was the total attendance with a result of W 31-21 before week 9?
[/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_13 (attendance VARCHAR, result VARCHAR, week VARCHAR)
Question: What was the total attendance with a result of W 31-21 before week 9?
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 salary (salary VARCHAR, YEAR VARCHAR)
Question: List the 3 highest salaries of the players in 2001?
[/INST]
Here is the SQLite query to answer to the question: List... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE salary (salary VARCHAR, YEAR VARCHAR)
Question: List the 3 highest salaries of the players in 2001?
Here is the SQLite query to answer to the question: List the 3 highes... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (category VARCHAR, year INTEGER)
Question: What is the category that came before 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 table_name_44 (category VARCHAR, year INTEGER)
Question: What is the category that came before 2011?
Here is the SQLite query to answer to the question: What is the cate... | bugdaryan/sql-create-context-instruction | |
[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 (team VARCHAR, rounds VARCHAR, constructor VARCHAR)
Question: What team has a yamaha constructor with all rounds?
[/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_60 (team VARCHAR, rounds VARCHAR, constructor VARCHAR)
Question: What team has a yamaha constructor with all rounds?
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_12 (round INTEGER, position VARCHAR, overall VARCHAR)
Question: What round is highest and has a defensive tackle position and overall lower than 282?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (round INTEGER, position VARCHAR, overall VARCHAR)
Question: What round is highest and has a defensive tackle position and overall lower than 282?
Here is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (tournament VARCHAR)
Question: What is the result from 2003 from the US Open?
[/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_80 (tournament VARCHAR)
Question: What is the result from 2003 from the US Open?
Here is the SQLite query to answer to the question: What is the result from 2... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (date VARCHAR, event VARCHAR)
Question: What is the date of the 200m individual medley?
[/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_70 (date VARCHAR, event VARCHAR)
Question: What is the date of the 200m individual medley?
Here is the SQLite query to answer to the question: What is the dat... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18052353_4 (treasurer VARCHAR, year VARCHAR)
Question: Who was treasurer in 2008?
[/INST]
Here is the SQLite query to answer to the question: Who was treasure... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18052353_4 (treasurer VARCHAR, year VARCHAR)
Question: Who was treasurer in 2008?
Here is the SQLite query to answer to the question: Who was treasurer in 2008?:
`... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, away_team VARCHAR)
Question: What day is south melbourne away?
[/INST]
Here is the SQLite query to answer to the question: What day 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 (date VARCHAR, away_team VARCHAR)
Question: What day is south melbourne away?
Here is the SQLite query to answer to the question: What day is south melbour... | bugdaryan/sql-create-context-instruction | |
[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 (avg_g INTEGER, name VARCHAR, gain VARCHAR)
Question: How much Avg/G has a Name of robert marve, and a Gain smaller than 236?
[/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_32 (avg_g INTEGER, name VARCHAR, gain VARCHAR)
Question: How much Avg/G has a Name of robert marve, and a Gain smaller than 236?
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_197286_4 (distance VARCHAR, direction VARCHAR)
Question: Name the distance from north
[/INST]
Here is the SQLite query to answer to the question: Name the dis... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_197286_4 (distance VARCHAR, direction VARCHAR)
Question: Name the distance from north
Here is the SQLite query to answer to the question: Name the distance from no... | bugdaryan/sql-create-context-instruction | |
[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 (player VARCHAR, score VARCHAR)
Question: What is the name of the golfer that has the score of 73-65=138?
[/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_81 (player VARCHAR, score VARCHAR)
Question: What is the name of the golfer that has the score of 73-65=138?
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_23 (nationality VARCHAR, previous_team VARCHAR, years_of_nba_experience_ VARCHAR, a_ VARCHAR)
Question: What is the nationality of the player with 2 year... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (nationality VARCHAR, previous_team VARCHAR, years_of_nba_experience_ VARCHAR, a_ VARCHAR)
Question: What is the nationality of the player with 2 years of N... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (date VARCHAR, score VARCHAR)
Question: On what Date was the Score 6–4, 6–2?
[/INST]
Here is the SQLite query to answer to the question: On what Date ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (date VARCHAR, score VARCHAR)
Question: On what Date was the Score 6–4, 6–2?
Here is the SQLite query to answer to the question: On what Date was the Score... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (wins INTEGER, against VARCHAR, byes VARCHAR)
Question: Which Wins has an Against of 1940, and a Byes larger than 0?
[/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_61 (wins INTEGER, against VARCHAR, byes VARCHAR)
Question: Which Wins has an Against of 1940, and a Byes larger than 0?
Here is the SQLite query to answer to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (class VARCHAR, year VARCHAR, points VARCHAR)
Question: What class before 1990 has points of 33?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (class VARCHAR, year VARCHAR, points VARCHAR)
Question: What class before 1990 has points of 33?
Here is the SQLite query to answer to the question: What c... | bugdaryan/sql-create-context-instruction | |
[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 (total INTEGER, silver VARCHAR, rank VARCHAR)
Question: How many total medals does rank 3 with less than 40 silver medals?
[/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_86 (total INTEGER, silver VARCHAR, rank VARCHAR)
Question: How many total medals does rank 3 with less than 40 silver medals?
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_3 (analog_channel VARCHAR, digital_channel VARCHAR)
Question: Digital channel of 32 belongs to what analog channel?
[/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_3 (analog_channel VARCHAR, digital_channel VARCHAR)
Question: Digital channel of 32 belongs to what analog channel?
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_72 (record VARCHAR, arena VARCHAR, opponent VARCHAR)
Question: What was the record after the game against the Sharks at Arrowhead Pond of Anaheim?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (record VARCHAR, arena VARCHAR, opponent VARCHAR)
Question: What was the record after the game against the Sharks at Arrowhead Pond of Anaheim?
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_35 (Id VARCHAR)
Question: What is the 2010 entry for the row that has a 2009 entry of 270?
[/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_35 (Id VARCHAR)
Question: What is the 2010 entry for the row that has a 2009 entry of 270?
Here is the SQLite query to answer to the question: What is 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_31 (silver VARCHAR, gold VARCHAR, bronze VARCHAR)
Question: Gold larger than 0, and a Bronze larger than 1 includes what total number of silver?
[/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 (silver VARCHAR, gold VARCHAR, bronze VARCHAR)
Question: Gold larger than 0, and a Bronze larger than 1 includes what total number of silver?
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_23950611_2 (rank__all__2012 VARCHAR, name VARCHAR)
Question: What was the Forbers rank (all companies) in 2012 for cenovus energy?
[/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_23950611_2 (rank__all__2012 VARCHAR, name VARCHAR)
Question: What was the Forbers rank (all companies) in 2012 for cenovus energy?
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_97 (roll INTEGER, decile VARCHAR, authority VARCHAR, name VARCHAR)
Question: What is the smallest roll with an Authority of state, a Name of newfield par... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (roll INTEGER, decile VARCHAR, authority VARCHAR, name VARCHAR)
Question: What is the smallest roll with an Authority of state, a Name of newfield park scho... | bugdaryan/sql-create-context-instruction | |
[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 (time INTEGER, name VARCHAR, rank VARCHAR)
Question: Name the most time for katrin meißner and rank less than 5
[/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_71 (time INTEGER, name VARCHAR, rank VARCHAR)
Question: Name the most time for katrin meißner and rank less than 5
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_23982399_1 (overall_episode__number INTEGER, original_airdate VARCHAR)
Question: What episode number originally aired on November 21, 1993?
[/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_23982399_1 (overall_episode__number INTEGER, original_airdate VARCHAR)
Question: What episode number originally aired on November 21, 1993?
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_24837750_1 (date_in_service VARCHAR, installed_capacity__mw_ VARCHAR)
Question: When did this wind farm started service with a capacity of 135 MW?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24837750_1 (date_in_service VARCHAR, installed_capacity__mw_ VARCHAR)
Question: When did this wind farm started service with a capacity of 135 MW?
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (rank INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR)
Question: Name the least rank when silver is less than 1 and bronze is less than 1 with t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (rank INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR)
Question: Name the least rank when silver is less than 1 and bronze is less than 1 with total 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 WINE (Name VARCHAR, score INTEGER)
Question: List the names of all distinct wines that have scores higher than 90.
[/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 WINE (Name VARCHAR, score INTEGER)
Question: List the names of all distinct wines that have scores higher than 90.
Here is the SQLite query to answer to the question: Li... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (pick INTEGER, college VARCHAR)
Question: What is indiana college's average pick?
[/INST]
Here is the SQLite query to answer to the question: What is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (pick INTEGER, college VARCHAR)
Question: What is indiana college's average pick?
Here is the SQLite query to answer to the question: What is indiana colle... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (rank INTEGER, gold VARCHAR, total VARCHAR)
Question: What is the Rank of the Nation with more than 1 Gold and a more than 4 Total medals?
[/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_65 (rank INTEGER, gold VARCHAR, total VARCHAR)
Question: What is the Rank of the Nation with more than 1 Gold and a more than 4 Total medals?
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (leading_scorer VARCHAR, date VARCHAR)
Question: Who led the score on April 9?
[/INST]
Here is the SQLite query to answer to the question: Who led the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (leading_scorer VARCHAR, date VARCHAR)
Question: Who led the score on April 9?
Here is the SQLite query to answer to the question: Who led the score on Apr... | bugdaryan/sql-create-context-instruction | |
[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 (rider VARCHAR, speed VARCHAR, rank VARCHAR, year VARCHAR)
Question: Who is the rider that has a rank of less than 8 in the year 2000, and whose speed... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (rider VARCHAR, speed VARCHAR, rank VARCHAR, year VARCHAR)
Question: Who is the rider that has a rank of less than 8 in the year 2000, and whose speed was 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_80 (score VARCHAR, date VARCHAR)
Question: WHAT IS THE SCORE WITH A DATE OF NOVEMBER 18?
[/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_80 (score VARCHAR, date VARCHAR)
Question: WHAT IS THE SCORE WITH A DATE OF NOVEMBER 18?
Here is the SQLite query to answer to the question: WHAT IS THE SCORE... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (fleet_number VARCHAR, year VARCHAR)
Question: What is fleet number for the year of 19xx?
[/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_62 (fleet_number VARCHAR, year VARCHAR)
Question: What is fleet number for the year of 19xx?
Here is the SQLite query to answer to the question: What is fleet... | bugdaryan/sql-create-context-instruction | |
[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 (play_by_play VARCHAR, color_commentator_s_ VARCHAR, year VARCHAR)
Question: What was the Play-by-play when the color commentator was Eric Wynalda, ea... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (play_by_play VARCHAR, color_commentator_s_ VARCHAR, year VARCHAR)
Question: What was the Play-by-play when the color commentator was Eric Wynalda, earlier ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20726262_2 (no_in_series INTEGER, writtenby VARCHAR)
Question: What number episode was written by kurt sutter & jack logiudice?
[/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_20726262_2 (no_in_series INTEGER, writtenby VARCHAR)
Question: What number episode was written by kurt sutter & jack logiudice?
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_1745843_6 (part_3 VARCHAR, class VARCHAR)
Question: What's the part 3 of the verb whose class is 4?
[/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_1745843_6 (part_3 VARCHAR, class VARCHAR)
Question: What's the part 3 of the verb whose class is 4?
Here is the SQLite query to answer to the question: What's 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 FLIGHTS (Airline VARCHAR, DestAirport VARCHAR); CREATE TABLE AIRLINES (uid VARCHAR, Airline VARCHAR)
Question: How many 'United Airlines' flights go to Airport 'ASY... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE FLIGHTS (Airline VARCHAR, DestAirport VARCHAR); CREATE TABLE AIRLINES (uid VARCHAR, Airline VARCHAR)
Question: How many 'United Airlines' flights go to Airport 'ASY'?
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_78 (gross_revenue__2011_ VARCHAR, gross_revenue__1982_ VARCHAR)
Question: What was the 2011 gross revenue for the venue that had a gross revenue of $156,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (gross_revenue__2011_ VARCHAR, gross_revenue__1982_ VARCHAR)
Question: What was the 2011 gross revenue for the venue that had a gross revenue of $156,315 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_name_78 (chilean VARCHAR, castilian VARCHAR)
Question: What Chilean word is used for the Castilian word ordenador?
[/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_78 (chilean VARCHAR, castilian VARCHAR)
Question: What Chilean word is used for the Castilian word ordenador?
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_26614365_1 (latin VARCHAR, english VARCHAR)
Question: What is the Latin for "you sang"?
[/INST]
Here is the SQLite query to answer to the question: What is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26614365_1 (latin VARCHAR, english VARCHAR)
Question: What is the Latin for "you sang"?
Here is the SQLite query to answer to the question: What is the Latin for "... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (locality VARCHAR, ofsted VARCHAR, school VARCHAR)
Question: Where is the locality with Ofsted less than 106478 for Meadowbank Primary and Nursery Sch... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (locality VARCHAR, ofsted VARCHAR, school VARCHAR)
Question: Where is the locality with Ofsted less than 106478 for Meadowbank Primary and Nursery 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_23799653_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
Question: When did the episode viewed by 10.50 millions of people in the US run for the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23799653_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
Question: When did the episode viewed by 10.50 millions of people in the US run for the 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_24 (loss VARCHAR, record VARCHAR)
Question: What's the Loss for the game that had a 22-24 record?
[/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_24 (loss VARCHAR, record VARCHAR)
Question: What's the Loss for the game that had a 22-24 record?
Here is the SQLite query to answer to the question: What's 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_9 (country VARCHAR, film_title_used_in_nomination VARCHAR)
Question: Which country is the film Tent of Miracles from?
[/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_9 (country VARCHAR, film_title_used_in_nomination VARCHAR)
Question: Which country is the film Tent of Miracles from?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (events VARCHAR, player VARCHAR, earnings___$__ VARCHAR)
Question: What is the total number of events that Al Geiberger has played with earnings large... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (events VARCHAR, player VARCHAR, earnings___$__ VARCHAR)
Question: What is the total number of events that Al Geiberger has played with earnings larger than... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_229917_2 (date__ddmmyyyy_ VARCHAR, tail_number VARCHAR)
Question: When did the airplane with tail number RA-85282 crash?
[/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_229917_2 (date__ddmmyyyy_ VARCHAR, tail_number VARCHAR)
Question: When did the airplane with tail number RA-85282 crash?
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_2 (date_of_polling VARCHAR, liberal VARCHAR, polling_firm VARCHAR, green VARCHAR)
Question: On what date of polling was the Polling Firm forum research w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (date_of_polling VARCHAR, liberal VARCHAR, polling_firm VARCHAR, green VARCHAR)
Question: On what date of polling was the Polling Firm forum research with 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_77 (heat VARCHAR, lane VARCHAR, time VARCHAR)
Question: What is the heat with a time of 3:45.57 in lane 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_name_77 (heat VARCHAR, lane VARCHAR, time VARCHAR)
Question: What is the heat with a time of 3:45.57 in lane 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_38 (total INTEGER, gold VARCHAR, rank VARCHAR)
Question: Name the average total for gold less than 1 and rank less than 5
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (total INTEGER, gold VARCHAR, rank VARCHAR)
Question: Name the average total for gold less than 1 and rank less than 5
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 Flight (flno VARCHAR, origin VARCHAR)
Question: Show all flight number from Los Angeles.
[/INST]
Here is the SQLite query to answer to the question: Show all flight... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Flight (flno VARCHAR, origin VARCHAR)
Question: Show all flight number from Los Angeles.
Here is the SQLite query to answer to the question: Show all flight number from ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (play_by_play VARCHAR, network VARCHAR, year VARCHAR)
Question: Who was the play by play commentator for ABC after 1998?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (play_by_play VARCHAR, network VARCHAR, year VARCHAR)
Question: Who was the play by play commentator for ABC after 1998?
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_31 (high_points VARCHAR, game VARCHAR)
Question: What is the High points with a Game that is 56?
[/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_31 (high_points VARCHAR, game VARCHAR)
Question: What is the High points with a Game that is 56?
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_20 (mascot VARCHAR, location VARCHAR)
Question: What is bedford's mascot?
[/INST]
Here is the SQLite query to answer to the question: What is bedford's m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (mascot VARCHAR, location VARCHAR)
Question: What is bedford's mascot?
Here is the SQLite query to answer to the question: What is bedford's mascot?:
```
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_89 (stage VARCHAR, course VARCHAR)
Question: What stage of the race was held on the course Reggio Calabria to Catanzaro?
[/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_89 (stage VARCHAR, course VARCHAR)
Question: What stage of the race was held on the course Reggio Calabria to Catanzaro?
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_16729930_17 (memory VARCHAR, part_number_s_ VARCHAR)
Question: Name the memory for part number of ct80618003201aa
[/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_16729930_17 (memory VARCHAR, part_number_s_ VARCHAR)
Question: Name the memory for part number of ct80618003201aa
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_76 (trans_2 VARCHAR, swim__15km_ VARCHAR, run__10km_ VARCHAR)
Question: With a swim (1.5km) of 18:55 and a run (10km) of 32:37, what is the trans 2?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (trans_2 VARCHAR, swim__15km_ VARCHAR, run__10km_ VARCHAR)
Question: With a swim (1.5km) of 18:55 and a run (10km) of 32:37, what is the trans 2?
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_54 (season VARCHAR, lead VARCHAR, third VARCHAR)
Question: what is the season when the lead is john shuster and third is shawn rojeski?
[/INST]
Here is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (season VARCHAR, lead VARCHAR, third VARCHAR)
Question: what is the season when the lead is john shuster and third is shawn rojeski?
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_37 (opponent VARCHAR, week VARCHAR, date VARCHAR)
Question: Who was the opponent in the game played after Week 4 on October 15, 2000?
[/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_37 (opponent VARCHAR, week VARCHAR, date VARCHAR)
Question: Who was the opponent in the game played after Week 4 on October 15, 2000?
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_56 (round INTEGER, circuit VARCHAR)
Question: What was the average round for the oulton park circuit?
[/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_name_56 (round INTEGER, circuit VARCHAR)
Question: What was the average round for the oulton park circuit?
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_30 (Id VARCHAR)
Question: What was the percentage in 1980 that had less than 37.8% in 2006, more than 29.4% in 2000, and more than 18.2% in 1970?
[/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 (Id VARCHAR)
Question: What was the percentage in 1980 that had less than 37.8% in 2006, more than 29.4% in 2000, and more than 18.2% in 1970?
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_89 (iata VARCHAR, airport VARCHAR)
Question: what is the iata for malta international airport?
[/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_89 (iata VARCHAR, airport VARCHAR)
Question: what is the iata for malta international airport?
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_41 (first_year VARCHAR, title VARCHAR)
Question: What is the first year for Popgun?
[/INST]
Here is the SQLite query to answer to the question: What is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (first_year VARCHAR, title VARCHAR)
Question: What is the first year for Popgun?
Here is the SQLite query to answer to the question: What is the first year... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE game (season VARCHAR, home_team VARCHAR, away_team VARCHAR)
Question: List the season, home team, away team of all the games.
[/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 game (season VARCHAR, home_team VARCHAR, away_team VARCHAR)
Question: List the season, home team, away team of all the games.
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_52 (label VARCHAR, date VARCHAR)
Question: Which label has a date of 1987?
[/INST]
Here is the SQLite query to answer to the question: Which label has a ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (label VARCHAR, date VARCHAR)
Question: Which label has a date of 1987?
Here is the SQLite query to answer to the question: Which label has a date of 1987?... | bugdaryan/sql-create-context-instruction | |
[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 (week VARCHAR, result VARCHAR)
Question: What was the total number of weeks with a result of l 31-21?
[/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_33 (week VARCHAR, result VARCHAR)
Question: What was the total number of weeks with a result of l 31-21?
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_2582519_6 (title VARCHAR, director VARCHAR)
Question: What is the title of the show with director Paul Annett?
[/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_2582519_6 (title VARCHAR, director VARCHAR)
Question: What is the title of the show with director Paul Annett?
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_74 (host VARCHAR, country VARCHAR)
Question: What was the host of Horrid Henry?
[/INST]
Here is the SQLite query to answer to the question: What was the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (host VARCHAR, country VARCHAR)
Question: What was the host of Horrid Henry?
Here is the SQLite query to answer to the question: What was the host of Horri... | bugdaryan/sql-create-context-instruction | |
[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 (attendance VARCHAR, week VARCHAR)
Question: What is the attendance for week 11?
[/INST]
Here is the SQLite query to answer to the question: What is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (attendance VARCHAR, week VARCHAR)
Question: What is the attendance for week 11?
Here is the SQLite query to answer to the question: What is the attendance... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (winning_driver VARCHAR, name VARCHAR)
Question: Tell me the winning driver for pau grand prix
[/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_1 (winning_driver VARCHAR, name VARCHAR)
Question: Tell me the winning driver for pau grand prix
Here is the SQLite query to answer to the question: Tell me t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (airport VARCHAR, iata VARCHAR)
Question: Which airport has an IATA of hgh?
[/INST]
Here is the SQLite query to answer to the question: Which airport ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (airport VARCHAR, iata VARCHAR)
Question: Which airport has an IATA of hgh?
Here is the SQLite query to answer to the question: Which airport has an IATA o... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20750731_1 (others_number VARCHAR, mccain_number VARCHAR)
Question: Name the Others# when McCain# is 4730.
[/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_20750731_1 (others_number VARCHAR, mccain_number VARCHAR)
Question: Name the Others# when McCain# is 4730.
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 TV_Channel (id VARCHAR, series_name VARCHAR); CREATE TABLE TV_series (Episode VARCHAR, Channel VARCHAR)
Question: List the Episode of all TV series showed on TV Ch... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE TV_Channel (id VARCHAR, series_name VARCHAR); CREATE TABLE TV_series (Episode VARCHAR, Channel VARCHAR)
Question: List the Episode of all TV series showed on TV Channel ... | bugdaryan/sql-create-context-instruction | |
[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 (grid INTEGER, laps VARCHAR, constructor VARCHAR)
Question: what is the highest grid when the laps is less than 44 and the constructor is renault?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (grid INTEGER, laps VARCHAR, constructor VARCHAR)
Question: what is the highest grid when the laps is less than 44 and the constructor is renault?
Here is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (year VARCHAR, label VARCHAR, release_title VARCHAR)
Question: What year was Neverchanger with the label of Latenight weeknight?
[/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_70 (year VARCHAR, label VARCHAR, release_title VARCHAR)
Question: What year was Neverchanger with the label of Latenight weeknight?
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_1342233_5 (district VARCHAR, incumbent VARCHAR)
Question: How many districts had William F. Norrell as the incumbent?
[/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_1342233_5 (district VARCHAR, incumbent VARCHAR)
Question: How many districts had William F. Norrell as the incumbent?
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_35 (time VARCHAR, away VARCHAR)
Question: What time was the away game played against the High Park Demons?
[/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_35 (time VARCHAR, away VARCHAR)
Question: What time was the away game played against the High Park Demons?
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_97 (result VARCHAR, date VARCHAR)
Question: What was the Result of the game dated 21st?
[/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_97 (result VARCHAR, date VARCHAR)
Question: What was the Result of the game dated 21st?
Here is the SQLite query to answer to the question: What was the Resul... | bugdaryan/sql-create-context-instruction | |
[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 (pick__number VARCHAR, college VARCHAR)
Question: What is the total number of picks for Calgary College?
[/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_30 (pick__number VARCHAR, college VARCHAR)
Question: What is the total number of picks for Calgary College?
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_42 (year INTEGER, budget VARCHAR)
Question: How many years had budgets of $39 million?
[/INST]
Here is the SQLite query to answer to the question: How ma... | 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, budget VARCHAR)
Question: How many years had budgets of $39 million?
Here is the SQLite query to answer to the question: How many years had ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (cache VARCHAR, capacity VARCHAR)
Question: What is the Cache with a Capacity that is 600 gb?
[/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_59 (cache VARCHAR, capacity VARCHAR)
Question: What is the Cache with a Capacity that is 600 gb?
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_76 (third VARCHAR, lead VARCHAR)
Question: WHAT IS THE THIRD WITH LEAD CINDY SIMMONS?
[/INST]
Here is the SQLite query to answer to the question: WHAT IS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (third VARCHAR, lead VARCHAR)
Question: WHAT IS THE THIRD WITH LEAD CINDY SIMMONS?
Here is the SQLite query to answer to the question: WHAT IS THE THIRD WI... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (position VARCHAR, round VARCHAR)
Question: In round 3 what was the position?
[/INST]
Here is the SQLite query to answer to the question: In round 3 w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (position VARCHAR, round VARCHAR)
Question: In round 3 what was the position?
Here is the SQLite query to answer to the question: In round 3 what was the p... | 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.