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 week with a school that is ball state?
### Context:
CREATE TABLE table_name_19 (week VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT week FROM table_name_19 WHERE school = "ball 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:
What number last Runners-up where there when the Last win was 1999 and the Runners-up was bigger than 1?
### Context:
CREATE TABLE table_name_42 (Last VARCHAR, last_win VARCHAR, runners_up VARCHAR) [/INST]
### Response:
SELECT COUNT(Last) AS runners_up FROM table_name_42 WHERE last_win = "1999" AND runners_up > 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 is the number of Last Runners-up that has the club name of dempo sc?
### Context:
CREATE TABLE table_name_63 (Last INTEGER, club VARCHAR) [/INST]
### Response:
SELECT SUM(Last) AS runners_up FROM table_name_63 WHERE club = "dempo sc" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Position has a Round larger than 6, and a Player of neil pilon?
### Context:
CREATE TABLE table_name_97 (position VARCHAR, round VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_97 WHERE round > 6 AND player = "neil pilon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Nationality has a Player of rudy poeschek?
### Context:
CREATE TABLE table_name_51 (nationality VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_name_51 WHERE player = "rudy poeschek" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Position has a Player of steve nemeth?
### Context:
CREATE TABLE table_name_94 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_94 WHERE player = "steve nemeth" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Position has a Nationality of canada, and a Player of pat janostin?
### Context:
CREATE TABLE table_name_81 (position VARCHAR, nationality VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_81 WHERE nationality = "canada" AND player = "pat janostin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score of the match on April 23, 2007?
### Context:
CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_65 WHERE date = "april 23, 2007" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Date has a Game site of shea stadium, and a Week of 5?
### Context:
CREATE TABLE table_name_18 (date VARCHAR, game_site VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_18 WHERE game_site = "shea stadium" AND week = 5 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Attendance is the highest one that has a Week smaller than 9, and a Result of l 24–23?
### Context:
CREATE TABLE table_name_27 (attendance INTEGER, week VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT MAX(attendance) FROM table_name_27 WHERE week < 9 AND result = "l 24–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:
Which Week has an Opponent of baltimore colts, and an Attendance smaller than 55,137?
### Context:
CREATE TABLE table_name_65 (week INTEGER, opponent VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT AVG(week) FROM table_name_65 WHERE opponent = "baltimore colts" AND attendance < 55 OFFSET 137 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Game has Points of 53, and an Opponent of @ minnesota north stars, and a December larger than 30?
### Context:
CREATE TABLE table_name_6 (game INTEGER, december VARCHAR, points VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT AVG(game) FROM table_name_6 WHERE points = 53 AND opponent = "@ minnesota north stars" AND december > 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:
Which December has a Record of 21–6–5?
### Context:
CREATE TABLE table_name_59 (december INTEGER, record VARCHAR) [/INST]
### Response:
SELECT AVG(december) FROM table_name_59 WHERE record = "21–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:
Which Points have an Opponent of @ pittsburgh penguins?
### Context:
CREATE TABLE table_name_86 (points INTEGER, opponent VARCHAR) [/INST]
### Response:
SELECT MAX(points) FROM table_name_86 WHERE opponent = "@ pittsburgh penguins" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What year was the startup for the Project Named of taq taq ph 2?
### Context:
CREATE TABLE table_name_51 (year_startup VARCHAR, project_name VARCHAR) [/INST]
### Response:
SELECT year_startup FROM table_name_51 WHERE project_name = "taq taq ph 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 operator for peak 90, in startup year 2010 for the project named Aosp expansion 1 (jackpine ph 1a)?
### Context:
CREATE TABLE table_name_89 (operator VARCHAR, project_name VARCHAR, peak VARCHAR, year_startup VARCHAR) [/INST]
### Response:
SELECT operator FROM table_name_89 WHERE peak = "90" AND year_startup = "2010" AND project_name = "aosp expansion 1 (jackpine ph 1a)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 country has peak 20 and a project named jarn yabhour; ramhan?
### Context:
CREATE TABLE table_name_56 (country VARCHAR, peak VARCHAR, project_name VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_56 WHERE peak = "20" AND project_name = "jarn yabhour; ramhan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Attendance has an Opponent of swindon wildcats?
### Context:
CREATE TABLE table_name_90 (attendance VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT COUNT(attendance) FROM table_name_90 WHERE opponent = "swindon wildcats" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Attendance is the lowest one that has a Venue of away, and a Date of 19?
### Context:
CREATE TABLE table_name_64 (attendance INTEGER, venue VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT MIN(attendance) FROM table_name_64 WHERE venue = "away" AND date = 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:
Which Venue has a Result of won 5-4?
### Context:
CREATE TABLE table_name_65 (venue VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_65 WHERE result = "won 5-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 country has dubai
### Context:
CREATE TABLE table_name_89 (country VARCHAR, town VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_89 WHERE town = "dubai" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 country is dubai in
### Context:
CREATE TABLE table_name_50 (country VARCHAR, town VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_50 WHERE town = "dubai" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team has june 22 as the date?
### Context:
CREATE TABLE table_name_87 (home_team VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_87 WHERE date = "june 22" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What road team has 86-84 as the result?
### Context:
CREATE TABLE table_name_67 (road_team VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT road_team FROM table_name_67 WHERE result = "86-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 road team has 91-82 as the result?
### Context:
CREATE TABLE table_name_86 (road_team VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT road_team FROM table_name_86 WHERE result = "91-82" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game has houston as the road team, and june 15 as the date?
### Context:
CREATE TABLE table_name_26 (game VARCHAR, road_team VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT game FROM table_name_26 WHERE road_team = "houston" AND date = "june 15" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 listed under occupation for someone from Santa Monica, California?
### Context:
CREATE TABLE table_name_71 (occupation VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT occupation FROM table_name_71 WHERE hometown = "santa monica, california" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
For natives of St. Louis, Missouri, what was listed under education?
### Context:
CREATE TABLE table_name_47 (education VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT education FROM table_name_47 WHERE hometown = "st. louis, missouri" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When the occupation was utility worker on-air talent, what was the game status?
### Context:
CREATE TABLE table_name_21 (game_status VARCHAR, occupation VARCHAR) [/INST]
### Response:
SELECT game_status FROM table_name_21 WHERE occupation = "utility worker on-air talent" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2005 has a 2004 of 3–2?
### Context:
CREATE TABLE table_name_3 (Id VARCHAR) [/INST]
### Response:
SELECT 2005 FROM table_name_3 WHERE 2004 = "3–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 2011 has a 2009 of 15–2?
### Context:
CREATE TABLE table_name_66 (Id VARCHAR) [/INST]
### Response:
SELECT 2011 FROM table_name_66 WHERE 2009 = "15–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 2010 has a 2006 of w?
### Context:
CREATE TABLE table_name_51 (Id VARCHAR) [/INST]
### Response:
SELECT 2010 FROM table_name_51 WHERE 2006 = "w" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2008 has a 2005 of 13–3?
### Context:
CREATE TABLE table_name_48 (Id VARCHAR) [/INST]
### Response:
SELECT 2008 FROM table_name_48 WHERE 2005 = "13–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 is the time of the Ghantoot Racing and Polo Club?
### Context:
CREATE TABLE table_name_4 (time VARCHAR, ground VARCHAR) [/INST]
### Response:
SELECT time FROM table_name_4 WHERE ground = "ghantoot racing and polo club" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the home team score of the game with Adelaide as the away team?
### Context:
CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT home_team AS score FROM table_name_90 WHERE away_team = "adelaide" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 time of the Essendon home team game?
### Context:
CREATE TABLE table_name_81 (time VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT time FROM table_name_81 WHERE home_team = "essendon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the home team score of the Ghantoot Racing and Polo Club Ground?
### Context:
CREATE TABLE table_name_25 (home_team VARCHAR, ground VARCHAR) [/INST]
### Response:
SELECT home_team AS score FROM table_name_25 WHERE ground = "ghantoot racing and polo club" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What shows for region when the date is february 2006?
### Context:
CREATE TABLE table_name_29 (region VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT region FROM table_name_29 WHERE date = "february 2006" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What shows as the format for catalog 11 135?
### Context:
CREATE TABLE table_name_61 (format VARCHAR, catalog VARCHAR) [/INST]
### Response:
SELECT format FROM table_name_61 WHERE catalog = "11 135" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Region is Catalog number 885 380-1?
### Context:
CREATE TABLE table_name_63 (region VARCHAR, catalog VARCHAR) [/INST]
### Response:
SELECT region FROM table_name_63 WHERE catalog = "885 380-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:
Which Sampling Memory/Upgrade-able has a rate of 16-bit 44.1khz?
### Context:
CREATE TABLE table_name_66 (sampling_memory_upgrade_able VARCHAR, sampling_rate VARCHAR) [/INST]
### Response:
SELECT sampling_memory_upgrade_able FROM table_name_66 WHERE sampling_rate = "16-bit 44.1khz" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Around what time frame release a Sampling Rate of 12-bit 40khz?
### Context:
CREATE TABLE table_name_63 (release_date INTEGER, sampling_rate VARCHAR) [/INST]
### Response:
SELECT SUM(release_date) FROM table_name_63 WHERE sampling_rate = "12-bit 40khz" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is a product with a Sampling Rate of 12-bit 40khz?
### Context:
CREATE TABLE table_name_65 (price VARCHAR, sampling_rate VARCHAR) [/INST]
### Response:
SELECT price FROM table_name_65 WHERE sampling_rate = "12-bit 40khz" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 scored on december 19
### Context:
CREATE TABLE table_name_65 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_65 WHERE date = "december 19" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what team scored 5–5–1–1?
### Context:
CREATE TABLE table_name_71 (home VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT home FROM table_name_71 WHERE record = "5–5–1–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 team scored on november 7
### Context:
CREATE TABLE table_name_65 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_65 WHERE date = "november 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:
Which player has rank 1?
### Context:
CREATE TABLE table_name_24 (player VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_24 WHERE rank = 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's the mean number of wins with a rank that's more than 5?
### Context:
CREATE TABLE table_name_91 (wins INTEGER, rank INTEGER) [/INST]
### Response:
SELECT AVG(wins) FROM table_name_91 WHERE rank > 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 amount of earnings does Tiger Woods have?
### Context:
CREATE TABLE table_name_40 (earnings___$__ VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT earnings___$__ FROM table_name_40 WHERE player = "tiger woods" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position number of the club with more than 24 points and a w-l-d of 8-5-3?
### Context:
CREATE TABLE table_name_99 (position VARCHAR, points VARCHAR, w_l_d VARCHAR) [/INST]
### Response:
SELECT COUNT(position) FROM table_name_99 WHERE points > 24 AND w_l_d = "8-5-3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the goals for/against of the club with 17 points?
### Context:
CREATE TABLE table_name_94 (goals_for_against VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT goals_for_against FROM table_name_94 WHERE points = 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:
What is the highest number of games played of the club with a position number less than 4 and a 29-24 goals for/against?
### Context:
CREATE TABLE table_name_85 (games_played INTEGER, position VARCHAR, goals_for_against VARCHAR) [/INST]
### Response:
SELECT MAX(games_played) FROM table_name_85 WHERE position < 4 AND goals_for_against = "29-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:
Which date's attendance was more than 35,540?
### Context:
CREATE TABLE table_name_3 (date VARCHAR, attendance INTEGER) [/INST]
### Response:
SELECT date FROM table_name_3 WHERE attendance > 35 OFFSET 540 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the smallest attendance number for December 3, 1944?
### Context:
CREATE TABLE table_name_39 (attendance INTEGER, date VARCHAR) [/INST]
### Response:
SELECT MIN(attendance) FROM table_name_39 WHERE date = "december 3, 1944" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When was the Treaty of Cession for Karikal Colony?
### Context:
CREATE TABLE table_name_60 (treaty_of_cession VARCHAR, colony VARCHAR) [/INST]
### Response:
SELECT treaty_of_cession FROM table_name_60 WHERE colony = "karikal" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 day was the game in argentina
### Context:
CREATE TABLE table_name_92 (date VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_92 WHERE opponent = "argentina" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 city scored 0:0
### Context:
CREATE TABLE table_name_78 (city VARCHAR, results¹ VARCHAR) [/INST]
### Response:
SELECT city FROM table_name_78 WHERE results¹ = "0:0" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what game was played on june 14
### Context:
CREATE TABLE table_name_27 (type_of_game VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT type_of_game FROM table_name_27 WHERE date = "june 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:
What score has april 28 as the date?
### Context:
CREATE TABLE table_name_5 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_5 WHERE date = "april 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:
What score has tim duncan (27) as the leading scorer?
### Context:
CREATE TABLE table_name_96 (score VARCHAR, leading_scorer VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_96 WHERE leading_scorer = "tim duncan (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:
What visitor has tim duncan (16) as the leading scorer?
### Context:
CREATE TABLE table_name_18 (visitor VARCHAR, leading_scorer VARCHAR) [/INST]
### Response:
SELECT visitor FROM table_name_18 WHERE leading_scorer = "tim duncan (16)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What were Will Rackley's total rounds?
### Context:
CREATE TABLE table_name_89 (round VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT COUNT(round) FROM table_name_89 WHERE name = "will rackley" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cornerback has the lowest overall and a pick number smaller than 16?
### Context:
CREATE TABLE table_name_30 (overall INTEGER, position VARCHAR, pick__number VARCHAR) [/INST]
### Response:
SELECT MIN(overall) FROM table_name_30 WHERE position = "cornerback" AND pick__number < 16 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which cornerback has the highest round?
### Context:
CREATE TABLE table_name_97 (round INTEGER, position VARCHAR) [/INST]
### Response:
SELECT MAX(round) FROM table_name_97 WHERE position = "cornerback" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 on 25 october 2004?
### Context:
CREATE TABLE table_name_99 (outcome VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT outcome FROM table_name_99 WHERE date = "25 october 2004" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponent was a runner-up on 2 march 1998?
### Context:
CREATE TABLE table_name_6 (opponent_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT opponent_in_the_final FROM table_name_6 WHERE outcome = "runner-up" AND date = "2 march 1998" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had an oppenent of mario ančić in the final?
### Context:
CREATE TABLE table_name_8 (championship VARCHAR, opponent_in_the_final VARCHAR) [/INST]
### Response:
SELECT championship FROM table_name_8 WHERE opponent_in_the_final = "mario ančić" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 change with share of 2.9%
### Context:
CREATE TABLE table_name_71 (change VARCHAR, share VARCHAR) [/INST]
### Response:
SELECT change FROM table_name_71 WHERE share = "2.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 change for english democrats
### Context:
CREATE TABLE table_name_78 (change VARCHAR, party VARCHAR) [/INST]
### Response:
SELECT change FROM table_name_78 WHERE party = "english democrats" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the average votes for one london
### Context:
CREATE TABLE table_name_22 (votes INTEGER, party VARCHAR) [/INST]
### Response:
SELECT AVG(votes) FROM table_name_22 WHERE party = "one london" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Country has a Rank of 5?
### Context:
CREATE TABLE table_name_77 (country VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_77 WHERE rank = 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:
Which Earnings ($) is the lowest one that has a Rank of 1, and Events smaller than 22?
### Context:
CREATE TABLE table_name_60 (earnings___ INTEGER, rank VARCHAR, events VARCHAR) [/INST]
### Response:
SELECT MIN(earnings___) AS $__ FROM table_name_60 WHERE rank = 1 AND events < 22 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many earnings have Wins larger than 3?
### Context:
CREATE TABLE table_name_70 (earnings___ INTEGER, wins INTEGER) [/INST]
### Response:
SELECT SUM(earnings___) AS $__ FROM table_name_70 WHERE wins > 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 Player has 4 Wins?
### Context:
CREATE TABLE table_name_49 (player VARCHAR, wins VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_49 WHERE wins = 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:
How many Poles have a Bike of honda rc212v, and Podiums smaller than 0?
### Context:
CREATE TABLE table_name_92 (poles VARCHAR, bike VARCHAR, podiums VARCHAR) [/INST]
### Response:
SELECT COUNT(poles) FROM table_name_92 WHERE bike = "honda rc212v" AND podiums < 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:
Which Wins is the highest one that has a Pos of 2nd, and Poles larger than 2?
### Context:
CREATE TABLE table_name_3 (wins INTEGER, pos VARCHAR, poles VARCHAR) [/INST]
### Response:
SELECT MAX(wins) FROM table_name_3 WHERE pos = "2nd" AND poles > 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 average of points for 8th place with draw more than 8?
### Context:
CREATE TABLE table_name_55 (points INTEGER, place VARCHAR, draw VARCHAR) [/INST]
### Response:
SELECT AVG(points) FROM table_name_55 WHERE place = "8th" AND draw > 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:
Which Points have a Game smaller than 8, and a Record of 1–0–0?
### Context:
CREATE TABLE table_name_73 (points INTEGER, game VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT SUM(points) FROM table_name_73 WHERE game < 8 AND record = "1–0–0" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Game has a Record of 5–3–1, and an October smaller than 29?
### Context:
CREATE TABLE table_name_80 (game INTEGER, record VARCHAR, october VARCHAR) [/INST]
### Response:
SELECT SUM(game) FROM table_name_80 WHERE record = "5–3–1" AND october < 29 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Game has a Score of 3–4?
### Context:
CREATE TABLE table_name_76 (game INTEGER, score VARCHAR) [/INST]
### Response:
SELECT MIN(game) FROM table_name_76 WHERE score = "3–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:
Which Game has a Record of 4–2–1, and Points larger than 9?
### Context:
CREATE TABLE table_name_19 (game INTEGER, record VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT SUM(game) FROM table_name_19 WHERE record = "4–2–1" AND points > 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:
Which Nationality has a Position of defense, and a Player of nikita korovkin?
### Context:
CREATE TABLE table_name_51 (nationality VARCHAR, position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_name_51 WHERE position = "defense" AND player = "nikita korovkin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Nationality has a Position of left wing?
### Context:
CREATE TABLE table_name_99 (nationality VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_name_99 WHERE position = "left wing" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Player has a Position of forward?
### Context:
CREATE TABLE table_name_18 (player VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_18 WHERE position = "forward" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Week 3 Sept 14 has a Week 6 Oct 5 of kansas (4-1)?
### Context:
CREATE TABLE table_name_87 (week_3_sept_14 VARCHAR, week_6_oct_5 VARCHAR) [/INST]
### Response:
SELECT week_3_sept_14 FROM table_name_87 WHERE week_6_oct_5 = "kansas (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:
Which Week 2 Sept 7 has a Week 6 Oct 5 of wake forest (3-1)?
### Context:
CREATE TABLE table_name_84 (week_2_sept_7 VARCHAR, week_6_oct_5 VARCHAR) [/INST]
### Response:
SELECT week_2_sept_7 FROM table_name_84 WHERE week_6_oct_5 = "wake forest (3-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:
Which Week 1 Sept 2 has a Week 3 Sept 14 of south florida (3-0)?
### Context:
CREATE TABLE table_name_72 (week_1_sept_2 VARCHAR, week_3_sept_14 VARCHAR) [/INST]
### Response:
SELECT week_1_sept_2 FROM table_name_72 WHERE week_3_sept_14 = "south florida (3-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:
Which Week 7 Oct 12 has a Week 6 Oct 5 of boise state (4-0)?
### Context:
CREATE TABLE table_name_23 (week_7_oct_12 VARCHAR, week_6_oct_5 VARCHAR) [/INST]
### Response:
SELECT week_7_oct_12 FROM table_name_23 WHERE week_6_oct_5 = "boise state (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:
Which Week 2 Sept 7 has a Week 7 Oct 12 of ball state (7-0)?
### Context:
CREATE TABLE table_name_8 (week_2_sept_7 VARCHAR, week_7_oct_12 VARCHAR) [/INST]
### Response:
SELECT week_2_sept_7 FROM table_name_8 WHERE week_7_oct_12 = "ball state (7-0)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Week 6 Oct 5 has a Week 14 Nov 30 of texas (11-1)?
### Context:
CREATE TABLE table_name_37 (week_6_oct_5 VARCHAR, week_14_nov_30 VARCHAR) [/INST]
### Response:
SELECT week_6_oct_5 FROM table_name_37 WHERE week_14_nov_30 = "texas (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:
What is the highest round of Tommy Allman, who had a pick less than 40?
### Context:
CREATE TABLE table_name_27 (round INTEGER, player VARCHAR, pick VARCHAR) [/INST]
### Response:
SELECT MAX(round) FROM table_name_27 WHERE player = "tommy allman" AND pick < 40 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the back player with a pick less than 183 from the round greater than 12?
### Context:
CREATE TABLE table_name_41 (player VARCHAR, round VARCHAR, pick VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_41 WHERE pick < 183 AND position = "back" AND round > 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 total number of rounds of the end player with a pick number greater than 303?
### Context:
CREATE TABLE table_name_21 (round VARCHAR, pick VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT COUNT(round) FROM table_name_21 WHERE pick > 303 AND position = "end" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 highest pick of the back player from round 28?
### Context:
CREATE TABLE table_name_42 (pick INTEGER, position VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT MAX(pick) FROM table_name_42 WHERE position = "back" AND round = 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:
What is position of the player with a pick number greater than 315 and a round of 30?
### Context:
CREATE TABLE table_name_51 (position VARCHAR, pick VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_51 WHERE pick > 315 AND round = 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:
On what Week was the Result W 17-14?
### Context:
CREATE TABLE table_name_4 (week INTEGER, result VARCHAR) [/INST]
### Response:
SELECT AVG(week) FROM table_name_4 WHERE result = "w 17-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:
What was the Result after the Week 4 on November 3, 1968?
### Context:
CREATE TABLE table_name_27 (result VARCHAR, week VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_27 WHERE week > 4 AND date = "november 3, 1968" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 attendance in week 4?
### Context:
CREATE TABLE table_name_57 (attendance INTEGER, week VARCHAR) [/INST]
### Response:
SELECT AVG(attendance) FROM table_name_57 WHERE week = 4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the date of the game with a record of 17–25?
### Context:
CREATE TABLE table_name_16 (date VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_16 WHERE record = "17–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:
Who was the opponent at the game with a score of 6–5 (10)?
### Context:
CREATE TABLE table_name_47 (opponent VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_47 WHERE score = "6–5 (10)" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.