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 number of areas where the townland is brittas?
### Context:
CREATE TABLE table_30120560_1 (area__acres__ VARCHAR, townland VARCHAR) [/INST]
### Response:
SELECT COUNT(area__acres__) FROM table_30120560_1 WHERE townland = "Brittas" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Poor Law Union for Coolkirky?
### Context:
CREATE TABLE table_30120633_1 (poor_law_union VARCHAR, townland VARCHAR) [/INST]
### Response:
SELECT poor_law_union FROM table_30120633_1 WHERE townland = "Coolkirky" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 few acres is the area of Clashroe?
### Context:
CREATE TABLE table_30120633_1 (area__acres__ INTEGER, townland VARCHAR) [/INST]
### Response:
SELECT MIN(area__acres__) FROM table_30120633_1 WHERE townland = "Clashroe" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 townland has a 213 acre area?
### Context:
CREATE TABLE table_30120633_1 (townland VARCHAR, area__acres__ VARCHAR) [/INST]
### Response:
SELECT townland FROM table_30120633_1 WHERE area__acres__ = 213 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 acres does the area of Lissagroom with Bandon as its poor law union cover?
### Context:
CREATE TABLE table_30120633_1 (area__acres__ VARCHAR, poor_law_union VARCHAR, townland VARCHAR) [/INST]
### Response:
SELECT area__acres__ FROM table_30120633_1 WHERE poor_law_union = "Bandon" AND townland = "Lissagroom" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Ballymurphy North's civil parish?
### Context:
CREATE TABLE table_30120633_1 (civil_parish VARCHAR, townland VARCHAR) [/INST]
### Response:
SELECT civil_parish FROM table_30120633_1 WHERE townland = "Ballymurphy North" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 acres in the townland of Coomroe?
### Context:
CREATE TABLE table_30120761_1 (area__acres__ VARCHAR, townland VARCHAR) [/INST]
### Response:
SELECT COUNT(area__acres__) FROM table_30120761_1 WHERE townland = "Coomroe" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the acreages of the townlands in the Macroom poor law union and Macroom civil parish?
### Context:
CREATE TABLE table_30120761_1 (area__acres__ VARCHAR, poor_law_union VARCHAR, civil_parish VARCHAR) [/INST]
### Response:
SELECT area__acres__ FROM table_30120761_1 WHERE poor_law_union = "Macroom" AND civil_parish = "Macroom" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 baronies is Maulnagrough a part of?
### Context:
CREATE TABLE table_30120761_1 (barony VARCHAR, townland VARCHAR) [/INST]
### Response:
SELECT COUNT(barony) FROM table_30120761_1 WHERE townland = "Maulnagrough" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the townlands that have exactly 131 acres.
### Context:
CREATE TABLE table_30120761_1 (townland VARCHAR, area__acres__ VARCHAR) [/INST]
### Response:
SELECT townland FROM table_30120761_1 WHERE area__acres__ = 131 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 acreage of the Maghereen in the civil parish of Macroom?
### Context:
CREATE TABLE table_30120761_1 (area__acres__ VARCHAR, civil_parish VARCHAR, townland VARCHAR) [/INST]
### Response:
SELECT COUNT(area__acres__) FROM table_30120761_1 WHERE civil_parish = "Macroom" AND townland = "Maghereen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 poor law union when the townland is bohonagh?
### Context:
CREATE TABLE table_30121075_1 (poor_law_union VARCHAR, townland VARCHAR) [/INST]
### Response:
SELECT poor_law_union FROM table_30121075_1 WHERE townland = "Bohonagh" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 entries are in barony when the townland is derrigra?
### Context:
CREATE TABLE table_30121075_1 (barony VARCHAR, townland VARCHAR) [/INST]
### Response:
SELECT COUNT(barony) FROM table_30121075_1 WHERE townland = "Derrigra" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 entries are listed in poor law union when townland is dromidiclogh?
### Context:
CREATE TABLE table_30121075_1 (poor_law_union VARCHAR, townland VARCHAR) [/INST]
### Response:
SELECT COUNT(poor_law_union) FROM table_30121075_1 WHERE townland = "Dromidiclogh" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 area when the poor law union is skibbereen and the townland is knockmore?
### Context:
CREATE TABLE table_30121075_1 (area__acres__ VARCHAR, poor_law_union VARCHAR, townland VARCHAR) [/INST]
### Response:
SELECT area__acres__ FROM table_30121075_1 WHERE poor_law_union = "Skibbereen" AND townland = "Knockmore" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 circuit located in baltimore , maryland?
### Context:
CREATE TABLE table_30134667_2 (circuit VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT circuit FROM table_30134667_2 WHERE location = "Baltimore , Maryland" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 circuit was located in st. petersburg, florida?
### Context:
CREATE TABLE table_30134667_2 (circuit VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT circuit FROM table_30134667_2 WHERE location = "St. Petersburg, Florida" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who had the fastest lap in bowmanville, ontario?
### Context:
CREATE TABLE table_30134667_2 (fastest_lap VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT fastest_lap FROM table_30134667_2 WHERE location = "Bowmanville, Ontario" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who had the fastest lap on september 4?
### Context:
CREATE TABLE table_30134667_2 (fastest_lap VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT fastest_lap FROM table_30134667_2 WHERE date = "September 4" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the 1985 value for the year when GDP as of 2012 after PPP was 369.38?
### Context:
CREATE TABLE table_30133_3 (gdp_as_of_2012_after_purchasing_power_parity__ppp__calculations__usd_billions_ VARCHAR) [/INST]
### Response:
SELECT 1985 FROM table_30133_3 WHERE gdp_as_of_2012_after_purchasing_power_parity__ppp__calculations__usd_billions_ = "369.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:
What was the gap from Thailand as of 2012 for China?
### Context:
CREATE TABLE table_30133_3 (gap_from_thailand_as_of_2012__times_ VARCHAR, economy VARCHAR) [/INST]
### Response:
SELECT gap_from_thailand_as_of_2012__times_ FROM table_30133_3 WHERE economy = "China" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the maximum 2010 value for China?
### Context:
CREATE TABLE table_30133_3 (economy VARCHAR) [/INST]
### Response:
SELECT MAX(2010) FROM table_30133_3 WHERE economy = "China" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gap from Thailand as of 2012 for the country whose 1980 gap was 0.29?
### Context:
CREATE TABLE table_30133_3 (gap_from_thailand_as_of_2012__times_ VARCHAR, gap_from_thailand_as_of_1980__times_ VARCHAR) [/INST]
### Response:
SELECT gap_from_thailand_as_of_2012__times_ FROM table_30133_3 WHERE gap_from_thailand_as_of_1980__times_ = "0.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:
How many GDPs as of 2012 after PPP values are associated with a 2012 value of 23113?
### Context:
CREATE TABLE table_30133_3 (gdp_as_of_2012_after_purchasing_power_parity__ppp__calculations__usd_billions_ VARCHAR) [/INST]
### Response:
SELECT COUNT(gdp_as_of_2012_after_purchasing_power_parity__ppp__calculations__usd_billions_) FROM table_30133_3 WHERE 2012 = 23113 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 max 2010 value for a 1980 gap value is 2.43?
### Context:
CREATE TABLE table_30133_3 (gap_from_thailand_as_of_1980__times_ VARCHAR) [/INST]
### Response:
SELECT MAX(2010) FROM table_30133_3 WHERE gap_from_thailand_as_of_1980__times_ = "2.43" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in the UK did episode 50 have?
### Context:
CREATE TABLE table_30139175_3 (uk_total_viewers VARCHAR, episode_no VARCHAR) [/INST]
### Response:
SELECT uk_total_viewers FROM table_30139175_3 WHERE episode_no = 50 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the doubles W-L for player of laurynas grigelis
### Context:
CREATE TABLE table_name_91 (doubles_w_l VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT doubles_w_l FROM table_name_91 WHERE player = "laurynas grigelis" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 newest Cap with a Goals stat larger than 17 and which was done by Brian Turner?
### Context:
CREATE TABLE table_name_64 (most_recent_cap VARCHAR, goals VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT most_recent_cap FROM table_name_64 WHERE goals > 17 AND name = "brian turner" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nationality of school/club team of barton cc (ks)?
### Context:
CREATE TABLE table_name_65 (nationality VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_name_65 WHERE school_club_team = "barton cc (ks)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Shawn Respert play for what school/club team?
### Context:
CREATE TABLE table_name_66 (school_club_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT school_club_team FROM table_name_66 WHERE player = "shawn respert" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has position in year 1996-97 in Toronto?
### Context:
CREATE TABLE table_name_88 (position VARCHAR, years_in_toronto VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_88 WHERE years_in_toronto = "1996-97" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Roy Rogers play for what school/club team?
### Context:
CREATE TABLE table_name_38 (school_club_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT school_club_team FROM table_name_38 WHERE player = "roy rogers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is United States school/club team from Arkansas play in Toronto
### Context:
CREATE TABLE table_name_87 (years_in_toronto VARCHAR, nationality VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT years_in_toronto FROM table_name_87 WHERE nationality = "united states" AND school_club_team = "arkansas" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player from United States who play in year 2003-06 in Toronto?
### Context:
CREATE TABLE table_name_8 (player VARCHAR, nationality VARCHAR, years_in_toronto VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_8 WHERE nationality = "united states" AND years_in_toronto = "2003-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:
Tell me the average units sold for square enix
### Context:
CREATE TABLE table_name_46 (units_sold INTEGER, publisher VARCHAR) [/INST]
### Response:
SELECT AVG(units_sold) FROM table_name_46 WHERE publisher = "square enix" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the date for nicolas pereira
### Context:
CREATE TABLE table_name_60 (date VARCHAR, partnering VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_60 WHERE partnering = "nicolas pereira" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date in 1986?
### Context:
CREATE TABLE table_name_14 (date VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_14 WHERE year = 1986 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year for Ponce, Puerto Rico events?
### Context:
CREATE TABLE table_name_15 (year INTEGER, venue VARCHAR) [/INST]
### Response:
SELECT AVG(year) FROM table_name_15 WHERE venue = "ponce, puerto rico" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did she place 8th in the junior race?
### Context:
CREATE TABLE table_name_9 (year VARCHAR, event VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT year FROM table_name_9 WHERE event = "junior race" AND position = "8th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the NHL team for ryan johnson
### Context:
CREATE TABLE table_name_69 (nhl_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT nhl_team FROM table_name_69 WHERE player = "ryan johnson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the position for pick of 47
### Context:
CREATE TABLE table_name_68 (position VARCHAR, pick VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_68 WHERE pick = "47" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the pick for pittsburgh penguins
### Context:
CREATE TABLE table_name_12 (pick VARCHAR, nhl_team VARCHAR) [/INST]
### Response:
SELECT pick FROM table_name_12 WHERE nhl_team = "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:
Tell me the nationality for rudolf vercik
### Context:
CREATE TABLE table_name_51 (nationality VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_name_51 WHERE player = "rudolf vercik" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the player for nationality of canada for pick of 43
### Context:
CREATE TABLE table_name_85 (player VARCHAR, nationality VARCHAR, pick VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_85 WHERE nationality = "canada" AND pick = "43" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the college for jason holland
### Context:
CREATE TABLE table_name_2 (college_junior_club_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT college_junior_club_team FROM table_name_2 WHERE player = "jason holland" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the date for rudolf caracciola for avusrennen
### Context:
CREATE TABLE table_name_91 (date VARCHAR, winning_driver VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_91 WHERE winning_driver = "rudolf caracciola" AND name = "avusrennen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the circuit for 10 may for targa florio
### Context:
CREATE TABLE table_name_79 (circuit VARCHAR, date VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT circuit FROM table_name_79 WHERE date = "10 may" AND name = "targa florio" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Washington tournament?
### Context:
CREATE TABLE table_name_20 (score VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_20 WHERE tournament = "washington" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On what date was Patty Fendick an opponent?
### Context:
CREATE TABLE table_name_95 (date VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_95 WHERE opponent = "patty fendick" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 does Vasil Levski National Stadium, Sofia earn?
### Context:
CREATE TABLE table_name_62 (score VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_62 WHERE venue = "vasil levski national stadium, sofia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did vasil levski national stadium, sofia, which was friendly during competition, earn?
### Context:
CREATE TABLE table_name_96 (score VARCHAR, competition VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_96 WHERE competition = "friendly" AND venue = "vasil levski national stadium, sofia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nationality of the Washington Capitals?
### Context:
CREATE TABLE table_name_68 (nationality VARCHAR, nhl_team VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_name_68 WHERE nhl_team = "washington capitals" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 NHL team does Roman Vopat play for?
### Context:
CREATE TABLE table_name_57 (nhl_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT nhl_team FROM table_name_57 WHERE player = "roman vopat" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the player from the Ukraine?
### Context:
CREATE TABLE table_name_1 (position VARCHAR, nationality VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_1 WHERE nationality = "ukraine" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Tournament did he place 12th in?
### Context:
CREATE TABLE table_name_58 (tournament VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_58 WHERE result = "12th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 first year he placed 12th
### Context:
CREATE TABLE table_name_9 (year INTEGER, result VARCHAR) [/INST]
### Response:
SELECT MIN(year) FROM table_name_9 WHERE result = "12th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the circuit for alfa romeo swedish ice race
### Context:
CREATE TABLE table_name_5 (circuit VARCHAR, winning_constructor VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT circuit FROM table_name_5 WHERE winning_constructor = "alfa romeo" AND name = "swedish ice race" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the date for bugatti fpr stanislas czaykowski
### Context:
CREATE TABLE table_name_60 (date VARCHAR, winning_constructor VARCHAR, winning_driver VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_60 WHERE winning_constructor = "bugatti" AND winning_driver = "stanislas czaykowski" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the circuit for 20 august
### Context:
CREATE TABLE table_name_99 (circuit VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT circuit FROM table_name_99 WHERE date = "20 august" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the winning driver for avusrennen
### Context:
CREATE TABLE table_name_70 (winning_driver VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT winning_driver FROM table_name_70 WHERE name = "avusrennen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the report for bugatti and brooklands
### Context:
CREATE TABLE table_name_96 (report VARCHAR, winning_constructor VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT report FROM table_name_96 WHERE winning_constructor = "bugatti" AND circuit = "brooklands" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many years has there been a competition in Helsinki?
### Context:
CREATE TABLE table_name_78 (year VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_name_78 WHERE location = "helsinki" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 competition before 1982 had a score of 2:3?
### Context:
CREATE TABLE table_name_96 (competition VARCHAR, year VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT competition FROM table_name_96 WHERE year < 1982 AND score = "2: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 competition occurred after 1980 with a score of 0:5 in Jerusalem?
### Context:
CREATE TABLE table_name_51 (competition VARCHAR, location VARCHAR, year VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT competition FROM table_name_51 WHERE year > 1980 AND score = "0:5" AND location = "jerusalem" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 there an attendance of 51,342?
### Context:
CREATE TABLE table_name_6 (date VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_6 WHERE attendance = "51,342" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 attendance during week 7?
### Context:
CREATE TABLE table_name_88 (attendance VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_name_88 WHERE week = 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 was the score during week 16?
### Context:
CREATE TABLE table_name_12 (result VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_12 WHERE week = 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:
Who is the mInister who left office during 1960?
### Context:
CREATE TABLE table_name_58 (minister VARCHAR, left_office VARCHAR) [/INST]
### Response:
SELECT minister FROM table_name_58 WHERE left_office = "1960" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 government is number 6?
### Context:
CREATE TABLE table_name_63 (government VARCHAR, number VARCHAR) [/INST]
### Response:
SELECT government FROM table_name_63 WHERE number = 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:
Which rider had a speed of 90.57mph?
### Context:
CREATE TABLE table_name_59 (rider VARCHAR, speed VARCHAR) [/INST]
### Response:
SELECT rider FROM table_name_59 WHERE speed = "90.57mph" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 place smaller than 8 and points smaller than 5?
### Context:
CREATE TABLE table_name_63 (country VARCHAR, place VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_63 WHERE place < 8 AND points < 5 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest number of Losses when the number of Wins is less than 4, the number of Tie is 2, and the Place is 5?
### Context:
CREATE TABLE table_name_38 (losses INTEGER, place VARCHAR, wins VARCHAR, ties VARCHAR) [/INST]
### Response:
SELECT MIN(losses) FROM table_name_38 WHERE wins < 4 AND ties = 2 AND place = 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:
Tell me the post-season record for kansas city
### Context:
CREATE TABLE table_name_55 (post_season_record_ VARCHAR, e_ VARCHAR, mlb_affiliate VARCHAR) [/INST]
### Response:
SELECT post_season_record_[e_] FROM table_name_55 WHERE mlb_affiliate = "kansas city" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the venue of 29 april 2007
### Context:
CREATE TABLE table_name_14 (venue VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_14 WHERE date = "29 april 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:
Tell me the competition of 20 august 2008
### Context:
CREATE TABLE table_name_87 (competition VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT competition FROM table_name_87 WHERE date = "20 august 2008" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the date of stade des martyrs, dr congo
### Context:
CREATE TABLE table_name_89 (date VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_89 WHERE venue = "stade des martyrs, dr congo" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 money, in millions, is paid to Infotalent?
### Context:
CREATE TABLE table_name_92 (amount__millions_ VARCHAR, payee VARCHAR) [/INST]
### Response:
SELECT amount__millions_ FROM table_name_92 WHERE payee = "infotalent" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 purpose of Euromarine?
### Context:
CREATE TABLE table_name_52 (purpose VARCHAR, payee VARCHAR) [/INST]
### Response:
SELECT purpose FROM table_name_52 WHERE payee = "euromarine" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 signatory has a purpose of police security and Infotalent payee?
### Context:
CREATE TABLE table_name_71 (signatories VARCHAR, purpose VARCHAR, payee VARCHAR) [/INST]
### Response:
SELECT signatories FROM table_name_71 WHERE purpose = "police security" AND payee = "infotalent" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the highest launced for trn
### Context:
CREATE TABLE table_name_1 (launched INTEGER, name VARCHAR) [/INST]
### Response:
SELECT MAX(launched) FROM table_name_1 WHERE name = "trn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the period for red rock
### Context:
CREATE TABLE table_name_25 (period VARCHAR, place VARCHAR) [/INST]
### Response:
SELECT period FROM table_name_25 WHERE place = "red rock" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the province for 260km ese of calgary
### Context:
CREATE TABLE table_name_15 (province VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT province FROM table_name_15 WHERE location = "260km ese of calgary" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the province of 1941-1946
### Context:
CREATE TABLE table_name_49 (province VARCHAR, period VARCHAR) [/INST]
### Response:
SELECT province FROM table_name_49 WHERE period = "1941-1946" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the degree for chemistry 1965
### Context:
CREATE TABLE table_name_90 (degree VARCHAR, award_year VARCHAR, award VARCHAR) [/INST]
### Response:
SELECT degree FROM table_name_90 WHERE award_year = 1965 AND award = "chemistry" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Election date for Member william richmond category:articles with hcards?
### Context:
CREATE TABLE table_name_49 (election_date VARCHAR, member VARCHAR) [/INST]
### Response:
SELECT election_date FROM table_name_49 WHERE member = "william richmond category:articles with hcards" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 election date for the city of auckland category:articles with hcards?
### Context:
CREATE TABLE table_name_16 (election_date VARCHAR, electorate VARCHAR) [/INST]
### Response:
SELECT election_date FROM table_name_16 WHERE electorate = "city of auckland category:articles with hcards" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 electorate does Member dingley brittin category:articles with hcards represent?
### Context:
CREATE TABLE table_name_37 (electorate VARCHAR, member VARCHAR) [/INST]
### Response:
SELECT electorate FROM table_name_37 WHERE member = "dingley brittin category:articles with hcards" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 election date for the electorate of member charles brown category:articles with hcards?
### Context:
CREATE TABLE table_name_94 (election_date VARCHAR, member VARCHAR) [/INST]
### Response:
SELECT election_date FROM table_name_94 WHERE member = "charles brown category:articles with hcards" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the date for acts of 6 bands and year larger than 1981 for monsters of rock
### Context:
CREATE TABLE table_name_4 (date VARCHAR, event VARCHAR, acts VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_4 WHERE acts = "6 bands" AND year > 1981 AND event = "monsters of rock" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the stages for 1981
### Context:
CREATE TABLE table_name_42 (stages VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT stages FROM table_name_42 WHERE year = 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:
Tell me the event for 6 bands
### Context:
CREATE TABLE table_name_74 (event VARCHAR, acts VARCHAR) [/INST]
### Response:
SELECT event FROM table_name_74 WHERE acts = "6 bands" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lightweight value with no information model and the flexible value is unknown?
### Context:
CREATE TABLE table_name_79 (lightweight VARCHAR, information_model VARCHAR, flexible VARCHAR) [/INST]
### Response:
SELECT lightweight FROM table_name_79 WHERE information_model = "no" AND flexible = "unknown" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the bore for a 9-cyl radial on a 9 AD?
### Context:
CREATE TABLE table_name_8 (bore VARCHAR, cyl VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT bore FROM table_name_8 WHERE cyl = "9-cyl radial" AND name = "9 ad" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bore goes with an 18 AB?
### Context:
CREATE TABLE table_name_9 (bore VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT bore FROM table_name_9 WHERE name = "18 ab" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the venue for notes of 10.93 secs
### Context:
CREATE TABLE table_name_45 (venue VARCHAR, notes VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_45 WHERE notes = "10.93 secs" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the venue for year less than 2003
### Context:
CREATE TABLE table_name_81 (venue VARCHAR, year INTEGER) [/INST]
### Response:
SELECT venue FROM table_name_81 WHERE year < 2003 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points team Alfa Romeo 184T won?
### Context:
CREATE TABLE table_name_56 (points INTEGER, team_chassis VARCHAR) [/INST]
### Response:
SELECT SUM(points) FROM table_name_56 WHERE team_chassis = "alfa romeo 184t" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 engine was used after 1984?
### Context:
CREATE TABLE table_name_87 (engine VARCHAR, year INTEGER) [/INST]
### Response:
SELECT engine FROM table_name_87 WHERE year > 1984 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In which year were the points more than 0?
### Context:
CREATE TABLE table_name_72 (year VARCHAR, points INTEGER) [/INST]
### Response:
SELECT year FROM table_name_72 WHERE points > 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 were the Tyres after 1984?
### Context:
CREATE TABLE table_name_22 (tyres VARCHAR, year INTEGER) [/INST]
### Response:
SELECT tyres FROM table_name_22 WHERE year > 1984 </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.