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 maximum money list rank for Matt Hansen?
### Context:
CREATE TABLE table_24747844_2 (money_list_rank INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MAX(money_list_rank) FROM table_24747844_2 WHERE player = "Matt Hansen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the minimum money list rank for the players having a best finish of T9?
### Context:
CREATE TABLE table_24747844_2 (money_list_rank INTEGER, best_finish VARCHAR) [/INST]
### Response:
SELECT MIN(money_list_rank) FROM table_24747844_2 WHERE best_finish = "T9" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the minimum number of starts for the players having a best finish of T18?
### Context:
CREATE TABLE table_24747844_2 (starts INTEGER, best_finish VARCHAR) [/INST]
### Response:
SELECT MIN(starts) FROM table_24747844_2 WHERE best_finish = "T18" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the minimum number of cuts made for Hunter Mahan?
### Context:
CREATE TABLE table_24747844_2 (cuts_made INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MIN(cuts_made) FROM table_24747844_2 WHERE player = "Hunter Mahan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 profession of the celebrity who was featured on season 15 and finished 7th place?
### Context:
CREATE TABLE table_24775967_1 (notability_profession VARCHAR, season VARCHAR, finish VARCHAR) [/INST]
### Response:
SELECT notability_profession FROM table_24775967_1 WHERE season = 15 AND finish = "7th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winner is the outcome what is the score?
### Context:
CREATE TABLE table_24901152_2 (score VARCHAR, outcome VARCHAR) [/INST]
### Response:
SELECT score FROM table_24901152_2 WHERE outcome = "Winner" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 us open (2) is the championship what is the surface?
### Context:
CREATE TABLE table_24901152_2 (surface VARCHAR, championship VARCHAR) [/INST]
### Response:
SELECT surface FROM table_24901152_2 WHERE championship = "US Open (2)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When Australian open is the championship what is the lowest year?
### Context:
CREATE TABLE table_24901152_2 (year INTEGER, championship VARCHAR) [/INST]
### Response:
SELECT MIN(year) FROM table_24901152_2 WHERE championship = "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:
When alicia molik is the partner what is the outcome?
### Context:
CREATE TABLE table_24901152_2 (outcome VARCHAR, partner VARCHAR) [/INST]
### Response:
SELECT outcome FROM table_24901152_2 WHERE partner = "Alicia Molik" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When did they win 7 races?
### Context:
CREATE TABLE table_24937583_1 (seasons VARCHAR, wins VARCHAR) [/INST]
### Response:
SELECT seasons FROM table_24937583_1 WHERE wins = 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 were the starts when the points dropped 18?
### Context:
CREATE TABLE table_24937583_1 (races__starts_ VARCHAR, points__dropped_points_ VARCHAR) [/INST]
### Response:
SELECT races__starts_ FROM table_24937583_1 WHERE points__dropped_points_ = "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:
What is the minimum amount of poles?
### Context:
CREATE TABLE table_24937583_1 (poles INTEGER) [/INST]
### Response:
SELECT MIN(poles) FROM table_24937583_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 was the least amount of wins?
### Context:
CREATE TABLE table_24937583_1 (wins INTEGER) [/INST]
### Response:
SELECT MIN(wins) FROM table_24937583_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 value for congi core 1 if the code name is Redwood and core clock(mhz) is 500?
### Context:
CREATE TABLE table_25005714_3 (config_core_1 VARCHAR, code_name VARCHAR, core_clock___mhz__ VARCHAR) [/INST]
### Response:
SELECT config_core_1 FROM table_25005714_3 WHERE code_name = "Redwood" AND core_clock___mhz__ = "500" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every bus type for the texture of fillrate?
### Context:
CREATE TABLE table_25005714_3 (bus_type VARCHAR, texture___gt__s_ VARCHAR) [/INST]
### Response:
SELECT bus_type FROM table_25005714_3 WHERE texture___gt__s_ = "Fillrate" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every code name for the model Radeon HD 6650m?
### Context:
CREATE TABLE table_25005714_3 (code_name VARCHAR, model VARCHAR) [/INST]
### Response:
SELECT code_name FROM table_25005714_3 WHERE model = "Radeon HD 6650M" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 place is there a change of -19.3?
### Context:
CREATE TABLE table_2500440_1 (name VARCHAR, change___percentage_ VARCHAR) [/INST]
### Response:
SELECT COUNT(name) FROM table_2500440_1 WHERE change___percentage_ = "-19.3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the density per km in Smoky Lake County?
### Context:
CREATE TABLE table_2500440_1 (population_density__per_km_2__ VARCHAR, municipal_district VARCHAR) [/INST]
### Response:
SELECT population_density__per_km_2__ FROM table_2500440_1 WHERE municipal_district = "Smoky Lake County" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the population per km2 in Fishing Lake?
### Context:
CREATE TABLE table_2500440_1 (population_density__per_km_2__ VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT population_density__per_km_2__ FROM table_2500440_1 WHERE name = "Fishing Lake" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 density in Buffalo Lake?
### Context:
CREATE TABLE table_2500440_1 (population_density__per_km_2__ VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT population_density__per_km_2__ FROM table_2500440_1 WHERE name = "Buffalo Lake" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was lynn muscarella the high school principal and charlie wiltse the superintendent?
### Context:
CREATE TABLE table_25037577_1 (year VARCHAR, high_school_principal VARCHAR, superintendent VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_25037577_1 WHERE high_school_principal = "Lynn Muscarella" AND superintendent = "Charlie Wiltse" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were the superintendent(s) when the middle school principal was alan degroote, the gorham principal was paul lahue, and the year was 2006-2007?
### Context:
CREATE TABLE table_25037577_1 (superintendent VARCHAR, year VARCHAR, middle_school_principal VARCHAR, gorham_principal VARCHAR) [/INST]
### Response:
SELECT superintendent FROM table_25037577_1 WHERE middle_school_principal = "Alan Degroote" AND gorham_principal = "Paul Lahue" AND year = "2006-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:
Who was the gorham principal in 2010-2011?
### Context:
CREATE TABLE table_25037577_1 (gorham_principal VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT gorham_principal FROM table_25037577_1 WHERE year = "2010-2011" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 middlesex principals were there in 2000-2001?
### Context:
CREATE TABLE table_25037577_1 (middlesex_principal VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT COUNT(middlesex_principal) FROM table_25037577_1 WHERE year = "2000-2001" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many high school principals were there in 2000-2001?
### Context:
CREATE TABLE table_25037577_1 (high_school_principal VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT high_school_principal FROM table_25037577_1 WHERE year = "2000-2001" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who were the middle school principal(s) in 2010-2011?
### Context:
CREATE TABLE table_25037577_1 (middle_school_principal VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT middle_school_principal FROM table_25037577_1 WHERE year = "2010-2011" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Mark Cavendish wins sprint classification and Maarten Tjallingii wins most courageous, who wins youth classification?
### Context:
CREATE TABLE table_25055040_22 (youth_classification VARCHAR, sprint_classification VARCHAR, most_courageous VARCHAR) [/INST]
### Response:
SELECT youth_classification FROM table_25055040_22 WHERE sprint_classification = "Mark Cavendish" AND most_courageous = "Maarten Tjallingii" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won the mountains classification when Maarten Tjallingii won most corageous?
### Context:
CREATE TABLE table_25055040_22 (mountains_classification VARCHAR, most_courageous VARCHAR) [/INST]
### Response:
SELECT mountains_classification FROM table_25055040_22 WHERE most_courageous = "Maarten Tjallingii" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Brett Lancaster won the general classification, who won the team calssification?
### Context:
CREATE TABLE table_25055040_22 (team_classification VARCHAR, general_classification VARCHAR) [/INST]
### Response:
SELECT team_classification FROM table_25055040_22 WHERE general_classification = "Brett Lancaster" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Peter Sagan won the youth classification and Thomas Rabou won the most corageous, who won the sprint classification?
### Context:
CREATE TABLE table_25055040_22 (sprint_classification VARCHAR, youth_classification VARCHAR, most_courageous VARCHAR) [/INST]
### Response:
SELECT sprint_classification FROM table_25055040_22 WHERE youth_classification = "Peter Sagan" AND most_courageous = "Thomas Rabou" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Yaroslav Popovych won most corageous, who won the mountains classification?
### Context:
CREATE TABLE table_25055040_22 (mountains_classification VARCHAR, most_courageous VARCHAR) [/INST]
### Response:
SELECT mountains_classification FROM table_25055040_22 WHERE most_courageous = "Yaroslav Popovych" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Ryan Anderson won the mountains classification, and Michael Rogers won the general classification, who won the sprint classification?
### Context:
CREATE TABLE table_25055040_22 (sprint_classification VARCHAR, mountains_classification VARCHAR, general_classification VARCHAR) [/INST]
### Response:
SELECT sprint_classification FROM table_25055040_22 WHERE mountains_classification = "Ryan Anderson" AND general_classification = "Michael 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 the rank in the top 10 when the winnings were $1,741,176?
### Context:
CREATE TABLE table_2506300_1 (top_10 INTEGER, winnings VARCHAR) [/INST]
### Response:
SELECT MIN(top_10) FROM table_2506300_1 WHERE winnings = "$1,741,176" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
when the gdp per emissions (in us dollars per ton) is 3903, what is the maximum annual co2 emissions (in thousands of metric tons)?
### Context:
CREATE TABLE table_2508175_1 (annual_co2_emissions__in_thousands_of_metric_tons_ INTEGER, gdp_per_emissions__in_us_dollars_per_ton_ VARCHAR) [/INST]
### Response:
SELECT MAX(annual_co2_emissions__in_thousands_of_metric_tons_) FROM table_2508175_1 WHERE gdp_per_emissions__in_us_dollars_per_ton_ = 3903 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
when the annual co2 emissions (in thousands of metric tons) is 1811, what is the country?
### Context:
CREATE TABLE table_2508175_1 (country VARCHAR, annual_co2_emissions__in_thousands_of_metric_tons_ VARCHAR) [/INST]
### Response:
SELECT country FROM table_2508175_1 WHERE annual_co2_emissions__in_thousands_of_metric_tons_ = 1811 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pick number did the buffalo bills get?
### Context:
CREATE TABLE table_2508633_5 (pick__number VARCHAR, nfl_team VARCHAR) [/INST]
### Response:
SELECT pick__number FROM table_2508633_5 WHERE nfl_team = "Buffalo Bills" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bruce baldwin's pick #?
### Context:
CREATE TABLE table_2508633_5 (pick__number VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT pick__number FROM table_2508633_5 WHERE player = "Bruce Baldwin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the highest pick number the los angeles raiders got?
### Context:
CREATE TABLE table_2508633_5 (pick__number INTEGER, nfl_team VARCHAR) [/INST]
### Response:
SELECT MAX(pick__number) FROM table_2508633_5 WHERE nfl_team = "Los Angeles Raiders" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which player did the green bay packers pick?
### Context:
CREATE TABLE table_2508633_5 (player VARCHAR, nfl_team VARCHAR) [/INST]
### Response:
SELECT player FROM table_2508633_5 WHERE nfl_team = "Green Bay Packers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 players did the philadelphia eagles pick?
### Context:
CREATE TABLE table_2508633_5 (position VARCHAR, nfl_team VARCHAR) [/INST]
### Response:
SELECT COUNT(position) FROM table_2508633_5 WHERE nfl_team = "Philadelphia Eagles" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Mame the reg season for 2001
### Context:
CREATE TABLE table_2511876_1 (reg_season VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT reg_season FROM table_2511876_1 WHERE year = 2001 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the league for 2003
### Context:
CREATE TABLE table_2511876_1 (league VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT league FROM table_2511876_1 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:
Name the number of playoffs for 3rd round
### Context:
CREATE TABLE table_2511876_1 (playoffs VARCHAR, open_cup VARCHAR) [/INST]
### Response:
SELECT COUNT(playoffs) FROM table_2511876_1 WHERE open_cup = "3rd Round" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of years for usisl pro league
### Context:
CREATE TABLE table_2511876_1 (year VARCHAR, league VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_2511876_1 WHERE league = "USISL Pro league" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 playoffs for usisl select league
### Context:
CREATE TABLE table_2511876_1 (playoffs VARCHAR, league VARCHAR) [/INST]
### Response:
SELECT playoffs FROM table_2511876_1 WHERE league = "USISL Select league" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position did the driver earn 31 points?
### Context:
CREATE TABLE table_25146455_1 (position VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT position FROM table_25146455_1 WHERE points = 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:
In what series did Bobby Labonte drive?
### Context:
CREATE TABLE table_25146455_1 (series VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT series FROM table_25146455_1 WHERE driver = "Bobby Labonte" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In what position was the driver who won $60,000?
### Context:
CREATE TABLE table_25146455_1 (position INTEGER, winnings VARCHAR) [/INST]
### Response:
SELECT MIN(position) FROM table_25146455_1 WHERE winnings = "$60,000" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did Jeff Burton win?
### Context:
CREATE TABLE table_25146455_1 (winnings VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT winnings FROM table_25146455_1 WHERE driver = "Jeff Burton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did Kenny Brack win?
### Context:
CREATE TABLE table_25146455_1 (winnings VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT winnings FROM table_25146455_1 WHERE driver = "Kenny Brack" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 special edition for the english version of james baskett?
### Context:
CREATE TABLE table_25173505_13 (special_edition VARCHAR, english_version VARCHAR) [/INST]
### Response:
SELECT special_edition FROM table_25173505_13 WHERE english_version = "James Baskett" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 special edition where the english version is nick stewart?
### Context:
CREATE TABLE table_25173505_13 (special_edition VARCHAR, english_version VARCHAR) [/INST]
### Response:
SELECT special_edition FROM table_25173505_13 WHERE english_version = "Nick Stewart" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 english version that is buena vista edition is daisuke gouri?
### Context:
CREATE TABLE table_25173505_13 (english_version VARCHAR, buena_vista_edition VARCHAR) [/INST]
### Response:
SELECT english_version FROM table_25173505_13 WHERE buena_vista_edition = "Daisuke Gouri" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 character where the special edition is koichi sakaguchi?
### Context:
CREATE TABLE table_25173505_13 (character VARCHAR, special_edition VARCHAR) [/INST]
### Response:
SELECT character FROM table_25173505_13 WHERE special_edition = "Koichi Sakaguchi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 buena vista edidtion where special edition is koichi sakaguchi?
### Context:
CREATE TABLE table_25173505_13 (buena_vista_edition VARCHAR, special_edition VARCHAR) [/INST]
### Response:
SELECT buena_vista_edition FROM table_25173505_13 WHERE special_edition = "Koichi Sakaguchi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 contestants were there when the runner-up was Monique Evans?
### Context:
CREATE TABLE table_25214321_1 (contestants INTEGER, runner_up VARCHAR) [/INST]
### Response:
SELECT MAX(contestants) FROM table_25214321_1 WHERE runner_up = "Monique Evans" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 contestants were there when the runner-up was Sérgio Abreu?
### Context:
CREATE TABLE table_25214321_1 (contestants INTEGER, runner_up VARCHAR) [/INST]
### Response:
SELECT MAX(contestants) FROM table_25214321_1 WHERE runner_up = "Sérgio Abreu" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In what season was the winner Dado Dolabella?
### Context:
CREATE TABLE table_25214321_1 (season INTEGER, winner VARCHAR) [/INST]
### Response:
SELECT MAX(season) FROM table_25214321_1 WHERE winner = "Dado Dolabella" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winner when Mateus Rocha finished in 3rd place?
### Context:
CREATE TABLE table_25214321_1 (winner VARCHAR, third_place VARCHAR) [/INST]
### Response:
SELECT winner FROM table_25214321_1 WHERE third_place = "Mateus Rocha" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In what season did Raquel Pacheco finish in third place?
### Context:
CREATE TABLE table_25214321_1 (season VARCHAR, third_place VARCHAR) [/INST]
### Response:
SELECT season FROM table_25214321_1 WHERE third_place = "Raquel Pacheco" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 finished in third place when the winner was Karina Bacchi?
### Context:
CREATE TABLE table_25214321_1 (third_place VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT third_place FROM table_25214321_1 WHERE winner = "Karina Bacchi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
List the branding name for channel tv-62.
### Context:
CREATE TABLE table_2523809_1 (branding VARCHAR, channel VARCHAR) [/INST]
### Response:
SELECT branding FROM table_2523809_1 WHERE channel = "TV-62" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 area did estrella tv 62 provide coverage for?
### Context:
CREATE TABLE table_2523809_1 (coverage VARCHAR, branding VARCHAR) [/INST]
### Response:
SELECT coverage FROM table_2523809_1 WHERE branding = "Estrella TV 62" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
List the power output for Phoenix.
### Context:
CREATE TABLE table_2523809_1 (power__kw_ VARCHAR, coverage VARCHAR) [/INST]
### Response:
SELECT power__kw_ FROM table_2523809_1 WHERE coverage = "Phoenix" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
List the branding for krca-tv.
### Context:
CREATE TABLE table_2523809_1 (branding VARCHAR, callsign VARCHAR) [/INST]
### Response:
SELECT branding FROM table_2523809_1 WHERE callsign = "KRCA-TV" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 power output for channel tv-29?
### Context:
CREATE TABLE table_2523809_1 (power__kw_ VARCHAR, channel VARCHAR) [/INST]
### Response:
SELECT power__kw_ FROM table_2523809_1 WHERE channel = "TV-29" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which city did kpnz-tv provide coverage for?
### Context:
CREATE TABLE table_2523809_1 (coverage VARCHAR, callsign VARCHAR) [/INST]
### Response:
SELECT coverage FROM table_2523809_1 WHERE callsign = "KPNZ-TV" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 renewable energy (gw×h) for the state of Delaware?
### Context:
CREATE TABLE table_25244412_1 (renewable_electricity__gw INTEGER, state VARCHAR) [/INST]
### Response:
SELECT MAX(renewable_electricity__gw) AS •h_ FROM table_25244412_1 WHERE state = "Delaware" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 state has 5179 (gw×h) of renewable energy without hydrogen power?wha
### Context:
CREATE TABLE table_25244412_1 (state VARCHAR, renewable_electricity_w_o_hydro__gw•h_ VARCHAR) [/INST]
### Response:
SELECT state FROM table_25244412_1 WHERE renewable_electricity_w_o_hydro__gw•h_ = 5179 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 renewable electricity is 5760 (gw×h) what is the minimum amount of renewable elecrrixity without hydrogen power?
### Context:
CREATE TABLE table_25244412_1 (renewable_electricity_w_o_hydro__gw INTEGER, renewable_electricity__gw•h_ VARCHAR) [/INST]
### Response:
SELECT MIN(renewable_electricity_w_o_hydro__gw) AS •h_ FROM table_25244412_1 WHERE renewable_electricity__gw•h_ = 5760 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 amount of renewable electricity without hydrogen power when the percentage of renewable energy is 83.4?
### Context:
CREATE TABLE table_25244412_1 (renewable_electricity_w_o_hydro__gw•h_ VARCHAR, _percentage_renewable VARCHAR) [/INST]
### Response:
SELECT renewable_electricity_w_o_hydro__gw•h_ FROM table_25244412_1 WHERE _percentage_renewable = "83.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 states have renewable electricity equal to 9667 (gw×h)?
### Context:
CREATE TABLE table_25244412_1 (state VARCHAR, renewable_electricity__gw•h_ VARCHAR) [/INST]
### Response:
SELECT state FROM table_25244412_1 WHERE renewable_electricity__gw•h_ = 9667 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 shown for august 21-22 when november 3 is november 3, 1994?
### Context:
CREATE TABLE table_25252080_3 (august_21_22 VARCHAR, november_3 VARCHAR) [/INST]
### Response:
SELECT august_21_22 FROM table_25252080_3 WHERE november_3 = "november_3, 1994" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the number for march 27-29 whern november 3 is 153?
### Context:
CREATE TABLE table_25252080_3 (march_27_29 VARCHAR, november_3 VARCHAR) [/INST]
### Response:
SELECT march_27_29 FROM table_25252080_3 WHERE november_3 = "153" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What number is shown for january 15-16 when november 3 is 133?
### Context:
CREATE TABLE table_25252080_3 (january_15_16 VARCHAR, november_3 VARCHAR) [/INST]
### Response:
SELECT january_15_16 FROM table_25252080_3 WHERE november_3 = "133" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 shown for november 3 when june 10-11 is june 10, 1964?
### Context:
CREATE TABLE table_25252080_3 (november_3 VARCHAR, june_10_11 VARCHAR) [/INST]
### Response:
SELECT november_3 FROM table_25252080_3 WHERE june_10_11 = "June 10, 1964" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
november 3 where march 27-29 is 149?
### Context:
CREATE TABLE table_25252080_3 (november_3 VARCHAR, march_27_29 VARCHAR) [/INST]
### Response:
SELECT november_3 FROM table_25252080_3 WHERE march_27_29 = "149" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What number is shown for november 3 where january 15-16 is 151?
### Context:
CREATE TABLE table_25252080_3 (november_3 VARCHAR, january_15_16 VARCHAR) [/INST]
### Response:
SELECT november_3 FROM table_25252080_3 WHERE january_15_16 = "151" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were outputs is 2x pro bias, rca loop out and notes is vacuum tube released?
### Context:
CREATE TABLE table_25276250_3 (release_year VARCHAR, outputs VARCHAR, notes VARCHAR) [/INST]
### Response:
SELECT release_year FROM table_25276250_3 WHERE outputs = "2x Pro Bias, RCA Loop Out" AND notes = "Vacuum tube" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 outputs are there for solid state, battery operated for portable use listed in notes?
### Context:
CREATE TABLE table_25276250_3 (outputs VARCHAR, notes VARCHAR) [/INST]
### Response:
SELECT COUNT(outputs) FROM table_25276250_3 WHERE notes = "Solid state, battery operated for portable use" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sang for the movie Amar Deep?
### Context:
CREATE TABLE table_2528382_5 (singer VARCHAR, movie_album VARCHAR) [/INST]
### Response:
SELECT singer FROM table_2528382_5 WHERE movie_album = "Amar Deep" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 movie did Vijayalaxmi Co-star in and Shakeel Badayuni write the lyrics?
### Context:
CREATE TABLE table_2528382_5 (movie_album VARCHAR, co_stars VARCHAR, lyricist VARCHAR) [/INST]
### Response:
SELECT movie_album FROM table_2528382_5 WHERE co_stars = "VijayaLaxmi" AND lyricist = "Shakeel Badayuni" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Naushad Direct the Music?
### Context:
CREATE TABLE table_2528382_5 (year INTEGER, music_director VARCHAR) [/INST]
### Response:
SELECT MAX(year) FROM table_2528382_5 WHERE music_director = "Naushad" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 co-singers were there when Parveen Babi co-starred?
### Context:
CREATE TABLE table_2528382_5 (singers VARCHAR, Co VARCHAR, co_stars VARCHAR) [/INST]
### Response:
SELECT COUNT(Co) - singers FROM table_2528382_5 WHERE co_stars = "Parveen Babi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 movie did Bela Bose co-star in?
### Context:
CREATE TABLE table_2528382_5 (movie_album VARCHAR, co_stars VARCHAR) [/INST]
### Response:
SELECT movie_album FROM table_2528382_5 WHERE co_stars = "Bela Bose" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wrote the lyrics when Jeevankala co-starred?
### Context:
CREATE TABLE table_2528382_5 (lyricist VARCHAR, co_stars VARCHAR) [/INST]
### Response:
SELECT lyricist FROM table_2528382_5 WHERE co_stars = "Jeevankala" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many episodes are written by Lew Schneider?
### Context:
CREATE TABLE table_25356350_2 (series__number VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT COUNT(series__number) FROM table_25356350_2 WHERE written_by = "Lew Schneider" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title of the episode written by Jack Orman?
### Context:
CREATE TABLE table_25356350_2 (title VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT title FROM table_25356350_2 WHERE written_by = "Jack Orman" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 millions) did episode 1 have?
### Context:
CREATE TABLE table_25356350_2 (viewers__in_millions_ VARCHAR, series__number VARCHAR) [/INST]
### Response:
SELECT viewers__in_millions_ FROM table_25356350_2 WHERE series__number = 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:
How many games played catagories are there for Lauren McGee?
### Context:
CREATE TABLE table_25401874_1 (games_played VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT COUNT(games_played) FROM table_25401874_1 WHERE name = "Lauren McGee" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 numbers belong to the player with 10 assists?
### Context:
CREATE TABLE table_25401874_1 (number VARCHAR, assists VARCHAR) [/INST]
### Response:
SELECT COUNT(number) FROM table_25401874_1 WHERE assists = 10 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many names are listed for the player with 50 points?
### Context:
CREATE TABLE table_25401874_1 (name VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(name) FROM table_25401874_1 WHERE points = 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 type of school is in swarthmore, pennsylvania?
### Context:
CREATE TABLE table_254776_1 (type VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT type FROM table_254776_1 WHERE location = "Swarthmore, Pennsylvania" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Dickinson College founded?
### Context:
CREATE TABLE table_254776_1 (founded VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT founded FROM table_254776_1 WHERE institution = "Dickinson College" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 F.L. are listed for Formula Three Euroseries?
### Context:
CREATE TABLE table_25548630_1 (fl VARCHAR, series VARCHAR) [/INST]
### Response:
SELECT COUNT(fl) FROM table_25548630_1 WHERE series = "Formula Three Euroseries" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are the most poles listed?
### Context:
CREATE TABLE table_25548630_1 (poles INTEGER) [/INST]
### Response:
SELECT MAX(poles) FROM table_25548630_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 least amount of podiums?
### Context:
CREATE TABLE table_25548630_1 (podiums INTEGER) [/INST]
### Response:
SELECT MIN(podiums) FROM table_25548630_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:
How many points does Marussia Manor Racing have?
### Context:
CREATE TABLE table_25548630_1 (points VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(points) FROM table_25548630_1 WHERE team = "Marussia Manor 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:
What are all the vicinity (km²) where profits magnificence (2007) is 2nd
### Context:
CREATE TABLE table_255812_1 (area__km²_ VARCHAR, income_class__2007_ VARCHAR) [/INST]
### Response:
SELECT area__km²_ FROM table_255812_1 WHERE income_class__2007_ = "2nd" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 profits elegance (2007) in which mayor is ma. Ester a. Hamor
### Context:
CREATE TABLE table_255812_1 (income_class__2007_ VARCHAR, mayor VARCHAR) [/INST]
### Response:
SELECT income_class__2007_ FROM table_255812_1 WHERE mayor = "Ma. Ester A. Hamor" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.