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 did Kisnorbo move from?
### Context:
CREATE TABLE table_22810095_8 (moving_from VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT moving_from FROM table_22810095_8 WHERE name = "Kisnorbo" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player when n is 28?
### Context:
CREATE TABLE table_22810095_8 (name VARCHAR, n VARCHAR) [/INST]
### Response:
SELECT name FROM table_22810095_8 WHERE n = 28 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 much was the transfer fee when n is 2?
### Context:
CREATE TABLE table_22810095_8 (transfer_fee VARCHAR, n VARCHAR) [/INST]
### Response:
SELECT transfer_fee FROM table_22810095_8 WHERE n = 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 player is 24 years old?
### Context:
CREATE TABLE table_22810095_9 (name VARCHAR, age VARCHAR) [/INST]
### Response:
SELECT name FROM table_22810095_9 WHERE age = 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:
Nam the total number for bruce coulter award for 9th game
### Context:
CREATE TABLE table_228149_1 (bruce_coulter_award VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT COUNT(bruce_coulter_award) FROM table_228149_1 WHERE game = "9th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponents were there when the opponent was Arizona State?
### Context:
CREATE TABLE table_22815265_1 (opponents INTEGER, opponent VARCHAR) [/INST]
### Response:
SELECT MIN(opponents) FROM table_22815265_1 WHERE opponent = "Arizona 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 records show Utah as the opponent?
### Context:
CREATE TABLE table_22815265_1 (record VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT COUNT(record) FROM table_22815265_1 WHERE opponent = "Utah" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponents are there when cowboy points were 10?
### Context:
CREATE TABLE table_22815265_1 (opponents VARCHAR, cowboys_points VARCHAR) [/INST]
### Response:
SELECT opponents FROM table_22815265_1 WHERE cowboys_points = 10 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 records were there when opponents were 9?
### Context:
CREATE TABLE table_22815265_1 (record VARCHAR, opponents VARCHAR) [/INST]
### Response:
SELECT COUNT(record) FROM table_22815265_1 WHERE opponents = 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:
Name the number of record for 12 cowboys points
### Context:
CREATE TABLE table_22815259_1 (record VARCHAR, cowboys_points VARCHAR) [/INST]
### Response:
SELECT COUNT(record) FROM table_22815259_1 WHERE cowboys_points = 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:
Name the most game for record 4-0
### Context:
CREATE TABLE table_22815259_1 (game INTEGER, record VARCHAR) [/INST]
### Response:
SELECT MAX(game) FROM table_22815259_1 WHERE record = "4-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:
Name the result for cowboys points being 23
### Context:
CREATE TABLE table_22815259_1 (result VARCHAR, cowboys_points VARCHAR) [/INST]
### Response:
SELECT COUNT(result) FROM table_22815259_1 WHERE cowboys_points = 23 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 arizona
### Context:
CREATE TABLE table_22815259_1 (record VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT record FROM table_22815259_1 WHERE opponent = "Arizona" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 unemployment rate for 34024
### Context:
CREATE TABLE table_22815568_12 (unemployment_rate VARCHAR, population VARCHAR) [/INST]
### Response:
SELECT COUNT(unemployment_rate) FROM table_22815568_12 WHERE population = 34024 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 population for craig
### Context:
CREATE TABLE table_22815568_12 (population VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT COUNT(population) FROM table_22815568_12 WHERE county = "Craig" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 unemployment rate for botetourt
### Context:
CREATE TABLE table_22815568_12 (unemployment_rate VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT unemployment_rate FROM table_22815568_12 WHERE county = "Botetourt" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 status for unemployment rate being 6.7%
### Context:
CREATE TABLE table_22815568_12 (status VARCHAR, unemployment_rate VARCHAR) [/INST]
### Response:
SELECT status FROM table_22815568_12 WHERE unemployment_rate = "6.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 the status of the county that has a 14.7% poverty rate?
### Context:
CREATE TABLE table_22815568_1 (status VARCHAR, poverty_rate VARCHAR) [/INST]
### Response:
SELECT status FROM table_22815568_1 WHERE poverty_rate = "14.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 the poverty rate in the county that has a market income per capita of $16,420?
### Context:
CREATE TABLE table_22815568_1 (poverty_rate VARCHAR, market_income_per_capita VARCHAR) [/INST]
### Response:
SELECT poverty_rate FROM table_22815568_1 WHERE market_income_per_capita = "$16,420" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lowest population in a county with market income per capita of $24,383?
### Context:
CREATE TABLE table_22815568_1 (population INTEGER, market_income_per_capita VARCHAR) [/INST]
### Response:
SELECT MIN(population) FROM table_22815568_1 WHERE market_income_per_capita = "$24,383" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 povery rate of the county with market income per capita of $20,518?
### Context:
CREATE TABLE table_22815568_1 (poverty_rate VARCHAR, market_income_per_capita VARCHAR) [/INST]
### Response:
SELECT poverty_rate FROM table_22815568_1 WHERE market_income_per_capita = "$20,518" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 market income per capita where the county is hancock?
### Context:
CREATE TABLE table_22815568_13 (market_income_per_capita VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT market_income_per_capita FROM table_22815568_13 WHERE county = "Hancock" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 county where the market income per capita is $25,006?
### Context:
CREATE TABLE table_22815568_13 (county VARCHAR, market_income_per_capita VARCHAR) [/INST]
### Response:
SELECT county FROM table_22815568_13 WHERE market_income_per_capita = "$25,006" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 unemployment rate where the market income per capita is $16,406?
### Context:
CREATE TABLE table_22815568_13 (unemployment_rate VARCHAR, market_income_per_capita VARCHAR) [/INST]
### Response:
SELECT unemployment_rate FROM table_22815568_13 WHERE market_income_per_capita = "$16,406" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 unemployment rate for wayne county?
### Context:
CREATE TABLE table_22815568_13 (unemployment_rate VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT unemployment_rate FROM table_22815568_13 WHERE county = "Wayne" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original air date of the episode with a production code of 105?
### Context:
CREATE TABLE table_22815870_1 (original_air_date VARCHAR, prod_code VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_22815870_1 WHERE prod_code = 105 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 counties have a population of 2266?
### Context:
CREATE TABLE table_22815568_3 (county VARCHAR, population VARCHAR) [/INST]
### Response:
SELECT COUNT(county) FROM table_22815568_3 WHERE population = 2266 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 statuses are listed for Wayne county?
### Context:
CREATE TABLE table_22815568_3 (status VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT COUNT(status) FROM table_22815568_3 WHERE county = "Wayne" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 market income per capita in a county where the status is distressed and the unemployment rate is at 10.5%?
### Context:
CREATE TABLE table_22815568_3 (market_income_per_capita VARCHAR, status VARCHAR, unemployment_rate VARCHAR) [/INST]
### Response:
SELECT market_income_per_capita FROM table_22815568_3 WHERE status = "Distressed" AND unemployment_rate = "10.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:
What is the status for all the counties that have a poverty rate of 36.6%?
### Context:
CREATE TABLE table_22815568_3 (status VARCHAR, poverty_rate VARCHAR) [/INST]
### Response:
SELECT status FROM table_22815568_3 WHERE poverty_rate = "36.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 the status if the poverty rate is 11.4%?
### Context:
CREATE TABLE table_22815568_6 (status VARCHAR, poverty_rate VARCHAR) [/INST]
### Response:
SELECT status FROM table_22815568_6 WHERE poverty_rate = "11.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:
If the poverty rate is 12.9%, what is the county?
### Context:
CREATE TABLE table_22815568_6 (county VARCHAR, poverty_rate VARCHAR) [/INST]
### Response:
SELECT county FROM table_22815568_6 WHERE poverty_rate = "12.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:
What is the population maximum?
### Context:
CREATE TABLE table_22815568_6 (population INTEGER) [/INST]
### Response:
SELECT MAX(population) FROM table_22815568_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 county is the unemployment rate 4.8%?
### Context:
CREATE TABLE table_22815568_6 (county VARCHAR, unemployment_rate VARCHAR) [/INST]
### Response:
SELECT county FROM table_22815568_6 WHERE unemployment_rate = "4.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:
If the poverty rate is 12.9%, what is the market income per capita?
### Context:
CREATE TABLE table_22815568_6 (market_income_per_capita VARCHAR, poverty_rate VARCHAR) [/INST]
### Response:
SELECT market_income_per_capita FROM table_22815568_6 WHERE poverty_rate = "12.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:
Name the viewers for 2.1 rating
### Context:
CREATE TABLE table_22822468_2 (viewers__millions_ VARCHAR, rating VARCHAR) [/INST]
### Response:
SELECT viewers__millions_ FROM table_22822468_2 WHERE rating = "2.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:
Name the most share for 2.76 million viewers
### Context:
CREATE TABLE table_22822468_2 (share INTEGER, viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT MAX(share) FROM table_22822468_2 WHERE viewers__millions_ = "2.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:
Name the viewers for 1.2/4 rating
### Context:
CREATE TABLE table_22822468_2 (viewers__millions_ VARCHAR, rating VARCHAR) [/INST]
### Response:
SELECT viewers__millions_ FROM table_22822468_2 WHERE rating / SHARE(18 AS β49) = 1.2 / 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 rating for 3.79 viewers
### Context:
CREATE TABLE table_22822468_2 (rating VARCHAR, viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT rating / SHARE(18 AS β49) FROM table_22822468_2 WHERE viewers__millions_ = "3.79" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the least europa league
### Context:
CREATE TABLE table (europa_league INTEGER) [/INST]
### Response:
SELECT MIN(europa_league) FROM table </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total number of rebounds on november 27?
### Context:
CREATE TABLE table_22822559_4 (high_rebounds VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(high_rebounds) FROM table_22822559_4 WHERE date = "November 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:
On what date did the Pistons play @ toronto?
### Context:
CREATE TABLE table_22822559_4 (date VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT date FROM table_22822559_4 WHERE team = "@ Toronto" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 location and number of fans in attendance for game 7/
### Context:
CREATE TABLE table_22822559_4 (location_attendance VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT COUNT(location_attendance) FROM table_22822559_4 WHERE game = 7 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many interceptions for the team who played 31 games?
### Context:
CREATE TABLE table_22824302_3 (steals VARCHAR, games_played VARCHAR) [/INST]
### Response:
SELECT steals FROM table_22824302_3 WHERE games_played = 31 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 steals for the player who had 121 rebounds?
### Context:
CREATE TABLE table_22824302_3 (steals INTEGER, rebounds VARCHAR) [/INST]
### Response:
SELECT MIN(steals) FROM table_22824302_3 WHERE rebounds = 121 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What date was the Piston's record at 23-47?
### Context:
CREATE TABLE table_22822559_8 (date VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT date FROM table_22822559_8 WHERE record = "23-47" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rebounds during the game with a record of 23-47?
### Context:
CREATE TABLE table_22822559_8 (high_rebounds VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_22822559_8 WHERE record = "23-47" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rebound did the person who scored 147 points have?
### Context:
CREATE TABLE table_22824199_1 (rebounds VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(rebounds) FROM table_22824199_1 WHERE points = 147 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Of the players with 50 free throws, what is the lowest number of three pointers?
### Context:
CREATE TABLE table_22824199_1 (three_pointers INTEGER, free_throws VARCHAR) [/INST]
### Response:
SELECT MIN(three_pointers) FROM table_22824199_1 WHERE free_throws = 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:
Who are all the players with 156 rebounds?
### Context:
CREATE TABLE table_22824199_1 (player VARCHAR, rebounds VARCHAR) [/INST]
### Response:
SELECT player FROM table_22824199_1 WHERE rebounds = 156 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Of the players who scored 5 three pointers, what is the highest number of games played?
### Context:
CREATE TABLE table_22824199_1 (games_played INTEGER, three_pointers VARCHAR) [/INST]
### Response:
SELECT MAX(games_played) FROM table_22824199_1 WHERE three_pointers = 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:
What is every number for the hometown of Canton, Illinois?
### Context:
CREATE TABLE table_22824297_1 (no VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT no FROM table_22824297_1 WHERE hometown = "Canton, 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:
Who is every player with a height of 6-5?
### Context:
CREATE TABLE table_22824297_1 (player VARCHAR, height VARCHAR) [/INST]
### Response:
SELECT player FROM table_22824297_1 WHERE height = "6-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 are all players from hometown of Carbondale, Illinois?
### Context:
CREATE TABLE table_22824297_1 (player VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT player FROM table_22824297_1 WHERE hometown = "Carbondale, 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 is every class with a position of guard and Tal Brody as the player?
### Context:
CREATE TABLE table_22824297_1 (class VARCHAR, position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT class FROM table_22824297_1 WHERE position = "Guard" AND player = "Tal Brody" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number occur with the hometown of Canton, Illinois?
### Context:
CREATE TABLE table_22824297_1 (no VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT COUNT(no) FROM table_22824297_1 WHERE hometown = "Canton, 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 class was ren alde?
### Context:
CREATE TABLE table_22824312_1 (class VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT class FROM table_22824312_1 WHERE player = "Ren Alde" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player's who weighed 170?
### Context:
CREATE TABLE table_22824312_1 (player VARCHAR, weight VARCHAR) [/INST]
### Response:
SELECT player FROM table_22824312_1 WHERE weight = 170 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 jim dutcher's hometown?
### Context:
CREATE TABLE table_22824312_1 (hometown VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT hometown FROM table_22824312_1 WHERE player = "Jim Dutcher" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player for 51 points
### Context:
CREATE TABLE table_22824319_3 (player VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(player) FROM table_22824319_3 WHERE points = 51 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rebounds for larry smith
### Context:
CREATE TABLE table_22824319_3 (rebounds INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MAX(rebounds) FROM table_22824319_3 WHERE player = "Larry Smith" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 steals for 5 blocks
### Context:
CREATE TABLE table_22824319_3 (steals VARCHAR, blocks VARCHAR) [/INST]
### Response:
SELECT steals FROM table_22824319_3 WHERE blocks = 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:
Name the least points
### Context:
CREATE TABLE table_22824319_3 (points INTEGER) [/INST]
### Response:
SELECT MIN(points) FROM table_22824319_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:
When 0.6β1.4 is the b r (t) what is the h ci (ka/m)?
### Context:
CREATE TABLE table_2282444_1 (h_ci__ka_m_ VARCHAR, b_r__t_ VARCHAR) [/INST]
### Response:
SELECT h_ci__ka_m_ FROM table_2282444_1 WHERE b_r__t_ = "0.6β1.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:
When nd 2 fe 14 b (bonded) is the magnet how many measurements of tc (Β°c)?
### Context:
CREATE TABLE table_2282444_1 (t_c__ VARCHAR, magnet VARCHAR) [/INST]
### Response:
SELECT COUNT(t_c__) AS Β°c_ FROM table_2282444_1 WHERE magnet = "Nd 2 Fe 14 B (bonded)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 720 is the t c (Β°c) what is the h ci (ka/m)?
### Context:
CREATE TABLE table_2282444_1 (h_ci__ka_m_ VARCHAR, t_c__Β°c_ VARCHAR) [/INST]
### Response:
SELECT h_ci__ka_m_ FROM table_2282444_1 WHERE t_c__Β°c_ = "720" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sec wins for .357 percentage and 4-3 home record
### Context:
CREATE TABLE table_22825679_1 (sec_wins VARCHAR, percentage VARCHAR, home_record VARCHAR) [/INST]
### Response:
SELECT sec_wins FROM table_22825679_1 WHERE percentage = ".357" AND home_record = "4-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 percentage for georgia
### Context:
CREATE TABLE table_22825679_1 (percentage VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT percentage FROM table_22825679_1 WHERE team = "Georgia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 overall record for road record being 4-3
### Context:
CREATE TABLE table_22825679_1 (overall_record VARCHAR, road_record VARCHAR) [/INST]
### Response:
SELECT overall_record FROM table_22825679_1 WHERE road_record = "4-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 number of road record for team ole miss
### Context:
CREATE TABLE table_22825679_1 (road_record VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(road_record) FROM table_22825679_1 WHERE team = "Ole Miss" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 percentage for ole miss
### Context:
CREATE TABLE table_22825679_1 (percentage VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT percentage FROM table_22825679_1 WHERE team = "Ole Miss" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 most number of blocks kendall gill had?
### Context:
CREATE TABLE table_22824324_2 (blocks INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MAX(blocks) FROM table_22824324_2 WHERE player = "Kendall Gill" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lowest number of three pointers in games where the number of rebounds was 178?
### Context:
CREATE TABLE table_22824324_2 (three_pointers INTEGER, rebounds VARCHAR) [/INST]
### Response:
SELECT MIN(three_pointers) FROM table_22824324_2 WHERE rebounds = 178 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 steals were the in games that andy kaufmann played?
### Context:
CREATE TABLE table_22824324_2 (steals VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(steals) FROM table_22824324_2 WHERE player = "Andy Kaufmann" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lowest number of three pointers in games that kendall gill played?
### Context:
CREATE TABLE table_22824324_2 (three_pointers INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MIN(three_pointers) FROM table_22824324_2 WHERE player = "Kendall Gill" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had three pointers where the number of points was 581?
### Context:
CREATE TABLE table_22824324_2 (three_pointers VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(three_pointers) FROM table_22824324_2 WHERE points = 581 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 highest amount of episodes for the season with 5.74 million viewers?
### Context:
CREATE TABLE table_22837363_1 (episodes INTEGER, viewers__in_millions_ VARCHAR) [/INST]
### Response:
SELECT MAX(episodes) FROM table_22837363_1 WHERE viewers__in_millions_ = "5.74" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 surfaces have the final score of 6β1, 6β7 (2β7) , 7β6 (7β5) , 7β6 (10β8)?
### Context:
CREATE TABLE table_22834834_3 (surface VARCHAR, score_in_the_final VARCHAR) [/INST]
### Response:
SELECT surface FROM table_22834834_3 WHERE score_in_the_final = "6β1, 6β7 (2β7) , 7β6 (7β5) , 7β6 (10β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 outcome have a score of 7β6 (9β7) , 6β3?
### Context:
CREATE TABLE table_22834834_3 (outcome VARCHAR, score_in_the_final VARCHAR) [/INST]
### Response:
SELECT COUNT(outcome) FROM table_22834834_3 WHERE score_in_the_final = "7β6 (9β7) , 6β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:
Which outcomes have a final score of 6β3, 6β2?
### Context:
CREATE TABLE table_22834834_3 (outcome VARCHAR, score_in_the_final VARCHAR) [/INST]
### Response:
SELECT outcome FROM table_22834834_3 WHERE score_in_the_final = "6β3, 6β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 last year that Andre Agassi was the final opponent?
### Context:
CREATE TABLE table_22834834_3 (year INTEGER, opponent_in_the_final VARCHAR) [/INST]
### Response:
SELECT MAX(year) FROM table_22834834_3 WHERE opponent_in_the_final = "Andre Agassi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 have a final score of 6β3, 6β2?
### Context:
CREATE TABLE table_22834834_3 (year VARCHAR, score_in_the_final VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_22834834_3 WHERE score_in_the_final = "6β3, 6β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:
Which championship has a final score of 6β7 (9β11) , 6β4, 7β5, 4β6, 4β6?
### Context:
CREATE TABLE table_22834834_3 (championship VARCHAR, score_in_the_final VARCHAR) [/INST]
### Response:
SELECT championship FROM table_22834834_3 WHERE score_in_the_final = "6β7 (9β11) , 6β4, 7β5, 4β6, 4β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:
How many years had a total earnings amount of 2254598?
### Context:
CREATE TABLE table_22834834_12 (year VARCHAR, earnings__$_ VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_22834834_12 WHERE earnings__$_ = 2254598 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 latest year that data is available for?
### Context:
CREATE TABLE table_22834834_12 (year INTEGER) [/INST]
### Response:
SELECT MAX(year) FROM table_22834834_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:
What is the score in the final in the year 1994?
### Context:
CREATE TABLE table_22834834_2 (score_in_the_final VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT score_in_the_final FROM table_22834834_2 WHERE year = 1994 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 championship for the year of 1993?
### Context:
CREATE TABLE table_22834834_2 (championship VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT championship FROM table_22834834_2 WHERE year = 1993 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponent in the final when frankfurt is championship and the year is less than 1993.0?
### Context:
CREATE TABLE table_22834834_2 (opponent_in_the_final VARCHAR, championship VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT opponent_in_the_final FROM table_22834834_2 WHERE championship = "Frankfurt" AND year < 1993.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:
In what year was his money list rank 3?
### Context:
CREATE TABLE table_22839669_12 (year INTEGER, money_list_rank VARCHAR) [/INST]
### Response:
SELECT MIN(year) FROM table_22839669_12 WHERE money_list_rank = 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:
What was his money list rank in 2001?
### Context:
CREATE TABLE table_22839669_12 (money_list_rank INTEGER, year VARCHAR) [/INST]
### Response:
SELECT MIN(money_list_rank) FROM table_22839669_12 WHERE year = 2001 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 atp wins did he have when his money list rank was 4?
### Context:
CREATE TABLE table_22839669_12 (atp_wins INTEGER, money_list_rank VARCHAR) [/INST]
### Response:
SELECT MAX(atp_wins) FROM table_22839669_12 WHERE money_list_rank = 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 is the maximum total wins he had for any year?
### Context:
CREATE TABLE table_22839669_12 (total_wins INTEGER) [/INST]
### Response:
SELECT MAX(total_wins) FROM table_22839669_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:
What district is Samuel A. Bridges ( D ) assigned to as a successor?
### Context:
CREATE TABLE table_228439_4 (district VARCHAR, successor VARCHAR) [/INST]
### Response:
SELECT district FROM table_228439_4 WHERE successor = "Samuel A. Bridges ( D )" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 reason Richard K. Meade ( d ) became a successor?
### Context:
CREATE TABLE table_228439_4 (reason_for_change VARCHAR, successor VARCHAR) [/INST]
### Response:
SELECT reason_for_change FROM table_228439_4 WHERE successor = "Richard K. Meade ( D )" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 successor for massachusetts 8th?
### Context:
CREATE TABLE table_228439_4 (successor VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT successor FROM table_228439_4 WHERE district = "Massachusetts 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:
Name the opponent for 11-1
### Context:
CREATE TABLE table_22847880_2 (opponent VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_22847880_2 WHERE record = "11-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:
Name the record for kentucky
### Context:
CREATE TABLE table_22847880_2 (record VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT record FROM table_22847880_2 WHERE opponent = "Kentucky" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponent in the match with final score 3β6, 4β6, 7β5, 4β6?
### Context:
CREATE TABLE table_22839669_1 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR) [/INST]
### Response:
SELECT opponent_in_the_final FROM table_22839669_1 WHERE score_in_the_final = "3β6, 4β6, 7β5, 4β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 was the outcome of the match with score 4β6, 3β6, 2β6?
### Context:
CREATE TABLE table_22839669_1 (outcome VARCHAR, score_in_the_final VARCHAR) [/INST]
### Response:
SELECT outcome FROM table_22839669_1 WHERE score_in_the_final = "4β6, 3β6, 2β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 the most recent year where the final score is 4β6, 3β6, 6β4, 5β7?
### Context:
CREATE TABLE table_22839669_1 (year INTEGER, score_in_the_final VARCHAR) [/INST]
### Response:
SELECT MAX(year) FROM table_22839669_1 WHERE score_in_the_final = "4β6, 3β6, 6β4, 5β7" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.