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:
in riyadh, saudi arabia, what is the score?
### Context:
CREATE TABLE table_name_12 (score VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_12 WHERE venue = "riyadh, saudi arabia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Pocona Municipality (%) is the lowest one that has a Puerto Villarroel Municipality (%) smaller than 14.6, and a Chimoré Municipality (%) of 5.1, and an Entre Ríos Municipality (%) smaller than 0.9?
### Context:
CREATE TABLE table_name_61 (pocona_municipality___percentage_ INTEGER, entre_ríos_municipality___percentage_ VARCHAR, puerto_villarroel_municipality___percentage_ VARCHAR, chimoré_municipality___percentage_ VARCHAR) [/INST]
### Response:
SELECT MIN(pocona_municipality___percentage_) FROM table_name_61 WHERE puerto_villarroel_municipality___percentage_ < 14.6 AND chimoré_municipality___percentage_ = 5.1 AND entre_ríos_municipality___percentage_ < 0.9 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Puerto Villarroel Municipality (%) is the lowest one that has an Ethnic group of not indigenous, and a Totora Municipality (%) smaller than 4.4?
### Context:
CREATE TABLE table_name_94 (puerto_villarroel_municipality___percentage_ INTEGER, ethnic_group VARCHAR, totora_municipality___percentage_ VARCHAR) [/INST]
### Response:
SELECT MIN(puerto_villarroel_municipality___percentage_) FROM table_name_94 WHERE ethnic_group = "not indigenous" AND totora_municipality___percentage_ < 4.4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Pocona Municipality (%) has a Puerto Villarroel Municipality (%) larger than 14.6, and a Pojo Municipality (%) smaller than 88.5?
### Context:
CREATE TABLE table_name_6 (pocona_municipality___percentage_ INTEGER, puerto_villarroel_municipality___percentage_ VARCHAR, pojo_municipality___percentage_ VARCHAR) [/INST]
### Response:
SELECT SUM(pocona_municipality___percentage_) FROM table_name_6 WHERE puerto_villarroel_municipality___percentage_ > 14.6 AND pojo_municipality___percentage_ < 88.5 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Totora Municipality (%) is the highest one that has a Chimoré Municipality (%) of 5.1, and a Pocona Municipality (%) smaller than 0.2?
### Context:
CREATE TABLE table_name_72 (totora_municipality___percentage_ INTEGER, chimoré_municipality___percentage_ VARCHAR, pocona_municipality___percentage_ VARCHAR) [/INST]
### Response:
SELECT MAX(totora_municipality___percentage_) FROM table_name_72 WHERE chimoré_municipality___percentage_ = 5.1 AND pocona_municipality___percentage_ < 0.2 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Pos has a Car # smaller than 18, and a Driver of mike skinner?
### Context:
CREATE TABLE table_name_91 (pos INTEGER, car__number VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT AVG(pos) FROM table_name_91 WHERE car__number < 18 AND driver = "mike skinner" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Team has a Pos larger than 3, and a Make of toyota, and a Car # smaller than 59, and a Driver of mike skinner?
### Context:
CREATE TABLE table_name_75 (team VARCHAR, driver VARCHAR, car__number VARCHAR, pos VARCHAR, make VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_75 WHERE pos > 3 AND make = "toyota" AND car__number < 59 AND driver = "mike skinner" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Pos has a Team of roush fenway racing, and a Car # of 99?
### Context:
CREATE TABLE table_name_32 (pos INTEGER, team VARCHAR, car__number VARCHAR) [/INST]
### Response:
SELECT SUM(pos) FROM table_name_32 WHERE team = "roush fenway racing" AND car__number = 99 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Car # has a Make of toyota, and a Pos of 7?
### Context:
CREATE TABLE table_name_93 (car__number INTEGER, make VARCHAR, pos VARCHAR) [/INST]
### Response:
SELECT AVG(car__number) FROM table_name_93 WHERE make = "toyota" AND pos = 7 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Pos has a Team of germian racing?
### Context:
CREATE TABLE table_name_68 (pos VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT pos FROM table_name_68 WHERE team = "germian racing" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Opponent has a Score of 2–6?
### Context:
CREATE TABLE table_name_64 (opponent VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_64 WHERE score = "2–6" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Game has a Series of flyers win 3–0? Question 3
### Context:
CREATE TABLE table_name_8 (game INTEGER, series VARCHAR) [/INST]
### Response:
SELECT MAX(game) FROM table_name_8 WHERE series = "flyers win 3–0" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Series is on april 18?
### Context:
CREATE TABLE table_name_84 (series VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT series FROM table_name_84 WHERE date = "april 18" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the date with score of 9-2
### Context:
CREATE TABLE table_name_49 (date VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_49 WHERE score = "9-2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Points is the highest one that has a Nationality of aut, and a Name of thomas morgenstern?
### Context:
CREATE TABLE table_name_32 (points INTEGER, nationality VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT MAX(points) FROM table_name_32 WHERE nationality = "aut" AND name = "thomas morgenstern" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sum of the capacities for Carrigh wind warm that has a size of 0.85 MW and more than 3 turbines?
### Context:
CREATE TABLE table_name_31 (capacity__mw_ INTEGER, turbines VARCHAR, size__mw_ VARCHAR, wind_farm VARCHAR) [/INST]
### Response:
SELECT SUM(capacity__mw_) FROM table_name_31 WHERE size__mw_ = "0.85" AND wind_farm = "carrigh" AND turbines > 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 size of the windfarm in wexford that has more than 19 turbines and a vendor of Enercon?
### Context:
CREATE TABLE table_name_87 (size__mw_ VARCHAR, county VARCHAR, turbines VARCHAR, turbine_vendor VARCHAR) [/INST]
### Response:
SELECT size__mw_ FROM table_name_87 WHERE turbines > 19 AND turbine_vendor = "enercon" AND county = "wexford" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 turbine vendor for Meenadreen in Donegal county with less than 6 turbines with a size of 0.85 MW?
### Context:
CREATE TABLE table_name_85 (turbine_vendor VARCHAR, wind_farm VARCHAR, size__mw_ VARCHAR, turbines VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT turbine_vendor FROM table_name_85 WHERE turbines < 6 AND county = "donegal" AND size__mw_ = "0.85" AND wind_farm = "meenadreen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the population where the rank is higher than 51 and the Median House-hold income is $25,250?
### Context:
CREATE TABLE table_name_50 (population INTEGER, rank VARCHAR, median_house__hold_income VARCHAR) [/INST]
### Response:
SELECT SUM(population) FROM table_name_50 WHERE rank > 51 AND median_house__hold_income = "$25,250" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Population where the Median House-hold Income is $25,016?
### Context:
CREATE TABLE table_name_59 (population INTEGER, median_house__hold_income VARCHAR) [/INST]
### Response:
SELECT MIN(population) FROM table_name_59 WHERE median_house__hold_income = "$25,016" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Households that have a Per Capita Income of $21,345?
### Context:
CREATE TABLE table_name_59 (number_of_households INTEGER, per_capita_income VARCHAR) [/INST]
### Response:
SELECT AVG(number_of_households) FROM table_name_59 WHERE per_capita_income = "$21,345" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 a Median Family Income of $79,331?
### Context:
CREATE TABLE table_name_3 (county VARCHAR, median_family_income VARCHAR) [/INST]
### Response:
SELECT county FROM table_name_3 WHERE median_family_income = "$79,331" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 United States, with a total medal count of less than 171, and a bronze medal count less than 9, has how many gold medals?
### Context:
CREATE TABLE table_name_1 (gold INTEGER, bronze VARCHAR, total VARCHAR, nation VARCHAR) [/INST]
### Response:
SELECT MAX(gold) FROM table_name_1 WHERE total < 171 AND nation = "united states" AND bronze < 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:
How many total gold medals did Australia receive?
### Context:
CREATE TABLE table_name_80 (gold VARCHAR, nation VARCHAR) [/INST]
### Response:
SELECT COUNT(gold) FROM table_name_80 WHERE nation = "australia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bronze medals did Canada receive?
### Context:
CREATE TABLE table_name_58 (bronze INTEGER, nation VARCHAR) [/INST]
### Response:
SELECT MAX(bronze) FROM table_name_58 WHERE nation = "canada" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gold medals did India receive?
### Context:
CREATE TABLE table_name_10 (gold VARCHAR, nation VARCHAR) [/INST]
### Response:
SELECT gold FROM table_name_10 WHERE nation = "india" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1997's accompanying 1991 was a when the tournament was the australian open?
### Context:
CREATE TABLE table_name_57 (tournament VARCHAR) [/INST]
### Response:
SELECT 1997 FROM table_name_57 WHERE 1991 = "a" AND tournament = "australian open" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1997's 1992 was 1r when 1994 was a?
### Context:
CREATE TABLE table_name_77 (Id VARCHAR) [/INST]
### Response:
SELECT 1997 FROM table_name_77 WHERE 1992 = "1r" AND 1994 = "a" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1995's tournament was the French Open?
### Context:
CREATE TABLE table_name_61 (tournament VARCHAR) [/INST]
### Response:
SELECT 1995 FROM table_name_61 WHERE tournament = "french open" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1989's 1991 and 1994 stats were 1r?
### Context:
CREATE TABLE table_name_81 (Id VARCHAR) [/INST]
### Response:
SELECT 1989 FROM table_name_81 WHERE 1991 = "1r" AND 1994 = "1r" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1990s 1992 was 3r?
### Context:
CREATE TABLE table_name_78 (Id VARCHAR) [/INST]
### Response:
SELECT 1990 FROM table_name_78 WHERE 1992 = "3r" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Linda McCartney has a Stuart of electric guitar?
### Context:
CREATE TABLE table_name_80 (linda_mccartney VARCHAR, stuart VARCHAR) [/INST]
### Response:
SELECT linda_mccartney FROM table_name_80 WHERE stuart = "electric guitar" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Whitten has a Stuart of bass, and a Paul McCartney of electric guitar?
### Context:
CREATE TABLE table_name_12 (whitten VARCHAR, stuart VARCHAR, paul_mccartney VARCHAR) [/INST]
### Response:
SELECT whitten FROM table_name_12 WHERE stuart = "bass" AND paul_mccartney = "electric guitar" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 McIntosh has a Whitten of drums, and a Stuart of bass, and a Paul McCartney of electric guitar?
### Context:
CREATE TABLE table_name_88 (mcintosh VARCHAR, paul_mccartney VARCHAR, whitten VARCHAR, stuart VARCHAR) [/INST]
### Response:
SELECT mcintosh FROM table_name_88 WHERE whitten = "drums" AND stuart = "bass" AND paul_mccartney = "electric guitar" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Paul McCartney has a Linda McCartney of keyboards?
### Context:
CREATE TABLE table_name_98 (paul_mccartney VARCHAR, linda_mccartney VARCHAR) [/INST]
### Response:
SELECT paul_mccartney FROM table_name_98 WHERE linda_mccartney = "keyboards" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 McIntosh has a Stuart of bass, and a Linda McCartney of keyboards or drum?
### Context:
CREATE TABLE table_name_78 (mcintosh VARCHAR, stuart VARCHAR, linda_mccartney VARCHAR) [/INST]
### Response:
SELECT mcintosh FROM table_name_78 WHERE stuart = "bass" AND linda_mccartney = "keyboards or drum" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Paul McCartney has a Linda McCartney of keyboards or drum?
### Context:
CREATE TABLE table_name_15 (paul_mccartney VARCHAR, linda_mccartney VARCHAR) [/INST]
### Response:
SELECT paul_mccartney FROM table_name_15 WHERE linda_mccartney = "keyboards or drum" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 largest Grid that has a Bike of honda cbr1000rr, and a Time of +20.848, and a Lap greater than 24?
### Context:
CREATE TABLE table_name_70 (grid INTEGER, laps VARCHAR, bike VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT MAX(grid) FROM table_name_70 WHERE bike = "honda cbr1000rr" AND time = "+20.848" AND laps > 24 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
The nation of denmark has what average total nad more than 0 gold?
### Context:
CREATE TABLE table_name_70 (total INTEGER, nation VARCHAR, gold VARCHAR) [/INST]
### Response:
SELECT AVG(total) FROM table_name_70 WHERE nation = "denmark" AND gold > 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:
Switzerland has how many gold and less than 0 silver?
### Context:
CREATE TABLE table_name_61 (gold INTEGER, nation VARCHAR, silver VARCHAR) [/INST]
### Response:
SELECT MAX(gold) FROM table_name_61 WHERE nation = "switzerland" AND silver < 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:
How many years had a score of 734-5d?
### Context:
CREATE TABLE table_name_9 (year VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_name_9 WHERE score = "734-5d" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which venue had a city of Manchester before 2003?
### Context:
CREATE TABLE table_name_82 (venue VARCHAR, city VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_82 WHERE city = "manchester" AND 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:
Which venue had a city of Manchester in 2003?
### Context:
CREATE TABLE table_name_85 (venue VARCHAR, city VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_85 WHERE city = "manchester" AND 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:
Which venue had a score of 734-5d?
### Context:
CREATE TABLE table_name_8 (venue VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_8 WHERE score = "734-5d" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of top-5s for the major with 5 top-10s and fewer than 12 cuts made?
### Context:
CREATE TABLE table_name_3 (top_5 INTEGER, top_10 VARCHAR, cuts_made VARCHAR) [/INST]
### Response:
SELECT AVG(top_5) FROM table_name_3 WHERE top_10 = 5 AND cuts_made < 12 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average number of top-10s for the major with 2 top-25s and fewer than 10 cuts made?
### Context:
CREATE TABLE table_name_31 (top_10 INTEGER, top_25 VARCHAR, cuts_made VARCHAR) [/INST]
### Response:
SELECT AVG(top_10) FROM table_name_31 WHERE top_25 = 2 AND cuts_made < 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 total number of top-25s for the major that has 11 top-10s?
### Context:
CREATE TABLE table_name_95 (top_25 VARCHAR, top_10 VARCHAR) [/INST]
### Response:
SELECT COUNT(top_25) FROM table_name_95 WHERE top_10 = 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:
How many total events have cuts made over 12, more than 2 top-5s, and more than 11 top-10s?
### Context:
CREATE TABLE table_name_66 (events INTEGER, top_10 VARCHAR, cuts_made VARCHAR, top_5 VARCHAR) [/INST]
### Response:
SELECT SUM(events) FROM table_name_66 WHERE cuts_made > 12 AND top_5 > 2 AND top_10 > 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:
How many total wins are associated with events with 1 top-10?
### Context:
CREATE TABLE table_name_63 (wins INTEGER, top_10 VARCHAR) [/INST]
### Response:
SELECT SUM(wins) FROM table_name_63 WHERE top_10 = 1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average number of cuts made in events with fewer than 1 win and exactly 11 top-10s?
### Context:
CREATE TABLE table_name_93 (cuts_made INTEGER, top_10 VARCHAR, wins VARCHAR) [/INST]
### Response:
SELECT AVG(cuts_made) FROM table_name_93 WHERE top_10 = 11 AND wins < 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 week did they have a bye?
### Context:
CREATE TABLE table_name_52 (week VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT week FROM table_name_52 WHERE date = "bye" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in 2006 had a score of 0-0?
### Context:
CREATE TABLE table_name_5 (tournament VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_5 WHERE 2006 = "0-0" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the highest number of extra points scored by Albert Herrnstein, when he scored more than 15 points total?
### Context:
CREATE TABLE table_name_38 (extra_points INTEGER, player VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT MAX(extra_points) FROM table_name_38 WHERE player = "albert herrnstein" AND points > 15 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many touchdowns were scored by William Cole?
### Context:
CREATE TABLE table_name_88 (touchdowns VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT touchdowns FROM table_name_88 WHERE player = "william cole" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
For the game with 26,236 attendance, what was the record?
### Context:
CREATE TABLE table_name_81 (record VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_81 WHERE attendance = "26,236" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record for the game with an attendance of 49,222?
### Context:
CREATE TABLE table_name_28 (record VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_28 WHERE attendance = "49,222" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who had the most rebounds and how many did he have during the game on June 11?
### Context:
CREATE TABLE table_name_41 (high_rebounds VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_name_41 WHERE date = "june 11" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the leading scorer and how many did he score for the game on June 13?
### Context:
CREATE TABLE table_name_54 (high_points VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_name_54 WHERE date = "june 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:
What College/Junior/Club Team has Pick 50 before Round 8?
### Context:
CREATE TABLE table_name_19 (college_junior_club_team VARCHAR, round VARCHAR, pick VARCHAR) [/INST]
### Response:
SELECT college_junior_club_team FROM table_name_19 WHERE round < 8 AND pick = 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:
What is the highest overall prior to 1996 with a slalom of 39?
### Context:
CREATE TABLE table_name_33 (overall INTEGER, slalom VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT MAX(overall) FROM table_name_33 WHERE slalom = "39" AND season < 1996 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 overall score prior to 1992 with a downhill score of 1?
### Context:
CREATE TABLE table_name_57 (overall INTEGER, downhill VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT MIN(overall) FROM table_name_57 WHERE downhill = "1" AND season < 1992 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 her Giant Slalom score when her Overall was greater than 3 and her Super G score was 12?
### Context:
CREATE TABLE table_name_28 (Giant VARCHAR, overall VARCHAR, super_g VARCHAR) [/INST]
### Response:
SELECT Giant AS slalom FROM table_name_28 WHERE overall > 3 AND super_g = 12 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was her highest Super G score with a Slalom score of 58 and an Overall larger than 2?
### Context:
CREATE TABLE table_name_43 (super_g INTEGER, slalom VARCHAR, overall VARCHAR) [/INST]
### Response:
SELECT MAX(super_g) FROM table_name_43 WHERE slalom = "58" AND overall > 2 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What location has the name of Sakakita BS?
### Context:
CREATE TABLE table_name_7 (location__all_in_nagano__ VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT location__all_in_nagano__ FROM table_name_7 WHERE name = "sakakita bs" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 location includes Sakakita BS?
### Context:
CREATE TABLE table_name_18 (location__all_in_nagano__ VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT location__all_in_nagano__ FROM table_name_18 WHERE name = "sakakita bs" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 distance from origin in Azumino including Toyoshina IC?
### Context:
CREATE TABLE table_name_57 (dist_from_origin VARCHAR, location__all_in_nagano__ VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT dist_from_origin FROM table_name_57 WHERE location__all_in_nagano__ = "azumino" AND name = "toyoshina ic" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 district had first elected earlier than 2006 for representation of Broken Arrow, Tulsa?
### Context:
CREATE TABLE table_name_7 (district VARCHAR, first_elected VARCHAR, towns_represented VARCHAR) [/INST]
### Response:
SELECT district FROM table_name_7 WHERE first_elected < 2006 AND towns_represented = "broken arrow, tulsa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 first elected are for district 16?
### Context:
CREATE TABLE table_name_91 (first_elected VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT COUNT(first_elected) FROM table_name_91 WHERE district = "16" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which towns are represented in district 31?
### Context:
CREATE TABLE table_name_65 (towns_represented VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT towns_represented FROM table_name_65 WHERE district = "31" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many deposits had a Non-Interest Income of 0.9500000000000001 and number of branch/offices less than 17?
### Context:
CREATE TABLE table_name_63 (deposits VARCHAR, non_interest_income VARCHAR, no_of_branches_offices VARCHAR) [/INST]
### Response:
SELECT COUNT(deposits) FROM table_name_63 WHERE non_interest_income = 0.9500000000000001 AND no_of_branches_offices < 17 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which NPL net's bank was citibank?
### Context:
CREATE TABLE table_name_30 (npl_net VARCHAR, bank VARCHAR) [/INST]
### Response:
SELECT npl_net FROM table_name_30 WHERE bank = "citibank" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which championship has a winning score of (77-76-74-73=300)?
### Context:
CREATE TABLE table_name_88 (championship VARCHAR, winning_score VARCHAR) [/INST]
### Response:
SELECT championship FROM table_name_88 WHERE winning_score = (77 - 76 - 74 - 73 = 300) </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which championship has a margin of 8 strokes?
### Context:
CREATE TABLE table_name_89 (championship VARCHAR, margin VARCHAR) [/INST]
### Response:
SELECT championship FROM table_name_89 WHERE margin = "8 strokes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 54 holes for The Open Championship (4)?
### Context:
CREATE TABLE table_name_7 (championship VARCHAR) [/INST]
### Response:
SELECT 54 AS _holes FROM table_name_7 WHERE championship = "the open championship (4)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Tournament has a 2007 of wta premier 5 tournaments?
### Context:
CREATE TABLE table_name_28 (tournament VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_28 WHERE 2007 = "wta premier 5 tournaments" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Tournament was played in NH in 2011?
### Context:
CREATE TABLE table_name_38 (tournament VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_38 WHERE 2011 = "nh" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Tournament has a 2010 of 2r, and a 2011 of 1r?
### Context:
CREATE TABLE table_name_21 (tournament VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_21 WHERE 2010 = "2r" AND 2011 = "1r" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Color of green first issued?
### Context:
CREATE TABLE table_name_51 (first_issued INTEGER, color VARCHAR) [/INST]
### Response:
SELECT MIN(first_issued) FROM table_name_51 WHERE color = "green" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Color of green last issued?
### Context:
CREATE TABLE table_name_26 (first_issued INTEGER, color VARCHAR) [/INST]
### Response:
SELECT MAX(first_issued) FROM table_name_26 WHERE color = "green" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 reverse has a color of green?
### Context:
CREATE TABLE table_name_33 (reverse VARCHAR, color VARCHAR) [/INST]
### Response:
SELECT reverse FROM table_name_33 WHERE color = "green" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How much was a Reverse of guitar of agustín pío barrios before 1998?
### Context:
CREATE TABLE table_name_1 (value VARCHAR, first_issued VARCHAR, reverse VARCHAR) [/INST]
### Response:
SELECT value FROM table_name_1 WHERE first_issued < 1998 AND reverse = "guitar of agustín pío barrios" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 BYU's lowest pick?
### Context:
CREATE TABLE table_name_16 (pick__number INTEGER, college VARCHAR) [/INST]
### Response:
SELECT MIN(pick__number) FROM table_name_16 WHERE college = "byu" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which cornerback round has a pick number lower than 26 and an overall higher than 41?
### Context:
CREATE TABLE table_name_36 (round INTEGER, overall VARCHAR, pick__number VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT SUM(round) FROM table_name_36 WHERE pick__number < 26 AND position = "cornerback" AND overall > 41 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 overall number for the College of Wyoming?
### Context:
CREATE TABLE table_name_6 (overall VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT COUNT(overall) FROM table_name_6 WHERE college = "wyoming" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round for a wide receiver with an overall of more than 145?
### Context:
CREATE TABLE table_name_4 (round VARCHAR, position VARCHAR, overall VARCHAR) [/INST]
### Response:
SELECT COUNT(round) FROM table_name_4 WHERE position = "wide receiver" AND overall > 145 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 College of Ohio State's pick number with an overall lower than 145?
### Context:
CREATE TABLE table_name_42 (pick__number VARCHAR, overall VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT pick__number FROM table_name_42 WHERE overall < 145 AND college = "ohio state" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many are enrolled at 49 Marion with the Warriors as their mascot?
### Context:
CREATE TABLE table_name_74 (enrollment VARCHAR, _number___county VARCHAR, mascot VARCHAR) [/INST]
### Response:
SELECT COUNT(enrollment) FROM table_name_74 WHERE _number___county = "49 marion" AND mascot = "warriors" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is Terre Haute North located?
### Context:
CREATE TABLE table_name_35 (location VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_35 WHERE school = "terre haute 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:
What's the enrollment at 41 Johnson?
### Context:
CREATE TABLE table_name_24 (enrollment INTEGER, _number___county VARCHAR) [/INST]
### Response:
SELECT AVG(enrollment) FROM table_name_24 WHERE _number___county = "41 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:
What school has the greyhounds as mascots?
### Context:
CREATE TABLE table_name_56 (school VARCHAR, mascot VARCHAR) [/INST]
### Response:
SELECT school FROM table_name_56 WHERE mascot = "greyhounds" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
for type diesel-mechanical and configuration b-b, what is the status?
### Context:
CREATE TABLE table_name_4 (status VARCHAR, configuration VARCHAR, type VARCHAR) [/INST]
### Response:
SELECT status FROM table_name_4 WHERE configuration = "b-b" AND type = "diesel-mechanical" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the origin of the tth version?
### Context:
CREATE TABLE table_name_37 (origin VARCHAR, versions VARCHAR) [/INST]
### Response:
SELECT origin FROM table_name_37 WHERE versions = "tth" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record of game 7?
### Context:
CREATE TABLE table_name_4 (record VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_4 WHERE game = 7 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest number of points of the game before game 2 before October 10?
### Context:
CREATE TABLE table_name_18 (points INTEGER, october VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT MIN(points) FROM table_name_18 WHERE october < 10 AND game < 2 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what team played on july 9
### Context:
CREATE TABLE table_name_72 (opponent VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_72 WHERE date = "july 9" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the party of re-elected, incumbent Charles H. Grosvenor, who was first elected before 1894?
### Context:
CREATE TABLE table_name_3 (party VARCHAR, incumbent VARCHAR, result VARCHAR, first_elected VARCHAR) [/INST]
### Response:
SELECT party FROM table_name_3 WHERE result = "re-elected" AND first_elected < 1894 AND incumbent = "charles h. grosvenor" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the incumbent from the Ohio 13 district?
### Context:
CREATE TABLE table_name_50 (incumbent VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT incumbent FROM table_name_50 WHERE district = "ohio 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:
What is the party of the representative first elected in 1894 from the Ohio 16 district?
### Context:
CREATE TABLE table_name_22 (party VARCHAR, first_elected VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT party FROM table_name_22 WHERE first_elected = 1894 AND district = "ohio 16" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What score has Leicestershire as the opponent after 1906?
### Context:
CREATE TABLE table_name_58 (score VARCHAR, opposition VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_58 WHERE opposition = "leicestershire" AND year > 1906 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in Buxton has 3 runs?
### Context:
CREATE TABLE table_name_50 (venue VARCHAR, score VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_50 WHERE score = "3 runs" AND city = "buxton" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.