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 numbr for fri may 30 and mon may 26 is 19' 02.890 118.847mph?
### Context:
CREATE TABLE table_14209455_1 (fri_30_may VARCHAR, mon_26_may VARCHAR) [/INST]
### Response:
SELECT fri_30_may FROM table_14209455_1 WHERE mon_26_may = "19' 02.890 118.847mph" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the name of the school where the last win in 2007-08?
### Context:
CREATE TABLE table_14286908_1 (school VARCHAR, year_of_last_win VARCHAR) [/INST]
### Response:
SELECT school FROM table_14286908_1 WHERE year_of_last_win = "2007-08" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many times was banbridge academy the winner?
### Context:
CREATE TABLE table_14286908_1 (winners VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT COUNT(winners) FROM table_14286908_1 WHERE school = "Banbridge Academy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are the names that had a finalist score of 2?
### Context:
CREATE TABLE table_14286908_1 (school VARCHAR, finalists VARCHAR) [/INST]
### Response:
SELECT school FROM table_14286908_1 WHERE finalists = 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:
In what year was the total finals at 10?
### Context:
CREATE TABLE table_14286908_1 (year_of_last_win VARCHAR, total_finals VARCHAR) [/INST]
### Response:
SELECT year_of_last_win FROM table_14286908_1 WHERE total_finals = 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:
What is the name of the school where the year of last win is 1985-86?
### Context:
CREATE TABLE table_14286908_1 (school VARCHAR, year_of_last_win VARCHAR) [/INST]
### Response:
SELECT school FROM table_14286908_1 WHERE year_of_last_win = "1985-86" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total finals where there when the last win was in 2012-13?
### Context:
CREATE TABLE table_14286908_1 (total_finals VARCHAR, year_of_last_win VARCHAR) [/INST]
### Response:
SELECT total_finals FROM table_14286908_1 WHERE year_of_last_win = "2012-13" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 played
### Context:
CREATE TABLE table_14323347_1 (played INTEGER) [/INST]
### Response:
SELECT MAX(played) FROM table_14323347_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 total number of 1992-93 for 115 points
### Context:
CREATE TABLE table_14323347_1 (points VARCHAR) [/INST]
### Response:
SELECT COUNT(1992 AS _93) FROM table_14323347_1 WHERE points = 115 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 touchdowns for field goals being 1
### Context:
CREATE TABLE table_14342480_6 (touchdowns INTEGER, field_goals VARCHAR) [/INST]
### Response:
SELECT MAX(touchdowns) FROM table_14342480_6 WHERE field_goals = 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 starter for position being left end
### Context:
CREATE TABLE table_14342480_6 (starter VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT starter FROM table_14342480_6 WHERE position = "Left 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:
Name the fewest touchdowns
### Context:
CREATE TABLE table_14342480_6 (touchdowns INTEGER) [/INST]
### Response:
SELECT MIN(touchdowns) FROM table_14342480_6 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the most extra points for right tackle
### Context:
CREATE TABLE table_14342480_6 (extra_points INTEGER, position VARCHAR) [/INST]
### Response:
SELECT MAX(extra_points) FROM table_14342480_6 WHERE position = "Right tackle" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points for field goals being 1
### Context:
CREATE TABLE table_14342480_6 (points VARCHAR, field_goals VARCHAR) [/INST]
### Response:
SELECT COUNT(points) FROM table_14342480_6 WHERE field_goals = 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 touchdowns for becker
### Context:
CREATE TABLE table_14342592_8 (touchdowns INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MAX(touchdowns) FROM table_14342592_8 WHERE player = "Becker" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 extra points for left guard
### Context:
CREATE TABLE table_14342592_8 (extra_points VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT extra_points FROM table_14342592_8 WHERE position = "Left guard" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 touchdowns for 11 points
### Context:
CREATE TABLE table_14342592_8 (touchdowns INTEGER, points VARCHAR) [/INST]
### Response:
SELECT MIN(touchdowns) FROM table_14342592_8 WHERE points = 11 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the most field goals
### Context:
CREATE TABLE table_14342592_8 (field_goals INTEGER) [/INST]
### Response:
SELECT MAX(field_goals) FROM table_14342592_8 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number of field goals for 19 extra points
### Context:
CREATE TABLE table_14342592_8 (field_goals VARCHAR, extra_points VARCHAR) [/INST]
### Response:
SELECT COUNT(field_goals) FROM table_14342592_8 WHERE extra_points = 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:
Name the most touchdowns for norcross
### Context:
CREATE TABLE table_14342592_8 (touchdowns INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MAX(touchdowns) FROM table_14342592_8 WHERE player = "Norcross" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name who was famous for finished in 9th
### Context:
CREATE TABLE table_14345690_4 (famous_for VARCHAR, finished VARCHAR) [/INST]
### Response:
SELECT famous_for FROM table_14345690_4 WHERE finished = "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:
Name the finished for exited day 13
### Context:
CREATE TABLE table_14345690_4 (finished VARCHAR, exited VARCHAR) [/INST]
### Response:
SELECT finished FROM table_14345690_4 WHERE exited = "Day 13" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 entered for famous for page 3 model
### Context:
CREATE TABLE table_14345690_4 (entered VARCHAR, famous_for VARCHAR) [/INST]
### Response:
SELECT entered FROM table_14345690_4 WHERE famous_for = "Page 3 Model" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 finished for kerry katona
### Context:
CREATE TABLE table_14345690_4 (finished VARCHAR, celebrity VARCHAR) [/INST]
### Response:
SELECT COUNT(finished) FROM table_14345690_4 WHERE celebrity = "Kerry Katona" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 celebrity for athlete
### Context:
CREATE TABLE table_14345690_4 (celebrity VARCHAR, famous_for VARCHAR) [/INST]
### Response:
SELECT COUNT(celebrity) FROM table_14345690_4 WHERE famous_for = "Athlete" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 values for "Teleplay by" category for series # 35?
### Context:
CREATE TABLE table_14346950_1 (teleplay_by VARCHAR, series__number VARCHAR) [/INST]
### Response:
SELECT COUNT(teleplay_by) FROM table_14346950_1 WHERE series__number = 35 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the teleplay by when the director is Rob Bailey?
### Context:
CREATE TABLE table_14346950_1 (teleplay_by VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT teleplay_by FROM table_14346950_1 WHERE directed_by = "Rob Bailey" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the season # for a teleplay by Richard Price and the director is Steve Shill?
### Context:
CREATE TABLE table_14346950_1 (season__number VARCHAR, teleplay_by VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT season__number FROM table_14346950_1 WHERE teleplay_by = "Richard Price" AND directed_by = "Steve Shill" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 time in eastern standard time was game held at denver broncos?
### Context:
CREATE TABLE table_14433719_1 (time___et__ VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT time___et__ FROM table_14433719_1 WHERE opponent = "at Denver Broncos" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are the names of all unix shell with PowerShell (Cmdlet) of select-string?
### Context:
CREATE TABLE table_14465871_1 (unix_shell VARCHAR, powershell__cmdlet_ VARCHAR) [/INST]
### Response:
SELECT unix_shell FROM table_14465871_1 WHERE powershell__cmdlet_ = "Select-String" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are all values of CMD.EXE / COMMAND.COM for the unix shell echo?
### Context:
CREATE TABLE table_14465871_1 (cmdexe___commandcom VARCHAR, unix_shell VARCHAR) [/INST]
### Response:
SELECT cmdexe___commandcom FROM table_14465871_1 WHERE unix_shell = "echo" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Powershell (alias) is cpi, copy, cp, what are all corresponding descriptions.
### Context:
CREATE TABLE table_14465871_1 (description VARCHAR, powershell__alias_ VARCHAR) [/INST]
### Response:
SELECT description FROM table_14465871_1 WHERE powershell__alias_ = "cpi, copy, cp" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cmd.exe / command.com is type, what are all associated values for powershell (cmdlet)?
### Context:
CREATE TABLE table_14465871_1 (powershell__cmdlet_ VARCHAR, cmdexe___commandcom VARCHAR) [/INST]
### Response:
SELECT powershell__cmdlet_ FROM table_14465871_1 WHERE cmdexe___commandcom = "type" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of powershell (cmdlet) are valid when unix shell is env, export, set, setenv?
### Context:
CREATE TABLE table_14465871_1 (powershell__cmdlet_ VARCHAR, unix_shell VARCHAR) [/INST]
### Response:
SELECT COUNT(powershell__cmdlet_) FROM table_14465871_1 WHERE unix_shell = "env, export, set, setenv" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has 2053 households?
### Context:
CREATE TABLE table_1447085_1 (county VARCHAR, number_of_households VARCHAR) [/INST]
### Response:
SELECT county FROM table_1447085_1 WHERE number_of_households = 2053 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 place has a rank of 71?
### Context:
CREATE TABLE table_1447085_1 (place VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT place FROM table_1447085_1 WHERE rank = 71 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which county has a median household income of $98,090?
### Context:
CREATE TABLE table_1447085_1 (county VARCHAR, median_house__hold_income VARCHAR) [/INST]
### Response:
SELECT county FROM table_1447085_1 WHERE median_house__hold_income = "$98,090" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 median household income for Woodside?
### Context:
CREATE TABLE table_1447085_1 (median_house__hold_income VARCHAR, place VARCHAR) [/INST]
### Response:
SELECT median_house__hold_income FROM table_1447085_1 WHERE place = "Woodside" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 per capita income for Fayette County?
### Context:
CREATE TABLE table_1447085_1 (per_capita_income VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT per_capita_income FROM table_1447085_1 WHERE county = "Fayette county" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 does the common of Galliate rank in population?
### Context:
CREATE TABLE table_1449169_1 (rank VARCHAR, common VARCHAR) [/INST]
### Response:
SELECT rank FROM table_1449169_1 WHERE common = "Galliate" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 common has an area (km2) of 38.38?
### Context:
CREATE TABLE table_1449169_1 (common VARCHAR, area__km_2__ VARCHAR) [/INST]
### Response:
SELECT common FROM table_1449169_1 WHERE area__km_2__ = "38.38" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 common has an area (km2) of 103.02?
### Context:
CREATE TABLE table_1449169_1 (common VARCHAR, area__km_2__ VARCHAR) [/INST]
### Response:
SELECT common FROM table_1449169_1 WHERE area__km_2__ = "103.02" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 minimum altitude (mslm) in all the commons?
### Context:
CREATE TABLE table_1449169_1 (altitude__mslm_ INTEGER) [/INST]
### Response:
SELECT MIN(altitude__mslm_) FROM table_1449169_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 rank is the common with an area of 47.3 km^2?
### Context:
CREATE TABLE table_1449176_1 (rank VARCHAR, area__km_2__ VARCHAR) [/INST]
### Response:
SELECT rank FROM table_1449176_1 WHERE area__km_2__ = "47.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 density of the common with an area of 20.4 km^2?
### Context:
CREATE TABLE table_1449176_1 (density__inhabitants_km_2__ VARCHAR, area__km_2__ VARCHAR) [/INST]
### Response:
SELECT density__inhabitants_km_2__ FROM table_1449176_1 WHERE area__km_2__ = "20.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 altitudes does the common with an area of 130.7 km^2 have?
### Context:
CREATE TABLE table_1449176_1 (altitude__mslm_ VARCHAR, area__km_2__ VARCHAR) [/INST]
### Response:
SELECT COUNT(altitude__mslm_) FROM table_1449176_1 WHERE area__km_2__ = "130.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 may population figures are given for Settimo Torinese
### Context:
CREATE TABLE table_1449176_1 (population VARCHAR, common_of VARCHAR) [/INST]
### Response:
SELECT COUNT(population) FROM table_1449176_1 WHERE common_of = "Settimo Torinese" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 9th ranked common?
### Context:
CREATE TABLE table_1449176_1 (common_of VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT common_of FROM table_1449176_1 WHERE rank = "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:
The common of Chieri has what population density?
### Context:
CREATE TABLE table_1449176_1 (density__inhabitants_km_2__ VARCHAR, common_of VARCHAR) [/INST]
### Response:
SELECT density__inhabitants_km_2__ FROM table_1449176_1 WHERE common_of = "Chieri" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 economics score with education being 92.0
### Context:
CREATE TABLE table_145439_1 (economics VARCHAR, education VARCHAR) [/INST]
### Response:
SELECT economics FROM table_145439_1 WHERE education = "92.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's the health score with justice being 80.7
### Context:
CREATE TABLE table_145439_1 (health VARCHAR, justice VARCHAR) [/INST]
### Response:
SELECT health FROM table_145439_1 WHERE justice = "80.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's the rank for iceland
### Context:
CREATE TABLE table_145439_1 (rank VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT rank FROM table_145439_1 WHERE country = "Iceland" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 country with health being 91.4
### Context:
CREATE TABLE table_145439_1 (country VARCHAR, health VARCHAR) [/INST]
### Response:
SELECT country FROM table_145439_1 WHERE health = "91.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's the economics score with justice being 90.8
### Context:
CREATE TABLE table_145439_1 (economics VARCHAR, justice VARCHAR) [/INST]
### Response:
SELECT economics FROM table_145439_1 WHERE justice = "90.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:
On October 17, 1937 what was maximum number or attendants.
### Context:
CREATE TABLE table_14608759_1 (attendance INTEGER, date VARCHAR) [/INST]
### Response:
SELECT MAX(attendance) FROM table_14608759_1 WHERE date = "October 17, 1937" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 week 9 who were the opponent?
### Context:
CREATE TABLE table_14608759_1 (opponent VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_14608759_1 WHERE week = 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 are week 4 results?
### Context:
CREATE TABLE table_14608759_1 (result VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT result FROM table_14608759_1 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 Trevard Lindley's number?
### Context:
CREATE TABLE table_14624447_33 (number INTEGER, name VARCHAR) [/INST]
### Response:
SELECT MAX(number) FROM table_14624447_33 WHERE name = "Trevard Lindley" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player for chicago black hawks
### Context:
CREATE TABLE table_1473672_8 (player VARCHAR, nhl_team VARCHAR) [/INST]
### Response:
SELECT player FROM table_1473672_8 WHERE nhl_team = "Chicago Black Hawks" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position for pick number 128
### Context:
CREATE TABLE table_1473672_8 (position VARCHAR, pick__number VARCHAR) [/INST]
### Response:
SELECT position FROM table_1473672_8 WHERE pick__number = 128 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 college/junior/club team for left wing
### Context:
CREATE TABLE table_1473672_8 (college_junior_club_team VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT college_junior_club_team FROM table_1473672_8 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:
What is the Burmese term for Thursday?
### Context:
CREATE TABLE table_14850099_18 (burmese VARCHAR, english VARCHAR) [/INST]
### Response:
SELECT burmese FROM table_14850099_18 WHERE english = "Thursday" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cardinal direction associated with Venus?
### Context:
CREATE TABLE table_14850099_18 (cardinal_direction VARCHAR, planet VARCHAR) [/INST]
### Response:
SELECT cardinal_direction FROM table_14850099_18 WHERE planet = "Venus" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Burmese term associated with a cardinal direction of west?
### Context:
CREATE TABLE table_14850099_18 (burmese VARCHAR, cardinal_direction VARCHAR) [/INST]
### Response:
SELECT burmese FROM table_14850099_18 WHERE cardinal_direction = "West" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 planet associated with the direction of south?
### Context:
CREATE TABLE table_14850099_18 (planet VARCHAR, cardinal_direction VARCHAR) [/INST]
### Response:
SELECT planet FROM table_14850099_18 WHERE cardinal_direction = "South" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 value scored when there were 19 points for the team 3 de Febrero?
### Context:
CREATE TABLE table_14871601_2 (scored INTEGER, points VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT MAX(scored) FROM table_14871601_2 WHERE points = 19 AND team = "3 de Febrero" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of losses when the scored value was 25?
### Context:
CREATE TABLE table_14871601_2 (losses INTEGER, scored VARCHAR) [/INST]
### Response:
SELECT MAX(losses) FROM table_14871601_2 WHERE scored = 25 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What were all Yachts with a sail number of 6952?
### Context:
CREATE TABLE table_14882588_3 (yacht VARCHAR, sail_number VARCHAR) [/INST]
### Response:
SELECT yacht FROM table_14882588_3 WHERE sail_number = "6952" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 yachts had a position of 3?
### Context:
CREATE TABLE table_14882588_3 (yacht VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT COUNT(yacht) FROM table_14882588_3 WHERE position = 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 are all sail numbers for the yacht Yendys?
### Context:
CREATE TABLE table_14882588_3 (sail_number VARCHAR, yacht VARCHAR) [/INST]
### Response:
SELECT sail_number FROM table_14882588_3 WHERE yacht = "Yendys" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 courtside reporter for the year 2009-10?
### Context:
CREATE TABLE table_14902507_2 (courtside_reporter VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT courtside_reporter FROM table_14902507_2 WHERE year = "2009-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:
Who is the studio host for the year 2006-07?
### Context:
CREATE TABLE table_14902507_2 (studio_host VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT studio_host FROM table_14902507_2 WHERE year = "2006-07" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 studio analysts for the year 2008-09?
### Context:
CREATE TABLE table_14902507_2 (studio_analysts VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT studio_analysts FROM table_14902507_2 WHERE year = "2008-09" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many channels were the games shown on in 2001-02?
### Context:
CREATE TABLE table_14902507_2 (channel VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT COUNT(channel) FROM table_14902507_2 WHERE year = "2001-02" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 current venue for the Miami Masters tournament?
### Context:
CREATE TABLE table_14903081_1 (current_venue VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT current_venue FROM table_14903081_1 WHERE tournament = "Miami Masters" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Rome is in which country?
### Context:
CREATE TABLE table_14903081_1 (country VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT country FROM table_14903081_1 WHERE location = "Rome" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tournaments have their current venue as the Lindner Family Tennis Center?
### Context:
CREATE TABLE table_14903081_1 (tournament VARCHAR, current_venue VARCHAR) [/INST]
### Response:
SELECT COUNT(tournament) FROM table_14903081_1 WHERE current_venue = "Lindner Family Tennis Center" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tournament first held in Italy?
### Context:
CREATE TABLE table_14903081_1 (began INTEGER, country VARCHAR) [/INST]
### Response:
SELECT MIN(began) FROM table_14903081_1 WHERE country = "Italy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 current venues location is Mason, Ohio?
### Context:
CREATE TABLE table_14903081_1 (current_venue VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT current_venue FROM table_14903081_1 WHERE location = "Mason, Ohio" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tournaments current venue is the Madrid Arena?
### Context:
CREATE TABLE table_14903081_1 (tournament VARCHAR, current_venue VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_14903081_1 WHERE current_venue = "Madrid Arena" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are all values for Womens Doubles in the year 2000/2001?
### Context:
CREATE TABLE table_14903841_1 (womens_doubles VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT womens_doubles FROM table_14903841_1 WHERE year = "2000/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:
Who are all the womens doubles for the year 2008/2009?
### Context:
CREATE TABLE table_14903841_1 (womens_doubles VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT womens_doubles FROM table_14903841_1 WHERE year = "2008/2009" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which episode number drew in 3.84 million viewers in the U.S.?
### Context:
CREATE TABLE table_14929574_3 (series__number INTEGER, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT MAX(series__number) FROM table_14929574_3 WHERE us_viewers__million_ = "3.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:
How many viewers did the episode directed by David Nutter draw in?
### Context:
CREATE TABLE table_14929574_3 (us_viewers__million_ VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT us_viewers__million_ FROM table_14929574_3 WHERE directed_by = "David Nutter" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode number drew in 3.35 million viewers in the United States?
### Context:
CREATE TABLE table_14929574_3 (series__number VARCHAR, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT COUNT(series__number) FROM table_14929574_3 WHERE us_viewers__million_ = "3.35" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which episode number was directed by Bill Eagles?
### Context:
CREATE TABLE table_14929574_3 (series__number INTEGER, directed_by VARCHAR) [/INST]
### Response:
SELECT MIN(series__number) FROM table_14929574_3 WHERE directed_by = "Bill Eagles" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 masters fought using a boxing style?
### Context:
CREATE TABLE table_14937957_1 (masters VARCHAR, martial_art_style VARCHAR) [/INST]
### Response:
SELECT COUNT(masters) FROM table_14937957_1 WHERE martial_art_style = "Boxing" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many times did episode 1.8 air?
### Context:
CREATE TABLE table_14937957_1 (original_airdate VARCHAR, episode__number VARCHAR) [/INST]
### Response:
SELECT COUNT(original_airdate) FROM table_14937957_1 WHERE episode__number = "1.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 masters fought in hapkido style?
### Context:
CREATE TABLE table_14937957_1 (masters VARCHAR, martial_art_style VARCHAR) [/INST]
### Response:
SELECT masters FROM table_14937957_1 WHERE martial_art_style = "Hapkido" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When did the episode featuring a master using Brazilian jiu-jitsu air?
### Context:
CREATE TABLE table_14937957_1 (original_airdate VARCHAR, martial_art_style VARCHAR) [/INST]
### Response:
SELECT original_airdate FROM table_14937957_1 WHERE martial_art_style = "Brazilian Jiu-Jitsu" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In which country is the city of Netanya?
### Context:
CREATE TABLE table_14937957_1 (country VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT country FROM table_14937957_1 WHERE city = "Netanya" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 martial arts style was shown in Rio de Janeiro?
### Context:
CREATE TABLE table_14937957_1 (martial_art_style VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT martial_art_style FROM table_14937957_1 WHERE city = "Rio de Janeiro" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 74804 is the attendance what week is it?
### Context:
CREATE TABLE table_14941284_1 (week VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT week FROM table_14941284_1 WHERE attendance = 74804 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 it is October 25, 1981 who is the opponent?
### Context:
CREATE TABLE table_14941284_1 (opponent VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_14941284_1 WHERE date = "October 25, 1981" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 it is week 2 what is the record?
### Context:
CREATE TABLE table_14941284_1 (record VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT record FROM table_14941284_1 WHERE week = 2 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When it is October 18, 1981 where is the game site?
### Context:
CREATE TABLE table_14941284_1 (game_site VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT game_site FROM table_14941284_1 WHERE date = "October 18, 1981" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 median income for age band being under 20
### Context:
CREATE TABLE table_14946657_3 (median_income VARCHAR, age_band VARCHAR) [/INST]
### Response:
SELECT median_income FROM table_14946657_3 WHERE age_band = "Under 20" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many episodes in history have a running time of 24:06?
### Context:
CREATE TABLE table_1498589_1 (archive VARCHAR, run_time VARCHAR) [/INST]
### Response:
SELECT COUNT(archive) FROM table_1498589_1 WHERE run_time = "24:06" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 southern lakota for híŋhaŋna
### Context:
CREATE TABLE table_1499774_5 (southern_lakota VARCHAR, yankton_yanktonai VARCHAR) [/INST]
### Response:
SELECT southern_lakota FROM table_1499774_5 WHERE yankton_yanktonai = "híŋhaŋna" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 santee sisseton for wičháša
### Context:
CREATE TABLE table_1499774_5 (santee_sisseton VARCHAR, yankton_yanktonai VARCHAR) [/INST]
### Response:
SELECT santee_sisseton FROM table_1499774_5 WHERE yankton_yanktonai = "wičháša" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.