text stringlengths 380 1.33k |
|---|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When is the original air date written by sean whitesell?
### Context:
CREATE TABLE table_22904752_1 (original_air_date VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_22904752_1 WHERE written_by = "Sean Whitesell" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is no. 79 directed by?
### Context:
CREATE TABLE table_22904752_1 (directed_by VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_22904752_1 WHERE no = 79 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the # when u.s. viewers (million) is 17.44?
### Context:
CREATE TABLE table_22904752_1 (_number VARCHAR, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT COUNT(_number) FROM table_22904752_1 WHERE us_viewers__million_ = "17.44" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many # were written by david hoselton?
### Context:
CREATE TABLE table_22904752_1 (_number INTEGER, written_by VARCHAR) [/INST]
### Response:
SELECT MAX(_number) FROM table_22904752_1 WHERE written_by = "David Hoselton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many race 3 winners were there when Mitch Evans won race 2?
### Context:
CREATE TABLE table_22905641_2 (race_3_winner VARCHAR, race_2_winner VARCHAR) [/INST]
### Response:
SELECT COUNT(race_3_winner) FROM table_22905641_2 WHERE race_2_winner = "Mitch Evans" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What date was the race at the Symmons Plains Raceway?
### Context:
CREATE TABLE table_22905641_2 (date VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT date FROM table_22905641_2 WHERE circuit = "Symmons Plains Raceway" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the race 1 winner at the race held at Winton Motor Raceway?
### Context:
CREATE TABLE table_22905641_2 (race_1_winner VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT race_1_winner FROM table_22905641_2 WHERE circuit = "Winton Motor Raceway" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the race 1 winner of the race at Hidden Valley Raceway?
### Context:
CREATE TABLE table_22905641_2 (race_1_winner VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT race_1_winner FROM table_22905641_2 WHERE circuit = "Hidden Valley Raceway" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In how many years did Pat Bradley became the champion?
### Context:
CREATE TABLE table_229059_2 (year VARCHAR, champion VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_229059_2 WHERE champion = "Pat Bradley" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When was the tournament in Forest Lake Country Club held?
### Context:
CREATE TABLE table_229059_2 (dates VARCHAR, tournament_location VARCHAR) [/INST]
### Response:
SELECT dates FROM table_229059_2 WHERE tournament_location = "Forest Lake country Club" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many different countries did the champion Se Ri Pak (2) represent?
### Context:
CREATE TABLE table_229059_2 (country VARCHAR, champion VARCHAR) [/INST]
### Response:
SELECT COUNT(country) FROM table_229059_2 WHERE champion = "Se Ri Pak (2)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score in 1978?
### Context:
CREATE TABLE table_229059_2 (score VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT score FROM table_229059_2 WHERE year = 1978 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the winner share (in $) in the year when Se Ri Pak (2) was the champion?
### Context:
CREATE TABLE table_229059_2 (winners_share__ INTEGER, champion VARCHAR) [/INST]
### Response:
SELECT MIN(winners_share__) AS $_ FROM table_229059_2 WHERE champion = "Se Ri Pak (2)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score in the tournament won by Jan Stephenson?
### Context:
CREATE TABLE table_229059_2 (score VARCHAR, champion VARCHAR) [/INST]
### Response:
SELECT score FROM table_229059_2 WHERE champion = "Jan Stephenson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many points did the opponents score at the game in Knoxville?
### Context:
CREATE TABLE table_22903773_2 (opp_points INTEGER, location VARCHAR) [/INST]
### Response:
SELECT MIN(opp_points) FROM table_22903773_2 WHERE location = "Knoxville" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What game date had a record of 17-7?
### Context:
CREATE TABLE table_22903773_2 (date VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT date FROM table_22903773_2 WHERE record = "17-7" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many points did the opponents score on the game where Sooners' record was 16-5?
### Context:
CREATE TABLE table_22903773_2 (opp_points INTEGER, record VARCHAR) [/INST]
### Response:
SELECT MAX(opp_points) FROM table_22903773_2 WHERE record = "16-5" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
List the number of shows that had 12.04 million viewers in the united states
### Context:
CREATE TABLE table_22904780_1 (title VARCHAR, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT COUNT(title) FROM table_22904780_1 WHERE us_viewers__million_ = "12.04" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
List the original air date for week 5.
### Context:
CREATE TABLE table_22904780_1 (original_air_date VARCHAR, rank__week_ VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_22904780_1 WHERE rank__week_ = 5 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
List the 1st air date for the show where the writers are russel friend & garrett lerner.
### Context:
CREATE TABLE table_22904780_1 (original_air_date VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_22904780_1 WHERE written_by = "Russel Friend & Garrett Lerner" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When shinya nakano's kawasaki ninja zx-rr is the example what is the graphical?
### Context:
CREATE TABLE table_22915134_2 (graphical VARCHAR, example VARCHAR) [/INST]
### Response:
SELECT graphical FROM table_22915134_2 WHERE example = "Shinya Nakano's Kawasaki Ninja ZX-RR" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When 1985-2007 yamaha v-max honda vfr800 is the example what is the engine is it?
### Context:
CREATE TABLE table_22915134_2 (engine VARCHAR, example VARCHAR) [/INST]
### Response:
SELECT engine FROM table_22915134_2 WHERE example = "1985-2007 Yamaha V-Max Honda VFR800" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When shinya nakano's kawasaki ninja zx-rr is the example what is the engine type?
### Context:
CREATE TABLE table_22915134_2 (engine VARCHAR, example VARCHAR) [/INST]
### Response:
SELECT engine FROM table_22915134_2 WHERE example = "Shinya Nakano's Kawasaki Ninja ZX-RR" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When 68-292-68-292 is the ignition timing how many graphicals is it?
### Context:
CREATE TABLE table_22915134_2 (graphical VARCHAR, ignition_timing VARCHAR) [/INST]
### Response:
SELECT COUNT(graphical) FROM table_22915134_2 WHERE ignition_timing = "68-292-68-292" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When i4 is the engine what is the graphical?
### Context:
CREATE TABLE table_22915134_2 (graphical VARCHAR, engine VARCHAR) [/INST]
### Response:
SELECT graphical FROM table_22915134_2 WHERE engine = "I4" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When 1-1-0-0-1-1-0-0- is the graphical how many ignition timings are there?
### Context:
CREATE TABLE table_22915134_2 (ignition_timing VARCHAR, graphical VARCHAR) [/INST]
### Response:
SELECT COUNT(ignition_timing) FROM table_22915134_2 WHERE graphical = "1-1-0-0-1-1-0-0-" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the total is 6, what is the maximum R?
### Context:
CREATE TABLE table (r INTEGER, total VARCHAR) [/INST]
### Response:
SELECT MAX(r) FROM table WHERE total = 6 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the player is Marcelo, what is the minimum R?
### Context:
CREATE TABLE table (r INTEGER, player VARCHAR, Marcelo VARCHAR) [/INST]
### Response:
SELECT MIN(r) FROM table WHERE player = Marcelo </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the player is Marcelo, what is the position?
### Context:
CREATE TABLE table (position VARCHAR, player VARCHAR, Marcelo VARCHAR) [/INST]
### Response:
SELECT position FROM table WHERE player = Marcelo </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the position is AM and the league is larger than 7.0, what is the total R number?
### Context:
CREATE TABLE table (r VARCHAR, position VARCHAR, AM VARCHAR, league VARCHAR) [/INST]
### Response:
SELECT COUNT(r) FROM table WHERE position = AM AND league > 7.0 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the Stage 1 winner?
### Context:
CREATE TABLE table_22917458_15 (winner VARCHAR, stage VARCHAR) [/INST]
### Response:
SELECT winner FROM table_22917458_15 WHERE stage = 1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who won Stage 7?
### Context:
CREATE TABLE table_22917458_15 (winner VARCHAR, stage VARCHAR) [/INST]
### Response:
SELECT winner FROM table_22917458_15 WHERE stage = 7 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the mountain classification winner in the stage won by Alessandro Ballan?
### Context:
CREATE TABLE table_22917458_15 (mountains_classification_klasyfikacja_górska VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT mountains_classification_klasyfikacja_górska FROM table_22917458_15 WHERE winner = "Alessandro Ballan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
For the city whose land area was 135.09, what was the total population density?
### Context:
CREATE TABLE table_22916979_1 (population_density__people_per_mi_2__ VARCHAR, land_area__mi_2__ VARCHAR) [/INST]
### Response:
SELECT population_density__people_per_mi_2__ FROM table_22916979_1 WHERE land_area__mi_2__ = "135.09" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which major metropolitan area had a land area of 23.80?
### Context:
CREATE TABLE table_22916979_1 (metropolitan_area VARCHAR, land_area__mi_2__ VARCHAR) [/INST]
### Response:
SELECT metropolitan_area FROM table_22916979_1 WHERE land_area__mi_2__ = "23.80" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many states had a population density of 10188.8?
### Context:
CREATE TABLE table_22916979_1 (state VARCHAR, population_density__people_per_mi_2__ VARCHAR) [/INST]
### Response:
SELECT COUNT(state) FROM table_22916979_1 WHERE population_density__people_per_mi_2__ = "10188.8" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number of left for cardinals
### Context:
CREATE TABLE table_2293402_2 (left VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT COUNT(left) FROM table_2293402_2 WHERE nickname = "Cardinals" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the school that is private
### Context:
CREATE TABLE table_2293402_2 (institution VARCHAR, type VARCHAR) [/INST]
### Response:
SELECT institution FROM table_2293402_2 WHERE type = "Private" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the location that was founded 1798
### Context:
CREATE TABLE table_2293402_2 (location VARCHAR, founded VARCHAR) [/INST]
### Response:
SELECT location FROM table_2293402_2 WHERE founded = 1798 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the nickname that was founded 1798
### Context:
CREATE TABLE table_2293402_2 (nickname VARCHAR, founded VARCHAR) [/INST]
### Response:
SELECT nickname FROM table_2293402_2 WHERE founded = 1798 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the least 10,000+ places for louisville
### Context:
CREATE TABLE table_22916979_5 (_places VARCHAR, principal_city VARCHAR) [/INST]
### Response:
SELECT MIN(10), 000 + _places FROM table_22916979_5 WHERE principal_city = "Louisville" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the density for pennsbury village
### Context:
CREATE TABLE table_22916979_5 (density VARCHAR, densest_incorporated_place VARCHAR) [/INST]
### Response:
SELECT density FROM table_22916979_5 WHERE densest_incorporated_place = "Pennsbury Village" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number of rank for stone park
### Context:
CREATE TABLE table_22916979_5 (rank VARCHAR, densest_incorporated_place VARCHAR) [/INST]
### Response:
SELECT COUNT(rank) FROM table_22916979_5 WHERE densest_incorporated_place = "Stone Park" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the area for north bay village
### Context:
CREATE TABLE table_22916979_5 (metropolitan_area VARCHAR, densest_incorporated_place VARCHAR) [/INST]
### Response:
SELECT metropolitan_area FROM table_22916979_5 WHERE densest_incorporated_place = "North Bay Village" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where is the PPP 23164 million €?
### Context:
CREATE TABLE table_2293510_1 (region___nuts_2006_ VARCHAR, ppp__million_€_ VARCHAR) [/INST]
### Response:
SELECT region___nuts_2006_ FROM table_2293510_1 WHERE ppp__million_€_ = 23164 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the total (in million €) in the region where PPP is 21779 million €?
### Context:
CREATE TABLE table_2293510_1 (total__million_€__ VARCHAR, ppp__million_€_ VARCHAR) [/INST]
### Response:
SELECT total__million_€__ FROM table_2293510_1 WHERE ppp__million_€_ = 21779 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the percentage of EU average GDP (PPP) in the region where € per capita is 2519
### Context:
CREATE TABLE table_2293510_1 (_percentage_of_eu_average_gdp__ppp_ VARCHAR, €_per_capita__2005_ VARCHAR) [/INST]
### Response:
SELECT _percentage_of_eu_average_gdp__ppp_ FROM table_2293510_1 WHERE €_per_capita__2005_ = 2519 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the winner is Bernhard Eisel, what is the stage maximum?
### Context:
CREATE TABLE table_22941863_19 (stage INTEGER, winner VARCHAR) [/INST]
### Response:
SELECT MAX(stage) FROM table_22941863_19 WHERE winner = "Bernhard Eisel" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the mountain classification name if the winner is Bernhard Eisel?
### Context:
CREATE TABLE table_22941863_19 (mountains_classification VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT mountains_classification FROM table_22941863_19 WHERE winner = "Bernhard Eisel" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the stage is 3, what is the points classification name?
### Context:
CREATE TABLE table_22941863_19 (points_classification VARCHAR, stage VARCHAR) [/INST]
### Response:
SELECT points_classification FROM table_22941863_19 WHERE stage = 3 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the stage is 9, what is the team classification name?
### Context:
CREATE TABLE table_22941863_19 (team_classification VARCHAR, stage VARCHAR) [/INST]
### Response:
SELECT team_classification FROM table_22941863_19 WHERE stage = 9 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the winner is Michael Albasini, what is the mountains classification name?
### Context:
CREATE TABLE table_22941863_19 (mountains_classification VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT mountains_classification FROM table_22941863_19 WHERE winner = "Michael Albasini" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the winner when the sprints classification is no award?
### Context:
CREATE TABLE table_22941863_19 (winner VARCHAR, sprints_classification VARCHAR) [/INST]
### Response:
SELECT winner FROM table_22941863_19 WHERE sprints_classification = "no award" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many viewers (in millions) watched the episode written by deidre shaw?
### Context:
CREATE TABLE table_22951088_3 (us_viewers__in_millions_ VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT us_viewers__in_millions_ FROM table_22951088_3 WHERE written_by = "Deidre Shaw" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the original air date of episode number 1?
### Context:
CREATE TABLE table_22951088_3 (original_air_date VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_22951088_3 WHERE no = 1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the bowler when the batsmen was dwaraka ravi teja rp singh pragyan ojha?
### Context:
CREATE TABLE table_22962745_35 (bowler VARCHAR, batsmen VARCHAR) [/INST]
### Response:
SELECT bowler FROM table_22962745_35 WHERE batsmen = "Dwaraka Ravi Teja RP Singh Pragyan Ojha" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many bowlers were there when david hussey azhar mahmood gurkeerat singh was the batsmen?
### Context:
CREATE TABLE table_22962745_35 (bowler VARCHAR, batsmen VARCHAR) [/INST]
### Response:
SELECT COUNT(bowler) FROM table_22962745_35 WHERE batsmen = "David Hussey Azhar Mahmood Gurkeerat Singh" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What season was herschelle gibbs andrew symonds venugopal rao batsmen?
### Context:
CREATE TABLE table_22962745_35 (season VARCHAR, batsmen VARCHAR) [/INST]
### Response:
SELECT season FROM table_22962745_35 WHERE batsmen = "Herschelle Gibbs Andrew Symonds Venugopal Rao" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the scorecard when robin uthappa mark boucher jacques kallis was the batsmen?
### Context:
CREATE TABLE table_22962745_35 (scorecard VARCHAR, batsmen VARCHAR) [/INST]
### Response:
SELECT scorecard FROM table_22962745_35 WHERE batsmen = "Robin Uthappa Mark Boucher Jacques Kallis" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the number when against is rajasthan royals?
### Context:
CREATE TABLE table_22962745_35 (no INTEGER, against VARCHAR) [/INST]
### Response:
SELECT MAX(no) FROM table_22962745_35 WHERE against = "Rajasthan Royals" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name number of stellar classification for 3 neptune planets < 1 au
### Context:
CREATE TABLE table_2296507_1 (stellar_classification VARCHAR, system VARCHAR) [/INST]
### Response:
SELECT COUNT(stellar_classification) FROM table_2296507_1 WHERE system = "3 Neptune planets < 1 AU" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the system for aries
### Context:
CREATE TABLE table_2296507_1 (system VARCHAR, constellation VARCHAR) [/INST]
### Response:
SELECT system FROM table_2296507_1 WHERE constellation = "Aries" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the stellar age for f3v
### Context:
CREATE TABLE table_2296507_1 (stellar_age__myr_ VARCHAR, stellar_classification VARCHAR) [/INST]
### Response:
SELECT stellar_age__myr_ FROM table_2296507_1 WHERE stellar_classification = "F3V" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the dust for star being hd 69830
### Context:
CREATE TABLE table_2296507_1 (dust__or_debris__location__au_ VARCHAR, star VARCHAR) [/INST]
### Response:
SELECT dust__or_debris__location__au_ FROM table_2296507_1 WHERE star = "HD 69830" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number of names for exeter chiefs
### Context:
CREATE TABLE table_22977424_8 (name VARCHAR, promoted_from_league VARCHAR) [/INST]
### Response:
SELECT COUNT(name) FROM table_22977424_8 WHERE promoted_from_league = "Exeter Chiefs" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the name for henley manchester
### Context:
CREATE TABLE table_22977424_8 (name VARCHAR, promoted_to_league VARCHAR) [/INST]
### Response:
SELECT name FROM table_22977424_8 WHERE promoted_to_league = "Henley Manchester" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the name for doncaster newbury
### Context:
CREATE TABLE table_22977424_8 (name VARCHAR, promoted_to_league VARCHAR) [/INST]
### Response:
SELECT name FROM table_22977424_8 WHERE promoted_to_league = "Doncaster Newbury" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the season for rotherham titans
### Context:
CREATE TABLE table_22977424_8 (season VARCHAR, promoted_from_league VARCHAR) [/INST]
### Response:
SELECT season FROM table_22977424_8 WHERE promoted_from_league = "Rotherham Titans" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the name for plymouth albion orrell
### Context:
CREATE TABLE table_22977424_8 (name VARCHAR, promoted_to_league VARCHAR) [/INST]
### Response:
SELECT name FROM table_22977424_8 WHERE promoted_to_league = "Plymouth Albion Orrell" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the tail number of the airplane involved in the accident described as crashed?
### Context:
CREATE TABLE table_229917_2 (tail_number VARCHAR, brief_description VARCHAR) [/INST]
### Response:
SELECT tail_number FROM table_229917_2 WHERE brief_description = "Crashed" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many different brief descriptions are there for crashes with 0/161 fatalities?
### Context:
CREATE TABLE table_229917_2 (brief_description VARCHAR, fatalities VARCHAR) [/INST]
### Response:
SELECT COUNT(brief_description) FROM table_229917_2 WHERE fatalities = "0/161" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When did the airplane with tail number RA-85282 crash?
### Context:
CREATE TABLE table_229917_2 (date__ddmmyyyy_ VARCHAR, tail_number VARCHAR) [/INST]
### Response:
SELECT date__ddmmyyyy_ FROM table_229917_2 WHERE tail_number = "RA-85282" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many fatalities were there in the crash described as ditched 300 m short of runway?
### Context:
CREATE TABLE table_229917_2 (fatalities VARCHAR, brief_description VARCHAR) [/INST]
### Response:
SELECT fatalities FROM table_229917_2 WHERE brief_description = "Ditched 300 m short of runway" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many fatalities were there in the crash described as crashed at take-off due to engine failure?
### Context:
CREATE TABLE table_229917_2 (fatalities VARCHAR, brief_description VARCHAR) [/INST]
### Response:
SELECT fatalities FROM table_229917_2 WHERE brief_description = "Crashed at take-off due to engine failure" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What class year was Vencie Glenn from?
### Context:
CREATE TABLE table_22982552_9 (class_year INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MIN(class_year) FROM table_22982552_9 WHERE player = "Vencie Glenn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What position did the player whose highlights were 5 career INTs play?
### Context:
CREATE TABLE table_22982552_9 (position VARCHAR, highlight_s_ VARCHAR) [/INST]
### Response:
SELECT position FROM table_22982552_9 WHERE highlight_s_ = "5 career INTs" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What class year was the player whose highlights were 35 career INTs from?
### Context:
CREATE TABLE table_22982552_9 (class_year INTEGER, highlight_s_ VARCHAR) [/INST]
### Response:
SELECT MIN(class_year) FROM table_22982552_9 WHERE highlight_s_ = "35 career INTs" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What class year was the player who played for Buffalo from?
### Context:
CREATE TABLE table_22982552_9 (class_year INTEGER, teams VARCHAR) [/INST]
### Response:
SELECT MIN(class_year) FROM table_22982552_9 WHERE teams = "Buffalo" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the gore number for others # 6.6%
### Context:
CREATE TABLE table_23014476_1 (gore__number INTEGER, others__number VARCHAR) [/INST]
### Response:
SELECT MIN(gore__number) FROM table_23014476_1 WHERE others__number = "6.6%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the others % for bush number 1372
### Context:
CREATE TABLE table_23014476_1 (others__percentage VARCHAR, bush__number VARCHAR) [/INST]
### Response:
SELECT others__percentage FROM table_23014476_1 WHERE bush__number = 1372 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the gore number for others % being 5.3%
### Context:
CREATE TABLE table_23014476_1 (gore__number VARCHAR, others__percentage VARCHAR) [/INST]
### Response:
SELECT gore__number FROM table_23014476_1 WHERE others__percentage = "5.3%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the couty for others% 5.8
### Context:
CREATE TABLE table_23014476_1 (county VARCHAR, others__percentage VARCHAR) [/INST]
### Response:
SELECT county FROM table_23014476_1 WHERE others__percentage = "5.8" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number of bush % for elko
### Context:
CREATE TABLE table_23014476_1 (bush__percentage VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT COUNT(bush__percentage) FROM table_23014476_1 WHERE county = "Elko" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the series is ADAC GT Masters and poles is 1, what is the name of the team?
### Context:
CREATE TABLE table_22998777_1 (team VARCHAR, poles VARCHAR, series VARCHAR) [/INST]
### Response:
SELECT team FROM table_22998777_1 WHERE poles = 1 AND series = "ADAC GT Masters" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the position of 26th what is the season total number?
### Context:
CREATE TABLE table_22998777_1 (season VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT COUNT(season) FROM table_22998777_1 WHERE position = "26th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the points is 41, what is the season?
### Context:
CREATE TABLE table_22998777_1 (season VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT season FROM table_22998777_1 WHERE points = "41" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the primary (South) winners is Inter The Bloomfield, what is the season total number?
### Context:
CREATE TABLE table_23014923_1 (season VARCHAR, primary__south__winners VARCHAR) [/INST]
### Response:
SELECT COUNT(season) FROM table_23014923_1 WHERE primary__south__winners = "Inter The Bloomfield" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the season total number if the primary (South) winners is Ridings High 'A'?
### Context:
CREATE TABLE table_23014923_1 (season VARCHAR, primary__south__winners VARCHAR) [/INST]
### Response:
SELECT COUNT(season) FROM table_23014923_1 WHERE primary__south__winners = "Ridings High 'A'" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the year of the season if the intermediate (South) winners is Southmead Athletic?
### Context:
CREATE TABLE table_23014923_1 (season VARCHAR, intermediate__south__winners VARCHAR) [/INST]
### Response:
SELECT season FROM table_23014923_1 WHERE intermediate__south__winners = "Southmead Athletic" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the season date if the minor (South) winners is Bristol Sanctuary XI?
### Context:
CREATE TABLE table_23014923_1 (season VARCHAR, minor__south__winners VARCHAR) [/INST]
### Response:
SELECT season FROM table_23014923_1 WHERE minor__south__winners = "Bristol Sanctuary XI" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What isthe minor (South) winners total number is the primary (South) winners is Mendip Gate?
### Context:
CREATE TABLE table_23014923_1 (minor__south__winners VARCHAR, primary__south__winners VARCHAR) [/INST]
### Response:
SELECT COUNT(minor__south__winners) FROM table_23014923_1 WHERE primary__south__winners = "Mendip Gate" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What area was damaged when King Khalid Military City was targeted?
### Context:
CREATE TABLE table_23014685_1 (area_damaged VARCHAR, target VARCHAR) [/INST]
### Response:
SELECT area_damaged FROM table_23014685_1 WHERE target = "King Khalid Military City" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the place and date that the Apartments area was damaged?
### Context:
CREATE TABLE table_23014685_1 (place_ VARCHAR, _date VARCHAR, area_damaged VARCHAR) [/INST]
### Response:
SELECT place_ & _date FROM table_23014685_1 WHERE area_damaged = "Apartments area" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Was the missile intercepted by patriot when the parking lot was damaged?
### Context:
CREATE TABLE table_23014685_1 (intercepted_by_patriot VARCHAR, area_damaged VARCHAR) [/INST]
### Response:
SELECT intercepted_by_patriot FROM table_23014685_1 WHERE area_damaged = "Parking lot" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What number missile led to damage to the Islamic University campus?
### Context:
CREATE TABLE table_23014685_1 (no INTEGER, area_damaged VARCHAR) [/INST]
### Response:
SELECT MIN(no) FROM table_23014685_1 WHERE area_damaged = "Islamic University campus" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number of year for mark martin
### Context:
CREATE TABLE table_23015396_1 (year VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_23015396_1 WHERE driver = "Mark Martin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number of year for june 30
### Context:
CREATE TABLE table_23015396_1 (year VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_23015396_1 WHERE date = "June 30" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the model number for part numbers of cm80616003177acbx80616i5660?
### Context:
CREATE TABLE table_23028629_2 (model_number VARCHAR, part_number_s_ VARCHAR) [/INST]
### Response:
SELECT model_number FROM table_23028629_2 WHERE part_number_s_ = "CM80616003177ACBX80616I5660" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every release price(USD) for model number core i5-650?
### Context:
CREATE TABLE table_23028629_2 (release_price___usd__ VARCHAR, model_number VARCHAR) [/INST]
### Response:
SELECT release_price___usd__ FROM table_23028629_2 WHERE model_number = "Core i5-650" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many frequencies have a model number of core i5-655k?
### Context:
CREATE TABLE table_23028629_2 (frequency VARCHAR, model_number VARCHAR) [/INST]
### Response:
SELECT COUNT(frequency) FROM table_23028629_2 WHERE model_number = "Core i5-655K" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.