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:
What is the title of the episode directed by Rodney Clouden?
### Context:
CREATE TABLE table_23242958_1 (title VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT title FROM table_23242958_1 WHERE directed_by = "Rodney Clouden" </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 U.S. viewers watched the episode with the production code of 3AJN01?
### Context:
CREATE TABLE table_23242958_1 (us_viewers__millions_ VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT us_viewers__millions_ FROM table_23242958_1 WHERE production_code = "3AJN01" </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 directed the episode that had 6.76 million U.S. viewers?
### Context:
CREATE TABLE table_23242968_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_23242968_1 WHERE us_viewers__millions_ = "6.76" </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 episode number of the season was also number 75 in the series?
### Context:
CREATE TABLE table_23242968_1 (no_in_season INTEGER, no_in_series VARCHAR) [/INST]
### Response:
SELECT MAX(no_in_season) FROM table_23242968_1 WHERE no_in_series = 75 </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 wrote the episode that had a production code of 3ajn20?
### Context:
CREATE TABLE table_23242968_1 (written_by VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_23242968_1 WHERE production_code = "3AJN20" </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 directed the episode that was written by Jonathan Fener?
### Context:
CREATE TABLE table_23242968_1 (directed_by VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_23242968_1 WHERE written_by = "Jonathan Fener" </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 name of the episode with a production code of 3ajn20?
### Context:
CREATE TABLE table_23242968_1 (title VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT title FROM table_23242968_1 WHERE production_code = "3AJN20" </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 wrote the episode with production code 1AJN05?
### Context:
CREATE TABLE table_23242933_2 (written_by VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_23242933_2 WHERE production_code = "1AJN05" </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 series numbers are there for the episode seen by 7.84 million people in the US?
### Context:
CREATE TABLE table_23242933_2 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT COUNT(no_in_series) FROM table_23242933_2 WHERE us_viewers__millions_ = "7.84" </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 series number of the episode written by Dan Vebber?
### Context:
CREATE TABLE table_23242933_2 (no_in_series INTEGER, written_by VARCHAR) [/INST]
### Response:
SELECT MAX(no_in_series) FROM table_23242933_2 WHERE written_by = "Dan Vebber" </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 titles are there of episodes that have been seen by 7.84 million people in the US/
### Context:
CREATE TABLE table_23242933_2 (title VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT COUNT(title) FROM table_23242933_2 WHERE us_viewers__millions_ = "7.84" </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 6.09 million people in the US see the original airing of an episode of the show?
### Context:
CREATE TABLE table_23242933_2 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_23242933_2 WHERE us_viewers__millions_ = "6.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:
What's the season number of the episode originally seen by 6.64 million people in the US?
### Context:
CREATE TABLE table_23242950_1 (no_in_season INTEGER, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT MIN(no_in_season) FROM table_23242950_1 WHERE us_viewers__millions_ = "6.64" </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 production code of the episode seen by 7.49 million people in the US?
### Context:
CREATE TABLE table_23242950_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT production_code FROM table_23242950_1 WHERE us_viewers__millions_ = "7.49" </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 opponent got 44 points in their game?
### Context:
CREATE TABLE table_23243769_4 (opponent VARCHAR, opp_points VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_23243769_4 WHERE opp_points = 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:
Where was the game with a 4-1 record played?
### Context:
CREATE TABLE table_23243769_4 (location VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT location FROM table_23243769_4 WHERE record = "4-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 did the high rebounds in the game where Larry Hughes (21) did the high ponts?
### Context:
CREATE TABLE table_23248869_6 (high_rebounds VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_23248869_6 WHERE high_points = "Larry Hughes (21)" </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 people did different scores of high assists during the December 11 game?
### Context:
CREATE TABLE table_23248869_6 (high_assists VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(high_assists) FROM table_23248869_6 WHERE date = "December 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:
Who did the high assists in the game against Portland?
### Context:
CREATE TABLE table_23248869_6 (high_assists VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_23248869_6 WHERE team = "Portland" </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 score for location attendance of Madison Square Garden 19,763 and game less than 80.0?
### Context:
CREATE TABLE table_23248869_10 (score VARCHAR, location_attendance VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT score FROM table_23248869_10 WHERE location_attendance = "Madison Square Garden 19,763" AND game < 80.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:
What is every record for the team Boston?
### Context:
CREATE TABLE table_23248869_10 (record VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT record FROM table_23248869_10 WHERE team = "Boston" </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 values for high assists when the game is 81?
### Context:
CREATE TABLE table_23248869_10 (high_assists VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT COUNT(high_assists) FROM table_23248869_10 WHERE game = 81 </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 was the high points david lee (30)
### Context:
CREATE TABLE table_23248869_8 (date VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT COUNT(date) FROM table_23248869_8 WHERE high_points = "David Lee (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:
Who had the high assists when the score was l 85–118 (ot)
### Context:
CREATE TABLE table_23248869_8 (high_assists VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_23248869_8 WHERE score = "L 85–118 (OT)" </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 when the high rebounds was david lee (8)
### Context:
CREATE TABLE table_23248869_8 (record VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT record FROM table_23248869_8 WHERE high_rebounds = "David Lee (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:
How many times was the record 19–34
### Context:
CREATE TABLE table_23248869_8 (score VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT COUNT(score) FROM table_23248869_8 WHERE record = "19–34" </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 when the record was 19–35
### Context:
CREATE TABLE table_23248869_8 (score VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT score FROM table_23248869_8 WHERE record = "19–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:
What was the game when high points was david lee (30)
### Context:
CREATE TABLE table_23248869_8 (game INTEGER, high_points VARCHAR) [/INST]
### Response:
SELECT MIN(game) FROM table_23248869_8 WHERE high_points = "David Lee (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:
If the population density is 7,447.32, what is the population total number?
### Context:
CREATE TABLE table_232458_1 (population__2010_census_ VARCHAR, pop_density__per_km²_ VARCHAR) [/INST]
### Response:
SELECT COUNT(population__2010_census_) FROM table_232458_1 WHERE pop_density__per_km²_ = "7,447.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:
If the number of barangays is 19, what is the population density?
### Context:
CREATE TABLE table_232458_1 (pop_density__per_km²_ VARCHAR, no_of_barangays VARCHAR) [/INST]
### Response:
SELECT pop_density__per_km²_ FROM table_232458_1 WHERE no_of_barangays = 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:
If the area is 66.34, what is the minimum (2010 census) population?
### Context:
CREATE TABLE table_232458_1 (population__2010_census_ INTEGER, area__km²_ VARCHAR) [/INST]
### Response:
SELECT MIN(population__2010_census_) FROM table_232458_1 WHERE area__km²_ = "66.34" </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 city/municipality if the population is 1,388.88?
### Context:
CREATE TABLE table_232458_1 (city___municipality VARCHAR, pop_density__per_km²_ VARCHAR) [/INST]
### Response:
SELECT city___municipality FROM table_232458_1 WHERE pop_density__per_km²_ = "1,388.88" </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 birkenhead is the city/town and merseyside is the county and england is the country how many ranks are there?
### Context:
CREATE TABLE table_23248420_1 (rank VARCHAR, city_town VARCHAR, country VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT COUNT(rank) FROM table_23248420_1 WHERE country = "England" AND county = "Merseyside" AND city_town = "Birkenhead" </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 2 is the rank what is the city/town?
### Context:
CREATE TABLE table_23248420_1 (city_town VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT city_town FROM table_23248420_1 WHERE rank = 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:
When 20 is the rank and north west is the region/province what is the county?
### Context:
CREATE TABLE table_23248420_1 (county VARCHAR, region_province VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT county FROM table_23248420_1 WHERE region_province = "North West" AND rank = 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:
When fleetwood is the city/town how many sets of population are there?
### Context:
CREATE TABLE table_23248420_1 (population VARCHAR, city_town VARCHAR) [/INST]
### Response:
SELECT COUNT(population) FROM table_23248420_1 WHERE city_town = "Fleetwood" </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 142900 is the population what is the highest rank?
### Context:
CREATE TABLE table_23248420_1 (rank INTEGER, population VARCHAR) [/INST]
### Response:
SELECT MAX(rank) FROM table_23248420_1 WHERE population = 142900 </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 31901 is the population what is the county?
### Context:
CREATE TABLE table_23248420_1 (county VARCHAR, population VARCHAR) [/INST]
### Response:
SELECT county FROM table_23248420_1 WHERE population = 31901 </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 against the team with an 11-3 record against the Hawks?
### Context:
CREATE TABLE table_23248910_5 (score VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT score FROM table_23248910_5 WHERE record = "11-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:
Who had the most rebounds in the game against the team with a 5-2 record against the Hawks?
### Context:
CREATE TABLE table_23248910_5 (high_rebounds VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_23248910_5 WHERE record = "5-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 location and it's attendance was the game against the cavaliers?
### Context:
CREATE TABLE table_23248910_6 (location_attendance VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_23248910_6 WHERE team = "Cavaliers" </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 scored the highest points and how much against the raptors?
### Context:
CREATE TABLE table_23248910_6 (high_points VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_23248910_6 WHERE team = "Raptors" </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 location and it's attendance was the game against the Nets?
### Context:
CREATE TABLE table_23248910_6 (location_attendance VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_23248910_6 WHERE team = "Nets" </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 all players with highest assists from April 2.
### Context:
CREATE TABLE table_23248910_10 (high_assists VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_23248910_10 WHERE date = "April 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:
List high points from the April 7 game.
### Context:
CREATE TABLE table_23248910_10 (high_points VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_23248910_10 WHERE date = "April 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:
What is every team on March 5?
### Context:
CREATE TABLE table_23248910_9 (team VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT team FROM table_23248910_9 WHERE date = "March 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 is every high points for the Pistons team?
### Context:
CREATE TABLE table_23248910_9 (high_points VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_23248910_9 WHERE team = "Pistons" </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 score with a record of 46-25?
### Context:
CREATE TABLE table_23248910_9 (score VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT score FROM table_23248910_9 WHERE record = "46-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:
How many people had high rebounds during the game with a record of 34-32?
### Context:
CREATE TABLE table_23248940_10 (high_rebounds VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT COUNT(high_rebounds) FROM table_23248940_10 WHERE record = "34-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:
How many people led in assists on game 71?
### Context:
CREATE TABLE table_23248940_10 (high_assists VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT COUNT(high_assists) FROM table_23248940_10 WHERE game = 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:
What was the location and it's attendance when the Bobcats played against Washington?
### Context:
CREATE TABLE table_23248940_10 (location_attendance VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_23248940_10 WHERE team = "Washington" </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 record for milwaukee
### Context:
CREATE TABLE table_23248940_7 (record VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT record FROM table_23248940_7 WHERE team = "Milwaukee" </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 attendance for 10-14
### Context:
CREATE TABLE table_23248940_7 (location_attendance VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_23248940_7 WHERE record = "10-14" </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 record for december 8
### Context:
CREATE TABLE table_23248940_7 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_23248940_7 WHERE date = "December 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:
How did the game number 50 end?
### Context:
CREATE TABLE table_23248940_9 (score VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT score FROM table_23248940_9 WHERE game = 50 </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 high assists results are there for the game played on February 24?
### Context:
CREATE TABLE table_23248940_9 (high_assists VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(high_assists) FROM table_23248940_9 WHERE date = "February 24" </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 did the most high assists during the game played on February 6?
### Context:
CREATE TABLE table_23248940_9 (high_assists VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_23248940_9 WHERE date = "February 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:
Where was game number 55 played?
### Context:
CREATE TABLE table_23248940_9 (location_attendance VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_23248940_9 WHERE game = 55 </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 game 78 played on?
### Context:
CREATE TABLE table_23248967_10 (date VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT date FROM table_23248967_10 WHERE game = 78 </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 final score of the game on April 9?
### Context:
CREATE TABLE table_23248967_10 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_23248967_10 WHERE date = "April 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:
Who scored the high points in game 78?
### Context:
CREATE TABLE table_23248967_10 (high_points VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_23248967_10 WHERE game = 78 </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 score when the game is bigger than 29.0?
### Context:
CREATE TABLE table_23249053_8 (score VARCHAR, game INTEGER) [/INST]
### Response:
SELECT score FROM table_23249053_8 WHERE game > 29.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:
When rashard lewis (24) has the highest amount of points who is the team?
### Context:
CREATE TABLE table_23249053_11 (team VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT team FROM table_23249053_11 WHERE high_points = "Rashard Lewis (24)" </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 vince carter (24) has the highest points how many teams are there?
### Context:
CREATE TABLE table_23249053_11 (team VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT COUNT(team) FROM table_23249053_11 WHERE high_points = "Vince Carter (24)" </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 which championship did John Newcombe play against Ken Rosewall in the final match?
### Context:
CREATE TABLE table_23259077_1 (championship VARCHAR, opponent_in_the_final VARCHAR) [/INST]
### Response:
SELECT championship FROM table_23259077_1 WHERE opponent_in_the_final = "Ken Rosewall" </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 were the scores of the Wimbledon final matches where Newcombe was the runner-up?
### Context:
CREATE TABLE table_23259077_1 (score_in_the_final VARCHAR, outcome VARCHAR, championship VARCHAR) [/INST]
### Response:
SELECT score_in_the_final FROM table_23259077_1 WHERE outcome = "Runner-up" AND championship = "Wimbledon" </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:
On what year did Newcombe first face Clark Graebner in a final match?
### Context:
CREATE TABLE table_23259077_1 (year INTEGER, opponent_in_the_final VARCHAR) [/INST]
### Response:
SELECT MIN(year) FROM table_23259077_1 WHERE opponent_in_the_final = "Clark Graebner" </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 outcome for Newcombe in the matches he played against Jan Kodeš?
### Context:
CREATE TABLE table_23259077_1 (outcome VARCHAR, opponent_in_the_final VARCHAR) [/INST]
### Response:
SELECT outcome FROM table_23259077_1 WHERE opponent_in_the_final = "Jan Kodeš" </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 writers were there in the episode directed by Charles Haid?
### Context:
CREATE TABLE table_23255941_1 (written_by VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT COUNT(written_by) FROM table_23255941_1 WHERE directed_by = "Charles Haid" </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 title of the episode written by Mark Goffman?
### Context:
CREATE TABLE table_23255941_1 (title VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT title FROM table_23255941_1 WHERE written_by = "Mark Goffman" </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 original air dates did episode 12 have?h
### Context:
CREATE TABLE table_23255941_1 (original_air_date VARCHAR, episode__number VARCHAR) [/INST]
### Response:
SELECT COUNT(original_air_date) FROM table_23255941_1 WHERE episode__number = 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 millions of viewers watched the episode directed by Christine Moore?
### Context:
CREATE TABLE table_23255941_1 (viewers__in_millions_ VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT viewers__in_millions_ FROM table_23255941_1 WHERE directed_by = "Christine Moore" </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 date for w 107–97 (ot)
### Context:
CREATE TABLE table_23274514_7 (date VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT COUNT(date) FROM table_23274514_7 WHERE score = "W 107–97 (OT)" </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 date for 17-32
### Context:
CREATE TABLE table_23274514_7 (date VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT date FROM table_23274514_7 WHERE record = "17-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:
Name the high rebounds for 17-33
### Context:
CREATE TABLE table_23274514_7 (high_rebounds VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_23274514_7 WHERE record = "17-33" </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 team for 19-34
### Context:
CREATE TABLE table_23274514_7 (team VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT team FROM table_23274514_7 WHERE record = "19-34" </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 models have maximum power output is 162kw (220 ps) at 6,300 rpm?
### Context:
CREATE TABLE table_2326823_2 (model VARCHAR, max_power_output VARCHAR) [/INST]
### Response:
SELECT COUNT(model) FROM table_2326823_2 WHERE max_power_output = "162kW (220 PS) at 6,300 rpm" </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 max power produced for model 2.0 ts with peak of n·m (lb·ft) at 3,500 rpm.
### Context:
CREATE TABLE table_2326823_2 (max_power_output VARCHAR, model VARCHAR, peak_torque VARCHAR) [/INST]
### Response:
SELECT max_power_output FROM table_2326823_2 WHERE model = "2.0 TS" AND peak_torque = "N·m (lb·ft) at 3,500 rpm" </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 had the highest points during the game with a record of 2-7?
### Context:
CREATE TABLE table_23274514_4 (high_points VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_23274514_4 WHERE record = "2-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:
What team did the Wizards play against when their record was 2-5?
### Context:
CREATE TABLE table_23274514_4 (team VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT team FROM table_23274514_4 WHERE record = "2-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 tied in the highest point scorer when playing against Phoenix?
### Context:
CREATE TABLE table_23274514_4 (high_points VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_23274514_4 WHERE team = "Phoenix" </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 season used production code "am10"?
### Context:
CREATE TABLE table_23279434_1 (season__number VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT COUNT(season__number) FROM table_23279434_1 WHERE production_code = "AM10" </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 Jeremy Kagan's episode first air?
### Context:
CREATE TABLE table_23279434_1 (original_air_date VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_23279434_1 WHERE directed_by = "Jeremy Kagan" </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 seasons in series 7 did David E. Kelley write ?
### Context:
CREATE TABLE table_23279434_1 (season__number VARCHAR, written_by VARCHAR, series__number VARCHAR) [/INST]
### Response:
SELECT COUNT(season__number) FROM table_23279434_1 WHERE written_by = "David E. Kelley" AND series__number = 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:
Name the total number of date for score being l 106–116 (ot)
### Context:
CREATE TABLE table_23281862_10 (date VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT COUNT(date) FROM table_23281862_10 WHERE score = "L 106–116 (OT)" </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 record for charlotte
### Context:
CREATE TABLE table_23281862_10 (record VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT record FROM table_23281862_10 WHERE team = "Charlotte" </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 most game for w 113–96 (ot)
### Context:
CREATE TABLE table_23281862_10 (game INTEGER, score VARCHAR) [/INST]
### Response:
SELECT MAX(game) FROM table_23281862_10 WHERE score = "W 113–96 (OT)" </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 when the record was 22-53?
### Context:
CREATE TABLE table_23274514_9 (score VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT score FROM table_23274514_9 WHERE record = "22-53" </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 when they played golden state?
### Context:
CREATE TABLE table_23274514_9 (record VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT record FROM table_23274514_9 WHERE team = "Golden State" </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 percentages (2006) are there for the population whose mother tongue is French?
### Context:
CREATE TABLE table_2328113_1 (percentage__2006_ VARCHAR, mother_tongue VARCHAR) [/INST]
### Response:
SELECT COUNT(percentage__2006_) FROM table_2328113_1 WHERE mother_tongue = "French" </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 minimum population in 2011?
### Context:
CREATE TABLE table_2328113_1 (population__2011_ INTEGER) [/INST]
### Response:
SELECT MIN(population__2011_) FROM table_2328113_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 percentage in 2006 whose natives is Polish?
### Context:
CREATE TABLE table_2328113_1 (percentage__2006_ VARCHAR, mother_tongue VARCHAR) [/INST]
### Response:
SELECT percentage__2006_ FROM table_2328113_1 WHERE mother_tongue = "Polish" </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 attendance for dirk nowitzki , caron butler (17)
### Context:
CREATE TABLE table_23284271_11 (location_attendance VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_23284271_11 WHERE high_points = "Dirk Nowitzki , Caron Butler (17)" </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 attendance for 4 game
### Context:
CREATE TABLE table_23284271_11 (location_attendance VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_23284271_11 WHERE game = 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:
Name the date for l 89–92 (ot)
### Context:
CREATE TABLE table_23284271_11 (date VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT date FROM table_23284271_11 WHERE score = "L 89–92 (OT)" </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 high assists for 1-2 series
### Context:
CREATE TABLE table_23284271_11 (high_assists VARCHAR, series VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_23284271_11 WHERE series = "1-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:
Name the high rebounds for american airlines center 20,557
### Context:
CREATE TABLE table_23284271_11 (high_rebounds VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_23284271_11 WHERE location_attendance = "American Airlines Center 20,557" </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 score for december 27
### Context:
CREATE TABLE table_23284271_6 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(score) FROM table_23284271_6 WHERE date = "December 27" </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 number of high points for pepsi center 19,756
### Context:
CREATE TABLE table_23284271_6 (high_points VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT COUNT(high_points) FROM table_23284271_6 WHERE location_attendance = "Pepsi Center 19,756" </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 opponent in the final for 3–6, 1–6
### Context:
CREATE TABLE table_23284597_3 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR) [/INST]
### Response:
SELECT opponent_in_the_final FROM table_23284597_3 WHERE score_in_the_final = "3–6, 1–6" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.