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:
Where is the team that is managed by richard barnwell from?
### Context:
CREATE TABLE table_27409644_1 (location VARCHAR, manager VARCHAR) [/INST]
### Response:
SELECT location FROM table_27409644_1 WHERE manager = "Richard Barnwell" </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 home location for team flora tallinn?
### Context:
CREATE TABLE table_27409644_1 (ground VARCHAR, club VARCHAR) [/INST]
### Response:
SELECT ground FROM table_27409644_1 WHERE club = "Flora Tallinn" </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 watched the episode written by shana goldberg-meehan & greg malins?
### Context:
CREATE TABLE table_27403436_1 (us_viewers__million_ VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT us_viewers__million_ FROM table_27403436_1 WHERE written_by = "Shana Goldberg-Meehan & Greg Malins" </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 number lists the production code as 2j5809
### Context:
CREATE TABLE table_27403436_1 (no VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT no FROM table_27403436_1 WHERE production_code = "2J5809" </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 was Bob Lilly?
### Context:
CREATE TABLE table_274117_5 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_274117_5 WHERE player = "Bob Lilly" </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 are seasons by team for Pro Bowl appearances of the player who was an OL and had 11 appearances?
### Context:
CREATE TABLE table_274117_5 (seasons_by_team VARCHAR, position VARCHAR, number VARCHAR) [/INST]
### Response:
SELECT seasons_by_team FROM table_274117_5 WHERE position = "OL" AND number = 11 </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 was the player who was inducted into the Pro Football Hall of Fame in 1980?
### Context:
CREATE TABLE table_274117_5 (position VARCHAR, year_of_induction_into_pro_football_hall_of_fame VARCHAR) [/INST]
### Response:
SELECT position FROM table_274117_5 WHERE year_of_induction_into_pro_football_hall_of_fame = "1980" </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 Will Shields inducted into the Pro Football Hall of Fame?
### Context:
CREATE TABLE table_274117_5 (year_of_induction_into_pro_football_hall_of_fame VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT year_of_induction_into_pro_football_hall_of_fame FROM table_274117_5 WHERE player = "Will Shields" </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 fewest amount of Pro Bowl appearances any of the players had?
### Context:
CREATE TABLE table_274117_5 (number INTEGER) [/INST]
### Response:
SELECT MIN(number) FROM table_274117_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:
How many live births per year do people with a life expectancy of 65.1 have?
### Context:
CREATE TABLE table_27434_2 (live_births_per_year VARCHAR, life_expectancy_total VARCHAR) [/INST]
### Response:
SELECT live_births_per_year FROM table_27434_2 WHERE life_expectancy_total = "65.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:
What period was the life expectancy at 62.4?
### Context:
CREATE TABLE table_27434_2 (period VARCHAR, life_expectancy_total VARCHAR) [/INST]
### Response:
SELECT period FROM table_27434_2 WHERE life_expectancy_total = "62.4" </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 what year is australia/oceania listed?
### Context:
CREATE TABLE table_27435931_1 (year VARCHAR, continent VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_27435931_1 WHERE continent = "Australia/Oceania" </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 elevation in september 2009?
### Context:
CREATE TABLE table_27435931_1 (elevation_m VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT elevation_m FROM table_27435931_1 WHERE year = "September 2009" </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 continent in which the country russia is listed?
### Context:
CREATE TABLE table_27435931_1 (continent VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT continent FROM table_27435931_1 WHERE country = "Russia" </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 lowest elevation in april 2006?
### Context:
CREATE TABLE table_27435931_1 (elevation_ft INTEGER, year VARCHAR) [/INST]
### Response:
SELECT MIN(elevation_ft) FROM table_27435931_1 WHERE year = "April 2006" </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 elevation of tanzania?
### Context:
CREATE TABLE table_27435931_1 (elevation_ft VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT COUNT(elevation_ft) FROM table_27435931_1 WHERE country = "Tanzania" </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 elevation of south america?
### Context:
CREATE TABLE table_27435931_1 (elevation_ft VARCHAR, continent VARCHAR) [/INST]
### Response:
SELECT elevation_ft FROM table_27435931_1 WHERE continent = "South America" </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 season above 241.0 that was handled by brad tanenbaum.
### Context:
CREATE TABLE table_27437601_2 (no_in_season VARCHAR, directed_by VARCHAR, no_in_series VARCHAR) [/INST]
### Response:
SELECT no_in_season FROM table_27437601_2 WHERE directed_by = "Brad Tanenbaum" AND no_in_series > 241.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:
List the 1st air date for season 12.
### Context:
CREATE TABLE table_27437601_2 (original_air_date VARCHAR, no_in_season VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_27437601_2 WHERE no_in_season = 12 </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 series number for season 12.
### Context:
CREATE TABLE table_27437601_2 (no_in_series VARCHAR, no_in_season VARCHAR) [/INST]
### Response:
SELECT COUNT(no_in_series) FROM table_27437601_2 WHERE no_in_season = 12 </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 years was the country Belgium?
### Context:
CREATE TABLE table_27441210_13 (year VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_27441210_13 WHERE country = "Belgium" </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-one single is performed by artist Pep's?
### Context:
CREATE TABLE table_27441210_17 (number_one_single_s_ VARCHAR, artist VARCHAR) [/INST]
### Response:
SELECT number_one_single_s_ FROM table_27441210_17 WHERE artist = "Pep's" </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 were the auditions held in the episode that aired on january 27, 2011?
### Context:
CREATE TABLE table_27455867_1 (audition_city VARCHAR, episode_air_date VARCHAR) [/INST]
### Response:
SELECT audition_city FROM table_27455867_1 WHERE episode_air_date = "January 27, 2011" </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 different audition cities were the Bridgestone arena auditions held?
### Context:
CREATE TABLE table_27455867_1 (audition_city VARCHAR, audition_venue VARCHAR) [/INST]
### Response:
SELECT COUNT(audition_city) FROM table_27455867_1 WHERE audition_venue = "Bridgestone Arena" </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 callback audition date for the audition city from the episode aired on February 2, 2011?
### Context:
CREATE TABLE table_27455867_1 (callback_audition_date VARCHAR, episode_air_date VARCHAR) [/INST]
### Response:
SELECT callback_audition_date FROM table_27455867_1 WHERE episode_air_date = "February 2, 2011" </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 were the callback auditions at Hilton Riverside Hotel held?
### Context:
CREATE TABLE table_27455867_1 (callback_audition_date VARCHAR, callback_venue VARCHAR) [/INST]
### Response:
SELECT callback_audition_date FROM table_27455867_1 WHERE callback_venue = "Hilton Riverside Hotel" </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 callback venue for the audition city in the episode aired on January 20, 2011?
### Context:
CREATE TABLE table_27455867_1 (callback_venue VARCHAR, episode_air_date VARCHAR) [/INST]
### Response:
SELECT callback_venue FROM table_27455867_1 WHERE episode_air_date = "January 20, 2011" </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 were the callback auditions for the audition city in the episode aired on February 9, 2011?
### Context:
CREATE TABLE table_27455867_1 (callback_audition_date VARCHAR, episode_air_date VARCHAR) [/INST]
### Response:
SELECT callback_audition_date FROM table_27455867_1 WHERE episode_air_date = "February 9, 2011" </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 episodes did Eve Weston write?
### Context:
CREATE TABLE table_27462177_1 (no_in_series VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT COUNT(no_in_series) FROM table_27462177_1 WHERE written_by = "Eve Weston" </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 millions of US viewers watched the episode written by Jack Sanderson?
### Context:
CREATE TABLE table_27462177_1 (us_viewers__millions_ VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT us_viewers__millions_ FROM table_27462177_1 WHERE written_by = "Jack Sanderson" </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 who wrote the production code 322
### Context:
CREATE TABLE table_27462209_1 (written_by VARCHAR, prod_code VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_27462209_1 WHERE prod_code = 322 </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 television network with the television channel of Astro Pelangi & Astro Bintang?
### Context:
CREATE TABLE table_27469019_2 (television_network VARCHAR, television_channel VARCHAR) [/INST]
### Response:
SELECT television_network FROM table_27469019_2 WHERE television_channel = "Astro Pelangi & Astro Bintang" </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 status of the series that was run by tv channel Mediacorp tv12 Suria?
### Context:
CREATE TABLE table_27469019_2 (status VARCHAR, television_channel VARCHAR) [/INST]
### Response:
SELECT status FROM table_27469019_2 WHERE television_channel = "MediaCorp TV12 Suria" </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 world rank by QS in 2013 for the University of Otago?
### Context:
CREATE TABLE table_27484208_1 (world_rank_by_qs_ VARCHAR, _2013 VARCHAR, members VARCHAR) [/INST]
### Response:
SELECT world_rank_by_qs_, _2013 FROM table_27484208_1 WHERE members = "University of Otago" </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 world rank by ARWU in 2013 of the University of Tübingen?
### Context:
CREATE TABLE table_27484208_1 (world_rank_by_arwu_ VARCHAR, _2013 VARCHAR, members VARCHAR) [/INST]
### Response:
SELECT world_rank_by_arwu_, _2013 FROM table_27484208_1 WHERE members = "University of Tübingen" </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 episodes have 18.73 million viewers?
### Context:
CREATE TABLE table_27481781_2 (no_in_series VARCHAR, viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT COUNT(no_in_series) FROM table_27481781_2 WHERE viewers__millions_ = "18.73" </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 result of the election for georgia's 3rd district?
### Context:
CREATE TABLE table_27487712_1 (result VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT result FROM table_27487712_1 WHERE district = "Georgia's 3rd" </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 incumbent from georgia's 8th district?
### Context:
CREATE TABLE table_27487712_1 (incumbent VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT incumbent FROM table_27487712_1 WHERE district = "Georgia's 8th" </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 result of the election with incumbent bob barr?
### Context:
CREATE TABLE table_27487712_1 (result VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT result FROM table_27487712_1 WHERE incumbent = "Bob Barr" </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 result of the election with incumbent john lewis?
### Context:
CREATE TABLE table_27487712_1 (result VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT result FROM table_27487712_1 WHERE incumbent = "John Lewis" </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 incumbent for the election in 1978?
### Context:
CREATE TABLE table_27487712_1 (incumbent VARCHAR, elected VARCHAR) [/INST]
### Response:
SELECT incumbent FROM table_27487712_1 WHERE elected = 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:
Who are the judges in the Netherlands for the season airing 28 November 2011 – 24 December 2011?
### Context:
CREATE TABLE table_27487310_5 (judges VARCHAR, country VARCHAR, air_dates VARCHAR) [/INST]
### Response:
SELECT judges FROM table_27487310_5 WHERE country = "Netherlands" AND air_dates = "28 November 2011 – 24 December 2011" </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 version aired on SBS 6 called?
### Context:
CREATE TABLE table_27487310_5 (name VARCHAR, network VARCHAR) [/INST]
### Response:
SELECT name FROM table_27487310_5 WHERE network = "SBS 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:
What are the air dates of the show in ABS-CBN?
### Context:
CREATE TABLE table_27487310_5 (air_dates VARCHAR, network VARCHAR) [/INST]
### Response:
SELECT air_dates FROM table_27487310_5 WHERE network = "ABS-CBN" </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 the host on the series aired on 18 January 2012?
### Context:
CREATE TABLE table_27487310_5 (host_s_ VARCHAR, air_dates VARCHAR) [/INST]
### Response:
SELECT host_s_ FROM table_27487310_5 WHERE air_dates = "18 January 2012" </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 series with the unknown host?
### Context:
CREATE TABLE table_27487310_5 (name VARCHAR, host_s_ VARCHAR) [/INST]
### Response:
SELECT name FROM table_27487310_5 WHERE host_s_ = "unknown" </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 value for points per game if passing yards per game is 179.6?
### Context:
CREATE TABLE table_27487336_1 (points_per_game VARCHAR, passing_yards_per_game VARCHAR) [/INST]
### Response:
SELECT points_per_game FROM table_27487336_1 WHERE passing_yards_per_game = "179.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:
What is every value for sacks if interceptions is 19?
### Context:
CREATE TABLE table_27487336_1 (sacks VARCHAR, interceptions VARCHAR) [/INST]
### Response:
SELECT sacks FROM table_27487336_1 WHERE interceptions = "19" </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 value for passing yards per game if rushing yards per game is 113.6?
### Context:
CREATE TABLE table_27487336_1 (passing_yards_per_game VARCHAR, rushing_yards_per_game VARCHAR) [/INST]
### Response:
SELECT passing_yards_per_game FROM table_27487336_1 WHERE rushing_yards_per_game = "113.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:
What is every value for rushing yards per game if sacks if 25?
### Context:
CREATE TABLE table_27487336_1 (rushing_yards_per_game VARCHAR, sacks VARCHAR) [/INST]
### Response:
SELECT rushing_yards_per_game FROM table_27487336_1 WHERE sacks = "25" </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 value for rushing yards per game if the season is 1984?
### Context:
CREATE TABLE table_27487336_1 (rushing_yards_per_game VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT rushing_yards_per_game FROM table_27487336_1 WHERE season = "1984" </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 seasons have a sacks of 39?
### Context:
CREATE TABLE table_27487336_1 (season VARCHAR, sacks VARCHAR) [/INST]
### Response:
SELECT COUNT(season) FROM table_27487336_1 WHERE sacks = "39" </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 average for rank of 3
### Context:
CREATE TABLE table_27496841_3 (average VARCHAR, rank_by_average VARCHAR) [/INST]
### Response:
SELECT average FROM table_27496841_3 WHERE rank_by_average = 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 total points for 2
### Context:
CREATE TABLE table_27496841_3 (total_points VARCHAR, place VARCHAR) [/INST]
### Response:
SELECT total_points FROM table_27496841_3 WHERE place = 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 is the decision when the opponents are atlanta thrashers?
### Context:
CREATE TABLE table_27501030_7 (decision VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT decision FROM table_27501030_7 WHERE opponent = "Atlanta Thrashers" </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 game entries are there when the points are 57?
### Context:
CREATE TABLE table_27501030_7 (game VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(game) FROM table_27501030_7 WHERE points = 57 </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 smallest año?
### Context:
CREATE TABLE table_27501971_2 (año INTEGER) [/INST]
### Response:
SELECT MIN(año) FROM table_27501971_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:
How many premio are there when "Artist of the Year" was the categoria?
### Context:
CREATE TABLE table_27501971_2 (premio VARCHAR, categoría VARCHAR) [/INST]
### Response:
SELECT COUNT(premio) FROM table_27501971_2 WHERE categoría = "Artist of the Year" </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 resultado when E.E.U.U was the country?
### Context:
CREATE TABLE table_27501971_2 (resultado VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT resultado FROM table_27501971_2 WHERE country = "E.E.U.U" </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 categoria when E.E.U.U was the country?
### Context:
CREATE TABLE table_27501971_2 (categoría VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT categoría FROM table_27501971_2 WHERE country = "E.E.U.U" </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 the año was 2012, who was the county?
### Context:
CREATE TABLE table_27501971_2 (country VARCHAR, año VARCHAR) [/INST]
### Response:
SELECT country FROM table_27501971_2 WHERE año = 2012 </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 who wrote the episode by lawrence trilling
### Context:
CREATE TABLE table_27504682_1 (written_by VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_27504682_1 WHERE directed_by = "Lawrence Trilling" </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 air date for alex taub
### Context:
CREATE TABLE table_27504682_1 (original_air_date VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_27504682_1 WHERE written_by = "Alex Taub" </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 games were numbered 69?
### Context:
CREATE TABLE table_27501030_8 (opponent VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT COUNT(opponent) FROM table_27501030_8 WHERE game = 69 </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 times did they play the pittsburgh penguins?
### Context:
CREATE TABLE table_27501030_8 (march VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT COUNT(march) FROM table_27501030_8 WHERE opponent = "Pittsburgh Penguins" </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 earliest quarterfinal week when the genre is dancing and the act is 32?
### Context:
CREATE TABLE table_27529608_21 (qtr_final__week_ INTEGER, genre VARCHAR, age_s_ VARCHAR) [/INST]
### Response:
SELECT MIN(qtr_final__week_) FROM table_27529608_21 WHERE genre = "Dancing" AND age_s_ = "32" </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 quarterfinal week for Austin Anderson?
### Context:
CREATE TABLE table_27529608_21 (qtr_final__week_ INTEGER, name_name_of_act VARCHAR) [/INST]
### Response:
SELECT MIN(qtr_final__week_) FROM table_27529608_21 WHERE name_name_of_act = "Austin Anderson" </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 genre for the group with ages 29-30?
### Context:
CREATE TABLE table_27529608_21 (genre VARCHAR, age_s_ VARCHAR) [/INST]
### Response:
SELECT genre FROM table_27529608_21 WHERE age_s_ = "29-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 age of the act who is a rapper?
### Context:
CREATE TABLE table_27529608_21 (age_s_ VARCHAR, act VARCHAR) [/INST]
### Response:
SELECT age_s_ FROM table_27529608_21 WHERE act = "Rapper" </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 hometown of Plutonic?
### Context:
CREATE TABLE table_27529608_21 (hometown VARCHAR, name_name_of_act VARCHAR) [/INST]
### Response:
SELECT hometown FROM table_27529608_21 WHERE name_name_of_act = "PLUtonic" </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 semi-final weeks are there for acts from Pittsburgh, Pennsylvania?
### Context:
CREATE TABLE table_27529608_21 (semi_final__week_ VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT COUNT(semi_final__week_) FROM table_27529608_21 WHERE hometown = "Pittsburgh, Pennsylvania" </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 margin of victory for the event in lake forest, illinois?
### Context:
CREATE TABLE table_275162_1 (margin_of_victory VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT margin_of_victory FROM table_275162_1 WHERE location = "Lake Forest, Illinois" </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 zach johnson's score to par?
### Context:
CREATE TABLE table_275162_1 (to_par VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_275162_1 WHERE player = "Zach Johnson" </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 winning score at bellerive country club?
### Context:
CREATE TABLE table_275162_1 (score VARCHAR, course VARCHAR) [/INST]
### Response:
SELECT score FROM table_275162_1 WHERE course = "Bellerive 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 courses are located in carmel, indiana?
### Context:
CREATE TABLE table_275162_1 (course VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT COUNT(course) FROM table_275162_1 WHERE location = "Carmel, Indiana" </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 status figures does James Finch have?
### Context:
CREATE TABLE table_27514362_7 (status VARCHAR, entrant VARCHAR) [/INST]
### Response:
SELECT COUNT(status) FROM table_27514362_7 WHERE entrant = "James Finch" </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 car make for Sterling Marlin?
### Context:
CREATE TABLE table_27514362_7 (car_make VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT car_make FROM table_27514362_7 WHERE driver = "Sterling Marlin" </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 finish position for cars by Pontiac driven by Bobby Hamilton?
### Context:
CREATE TABLE table_27514362_7 (pos VARCHAR, car_make VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT pos FROM table_27514362_7 WHERE car_make = "Pontiac" AND driver = "Bobby Hamilton" </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 are the participants that wear clothing in 33-23-36
### Context:
CREATE TABLE table_27515452_3 (contestant VARCHAR, sizes VARCHAR) [/INST]
### Response:
SELECT contestant FROM table_27515452_3 WHERE sizes = "33-23-36" </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 oldest and lives in veraguas
### Context:
CREATE TABLE table_27515452_3 (age INTEGER, hometown VARCHAR) [/INST]
### Response:
SELECT MAX(age) FROM table_27515452_3 WHERE hometown = "Veraguas" </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 participant marelissa him from
### Context:
CREATE TABLE table_27515452_3 (hometown VARCHAR, contestant VARCHAR) [/INST]
### Response:
SELECT hometown FROM table_27515452_3 WHERE contestant = "Marelissa Him" </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 company has a person that can wear clothing in 33-23-36
### Context:
CREATE TABLE table_27515452_3 (agency VARCHAR, sizes VARCHAR) [/INST]
### Response:
SELECT agency FROM table_27515452_3 WHERE sizes = "33-23-36" </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 tall is someone who is able to wear 33-24-35
### Context:
CREATE TABLE table_27515452_3 (height VARCHAR, sizes VARCHAR) [/INST]
### Response:
SELECT height FROM table_27515452_3 WHERE sizes = "33-24-35" </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 best winning average is 7.3-71, what are the total points?
### Context:
CREATE TABLE table_27533947_1 (total_points INTEGER, best_winning_average VARCHAR) [/INST]
### Response:
SELECT MIN(total_points) FROM table_27533947_1 WHERE best_winning_average = "7.3-71" </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 best run was 138, what is the amount of games lost?
### Context:
CREATE TABLE table_27533947_1 (games_lost VARCHAR, best_run VARCHAR) [/INST]
### Response:
SELECT games_lost FROM table_27533947_1 WHERE best_run = 138 </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 games won are 5, what is the best winning average?
### Context:
CREATE TABLE table_27533947_1 (best_winning_average VARCHAR, games_won VARCHAR) [/INST]
### Response:
SELECT best_winning_average FROM table_27533947_1 WHERE games_won = 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:
If the player is William Jakes, what are the total points?
### Context:
CREATE TABLE table_27533947_1 (total_points INTEGER, players VARCHAR) [/INST]
### Response:
SELECT MIN(total_points) FROM table_27533947_1 WHERE players = "William Jakes" </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 grand average is 12.76-202, who is the player?
### Context:
CREATE TABLE table_27533947_1 (players VARCHAR, grand_average VARCHAR) [/INST]
### Response:
SELECT players FROM table_27533947_1 WHERE grand_average = "12.76-202" </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 players had a best winning average of 20?
### Context:
CREATE TABLE table_27533947_1 (games_won VARCHAR, best_winning_average VARCHAR) [/INST]
### Response:
SELECT COUNT(games_won) FROM table_27533947_1 WHERE best_winning_average = "20" </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 October 22 record?
### Context:
CREATE TABLE table_27537518_4 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_27537518_4 WHERE date = "October 22" </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 6-4 score's maximum attendance?
### Context:
CREATE TABLE table_27537518_4 (attendance INTEGER, score VARCHAR) [/INST]
### Response:
SELECT MAX(attendance) FROM table_27537518_4 WHERE score = "6-4" </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 for game #1?
### Context:
CREATE TABLE table_27537518_4 (score VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT score FROM table_27537518_4 WHERE game = 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:
What was the record for the October 16 game?
### Context:
CREATE TABLE table_27537518_4 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_27537518_4 WHERE date = "October 16" </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 record in the game whose first star was J. Oduya?
### Context:
CREATE TABLE table_27537518_6 (record VARCHAR, first_star VARCHAR) [/INST]
### Response:
SELECT record FROM table_27537518_6 WHERE first_star = "J. Oduya" </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 of the game whose first star was O. Pavelec?
### Context:
CREATE TABLE table_27537518_6 (score VARCHAR, first_star VARCHAR) [/INST]
### Response:
SELECT score FROM table_27537518_6 WHERE first_star = "O. Pavelec" </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 made the decision in the game played on December 26?
### Context:
CREATE TABLE table_27537518_6 (decision VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT decision FROM table_27537518_6 WHERE date = "December 26" </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 was the game seen by 10056 people played?
### Context:
CREATE TABLE table_27537518_6 (location VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT location FROM table_27537518_6 WHERE attendance = 10056 </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 first star of the game with record of 17-11-5?
### Context:
CREATE TABLE table_27537518_6 (first_star VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT first_star FROM table_27537518_6 WHERE record = "17-11-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:
Who made the decisions in the game whose first star was V. Lecavalier?
### Context:
CREATE TABLE table_27537518_6 (decision VARCHAR, first_star VARCHAR) [/INST]
### Response:
SELECT decision FROM table_27537518_6 WHERE first_star = "V. Lecavalier" </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 final score the game where the Thrashers over-all record went to 22-16-6?
### Context:
CREATE TABLE table_27537518_7 (score VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT score FROM table_27537518_7 WHERE record = "22-16-6" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.