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 every time(cet) for the name of Lillehammer 2?
### Context:
CREATE TABLE table_21536557_2 (time__cet_ VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT time__cet_ FROM table_21536557_2 WHERE name = "Lillehammer 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:
Who is every name for time(cet) of 09:03?
### Context:
CREATE TABLE table_21536557_2 (name VARCHAR, time__cet_ VARCHAR) [/INST]
### Response:
SELECT name FROM table_21536557_2 WHERE time__cet_ = "09:03" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 days have a stage of ss11?
### Context:
CREATE TABLE table_21536557_2 (day VARCHAR, stage VARCHAR) [/INST]
### Response:
SELECT day FROM table_21536557_2 WHERE stage = "SS11" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 time(cet) for a time of 5:04.8?
### Context:
CREATE TABLE table_21536557_2 (time__cet_ VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT time__cet_ FROM table_21536557_2 WHERE time = "5:04.8" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many calibers require the type LB/RN?
### Context:
CREATE TABLE table_21538523_1 (caliber VARCHAR, type VARCHAR) [/INST]
### Response:
SELECT COUNT(caliber) FROM table_21538523_1 WHERE type = "LB/RN" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Type FJ/RN/SC is associated with what class?
### Context:
CREATE TABLE table_21538523_1 (class VARCHAR, type VARCHAR) [/INST]
### Response:
SELECT class FROM table_21538523_1 WHERE type = "FJ/RN/SC" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What type of glazing will stop a .44 magnum?
### Context:
CREATE TABLE table_21538523_1 (type VARCHAR, caliber VARCHAR) [/INST]
### Response:
SELECT type FROM table_21538523_1 WHERE caliber = ".44 Magnum" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 fewest shots a glazing can handle?
### Context:
CREATE TABLE table_21538523_1 (shots INTEGER) [/INST]
### Response:
SELECT MIN(shots) FROM table_21538523_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 range does type FJ/PB/SCP work at?
### Context:
CREATE TABLE table_21538523_1 (range__m_ VARCHAR, type VARCHAR) [/INST]
### Response:
SELECT range__m_ FROM table_21538523_1 WHERE type = "FJ/PB/SCP" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 drivetrain for 2ur-fse
### Context:
CREATE TABLE table_21530474_1 (drivetrain VARCHAR, engine_code VARCHAR) [/INST]
### Response:
SELECT drivetrain FROM table_21530474_1 WHERE engine_code = "2UR-FSE" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 regions for usf45
### Context:
CREATE TABLE table_21530474_1 (region_s_ VARCHAR, chassis_code VARCHAR) [/INST]
### Response:
SELECT region_s_ FROM table_21530474_1 WHERE chassis_code = "USF45" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 model number for usf46
### Context:
CREATE TABLE table_21530474_1 (model_no VARCHAR, chassis_code VARCHAR) [/INST]
### Response:
SELECT model_no FROM table_21530474_1 WHERE chassis_code = "USF46" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 drivetrain for 1ur-fse for usf41
### Context:
CREATE TABLE table_21530474_1 (drivetrain VARCHAR, engine_code VARCHAR, chassis_code VARCHAR) [/INST]
### Response:
SELECT drivetrain FROM table_21530474_1 WHERE engine_code = "1UR-FSE" AND chassis_code = "USF41" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 area which was 9.1 in October 2010, what is the figure for October 2012?
### Context:
CREATE TABLE table_21531764_1 (october_2012 VARCHAR, october_2010 VARCHAR) [/INST]
### Response:
SELECT october_2012 FROM table_21531764_1 WHERE october_2010 = "9.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:
Where is the rate 5.7 in October 2010?
### Context:
CREATE TABLE table_21531764_1 (employment_area VARCHAR, october_2010 VARCHAR) [/INST]
### Response:
SELECT employment_area FROM table_21531764_1 WHERE october_2010 = "5.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:
Name the original air date for 9.16 viewers
### Context:
CREATE TABLE table_21550870_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_21550870_1 WHERE us_viewers__million_ = "9.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:
Name the total number of production code for episode by steve cohen & andrew dettman
### Context:
CREATE TABLE table_21550870_1 (production_code VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT COUNT(production_code) FROM table_21550870_1 WHERE written_by = "Steve Cohen & Andrew Dettman" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in millions for 2011 where the HDI for 2011 is 0.453 (low)?
### Context:
CREATE TABLE table_2155836_1 (population__millions VARCHAR, _2011_ VARCHAR, hdi__2011_ VARCHAR) [/INST]
### Response:
SELECT population__millions, _2011_ FROM table_2155836_1 WHERE hdi__2011_ = "0.453 (low)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in millions for 2011 where the GDP (nominal) (billions USD) is 4?
### Context:
CREATE TABLE table_2155836_1 (population__millions VARCHAR, _2011_ VARCHAR, gdp__nominal___billions_usd_ VARCHAR) [/INST]
### Response:
SELECT population__millions, _2011_ FROM table_2155836_1 WHERE gdp__nominal___billions_usd_ = "4" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the HDI for 2011 in Tunisia?
### Context:
CREATE TABLE table_2155836_1 (hdi__2011_ VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT hdi__2011_ FROM table_2155836_1 WHERE country = "Tunisia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 GDP (PPP) (USD, per capita) for Algeria?
### Context:
CREATE TABLE table_2155836_1 (_per_capita_ VARCHAR, gdp__ppp___usd INTEGER, country VARCHAR) [/INST]
### Response:
SELECT MIN(gdp__ppp___usd), _per_capita_ FROM table_2155836_1 WHERE country = "Algeria" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cab size for 4 medium tanker
### Context:
CREATE TABLE table_2155350_2 (cab_size VARCHAR, category VARCHAR) [/INST]
### Response:
SELECT COUNT(cab_size) FROM table_2155350_2 WHERE category = "4 Medium tanker" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 category for cab size crew and super tanker
### Context:
CREATE TABLE table_2155350_2 (category VARCHAR, cab_size VARCHAR, sub_category VARCHAR) [/INST]
### Response:
SELECT category FROM table_2155350_2 WHERE cab_size = "Crew" AND sub_category = "Super tanker" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 capacity for single cab size 2 medium tanker
### Context:
CREATE TABLE table_2155350_2 (capacity__litres_ VARCHAR, cab_size VARCHAR, category VARCHAR) [/INST]
### Response:
SELECT capacity__litres_ FROM table_2155350_2 WHERE cab_size = "Single" AND category = "2 Medium tanker" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is in Brechin?
### Context:
CREATE TABLE table_21563298_1 (external_link VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT external_link FROM table_21563298_1 WHERE location = "Brechin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 kids go to Brechin High School?
### Context:
CREATE TABLE table_21563298_1 (roll INTEGER, school VARCHAR) [/INST]
### Response:
SELECT MAX(roll) FROM table_21563298_1 WHERE school = "Brechin High school" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Negro American League join?
### Context:
CREATE TABLE table_21564794_3 (began_in_st_louis INTEGER, league VARCHAR) [/INST]
### Response:
SELECT MIN(began_in_st_louis) FROM table_21564794_3 WHERE league = "Negro American 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 year did the team who played at the Scottrade Center leave the city?
### Context:
CREATE TABLE table_21564794_3 (left_st_louis INTEGER, venue VARCHAR) [/INST]
### Response:
SELECT MIN(left_st_louis) FROM table_21564794_3 WHERE venue = "Scottrade Center" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How may championships were won by the team that started in 1950?
### Context:
CREATE TABLE table_21564794_3 (championships_in_st_louis VARCHAR, began_in_st_louis VARCHAR) [/INST]
### Response:
SELECT championships_in_st_louis FROM table_21564794_3 WHERE began_in_st_louis = 1950 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 championships were won for arena football?
### Context:
CREATE TABLE table_21564794_3 (championships_in_st_louis VARCHAR, sport VARCHAR) [/INST]
### Response:
SELECT championships_in_st_louis FROM table_21564794_3 WHERE sport = "Arena Football" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 samai amari is the asian rider classification how many asian team classifications are there?
### Context:
CREATE TABLE table_21573750_2 (asian_team_classification VARCHAR, asian_rider_classification VARCHAR) [/INST]
### Response:
SELECT COUNT(asian_team_classification) FROM table_21573750_2 WHERE asian_rider_classification = "Samai Amari" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 4 is the stage who is the general classification?
### Context:
CREATE TABLE table_21573750_2 (general_classification VARCHAR, stage VARCHAR) [/INST]
### Response:
SELECT general_classification FROM table_21573750_2 WHERE stage = 4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the number in season for the episode written by Chris Mitchell and Erik Wiese?
### Context:
CREATE TABLE table_2156758_4 (no_in_season VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT no_in_season FROM table_2156758_4 WHERE written_by = "Chris Mitchell and Erik Wiese" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for episode number in series of 28?
### Context:
CREATE TABLE table_2156758_4 (title VARCHAR, no_in_series VARCHAR) [/INST]
### Response:
SELECT title FROM table_2156758_4 WHERE no_in_series = "28" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many titles were written by Don Shank and Genndy Tartakovsky?
### Context:
CREATE TABLE table_2156758_4 (title VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT COUNT(title) FROM table_2156758_4 WHERE written_by = "Don Shank and Genndy Tartakovsky" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 3rd, sedgemoor division 1 is the ladies 1st xi what is the mens 3rd xi?
### Context:
CREATE TABLE table_21576644_2 (mens_3rd_xi VARCHAR, ladies_1st_xi VARCHAR) [/INST]
### Response:
SELECT mens_3rd_xi FROM table_21576644_2 WHERE ladies_1st_xi = "3rd, Sedgemoor Division 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:
When 10th, south west district 1 is the mens 2nd xi what is the ladies 1st xi?
### Context:
CREATE TABLE table_21576644_2 (ladies_1st_xi VARCHAR, mens_2nd_xi VARCHAR) [/INST]
### Response:
SELECT ladies_1st_xi FROM table_21576644_2 WHERE mens_2nd_xi = "10th, South West District 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:
When 5th, south western district 2 is the mens 2nd xi what is the season?
### Context:
CREATE TABLE table_21576644_2 (season VARCHAR, mens_2nd_xi VARCHAR) [/INST]
### Response:
SELECT season FROM table_21576644_2 WHERE mens_2nd_xi = "5th, South Western District 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 6th, south division 2 is the mens 1st xi what is the mens 2nd xi?
### Context:
CREATE TABLE table_21576644_2 (mens_2nd_xi VARCHAR, mens_1st_xi VARCHAR) [/INST]
### Response:
SELECT mens_2nd_xi FROM table_21576644_2 WHERE mens_1st_xi = "6th, South Division 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 stage has kourdali as the name?
### Context:
CREATE TABLE table_21578303_2 (stage VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT stage FROM table_21578303_2 WHERE name = "Kourdali" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stage has 15:17 as time?
### Context:
CREATE TABLE table_21578303_2 (stage VARCHAR, time__eet_ VARCHAR) [/INST]
### Response:
SELECT stage FROM table_21578303_2 WHERE time__eet_ = "15:17" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the time when time is 10:46?
### Context:
CREATE TABLE table_21578303_2 (time VARCHAR, time__eet_ VARCHAR) [/INST]
### Response:
SELECT time FROM table_21578303_2 WHERE time__eet_ = "10:46" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the time when ss12 is stage?
### Context:
CREATE TABLE table_21578303_2 (time VARCHAR, stage VARCHAR) [/INST]
### Response:
SELECT time FROM table_21578303_2 WHERE stage = "SS12" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 state class for resigned november 3, 1964
### Context:
CREATE TABLE table_2159506_3 (state__class_ VARCHAR, reason_for_change VARCHAR) [/INST]
### Response:
SELECT state__class_ FROM table_2159506_3 WHERE reason_for_change = "Resigned November 3, 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:
How many champions are shown for the runner-up of stefan edberg?
### Context:
CREATE TABLE table_21584646_10 (champion VARCHAR, runner_up VARCHAR) [/INST]
### Response:
SELECT COUNT(champion) FROM table_21584646_10 WHERE runner_up = "Stefan Edberg" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was stefan edberg anders järryd was semifinalist and champion is john mcenroe 7–6, 6–3?
### Context:
CREATE TABLE table_21584646_10 (week_of VARCHAR, semifinalists VARCHAR, champion VARCHAR) [/INST]
### Response:
SELECT week_of FROM table_21584646_10 WHERE semifinalists = "Stefan Edberg Anders Järryd" AND champion = "John McEnroe 7–6, 6–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:
Who is the runner up for the champion of john mcenroe 6–2, 6–3?
### Context:
CREATE TABLE table_21584646_10 (runner_up VARCHAR, champion VARCHAR) [/INST]
### Response:
SELECT runner_up FROM table_21584646_10 WHERE champion = "John McEnroe 6–2, 6–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:
Who were the quarterfinalists for the runner-ups of mike de palmer gary donnelly?
### Context:
CREATE TABLE table_21584646_10 (quarterfinalists VARCHAR, runner_up VARCHAR) [/INST]
### Response:
SELECT quarterfinalists FROM table_21584646_10 WHERE runner_up = "Mike De Palmer Gary Donnelly" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who are the quarterfinalists for runner-up jimmy connors?
### Context:
CREATE TABLE table_21584646_10 (quarterfinalists VARCHAR, runner_up VARCHAR) [/INST]
### Response:
SELECT quarterfinalists FROM table_21584646_10 WHERE runner_up = "Jimmy Connors" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 weeks are shown for the champion of john mcenroe 6–2, 6–3?
### Context:
CREATE TABLE table_21584646_10 (week_of VARCHAR, champion VARCHAR) [/INST]
### Response:
SELECT COUNT(week_of) FROM table_21584646_10 WHERE champion = "John McEnroe 6–2, 6–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 every reason for change for the date of successors installation is March 16, 1960?
### Context:
CREATE TABLE table_2159571_1 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR) [/INST]
### Response:
SELECT reason_for_change FROM table_2159571_1 WHERE date_of_successors_formal_installation = "March 16, 1960" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is every vacator if date of successors formal installation is August 8, 1960?
### Context:
CREATE TABLE table_2159571_1 (vacator VARCHAR, date_of_successors_formal_installation VARCHAR) [/INST]
### Response:
SELECT vacator FROM table_2159571_1 WHERE date_of_successors_formal_installation = "August 8, 1960" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is every successor for the Washington 3rd District?
### Context:
CREATE TABLE table_2159571_2 (successor VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT successor FROM table_2159571_2 WHERE district = "Washington 3rd" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 reason for change for the Washington 3rd District?
### Context:
CREATE TABLE table_2159571_2 (reason_for_change VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT reason_for_change FROM table_2159571_2 WHERE district = "Washington 3rd" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 every vacator with reason for change as resigned December 31, 1959?
### Context:
CREATE TABLE table_2159571_2 (vacator VARCHAR, reason_for_change VARCHAR) [/INST]
### Response:
SELECT vacator FROM table_2159571_2 WHERE reason_for_change = "Resigned December 31, 1959" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 district was the successor seated August 31, 1943?
### Context:
CREATE TABLE table_2159537_3 (district VARCHAR, date_successor_seated VARCHAR) [/INST]
### Response:
SELECT district FROM table_2159537_3 WHERE date_successor_seated = "August 31, 1943" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 successor for the reason for change being "died January 16, 1944?
### Context:
CREATE TABLE table_2159537_3 (successor VARCHAR, reason_for_change VARCHAR) [/INST]
### Response:
SELECT successor FROM table_2159537_3 WHERE reason_for_change = "Died January 16, 1944" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the successor in New York 11th district?
### Context:
CREATE TABLE table_2159537_3 (successor VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT successor FROM table_2159537_3 WHERE district = "New York 11th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On what date was James P. Buchanan (d)'s successor seated?
### Context:
CREATE TABLE table_2159547_3 (date_successor_seated VARCHAR, vacator VARCHAR) [/INST]
### Response:
SELECT date_successor_seated FROM table_2159547_3 WHERE vacator = "James P. Buchanan (D)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 people vacated to successor Dave E. Satterfield, Jr. (d)?
### Context:
CREATE TABLE table_2159547_3 (vacator VARCHAR, successor VARCHAR) [/INST]
### Response:
SELECT COUNT(vacator) FROM table_2159547_3 WHERE successor = "Dave E. Satterfield, Jr. (D)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Why did Robert L. Bacon (r) vacate?
### Context:
CREATE TABLE table_2159547_3 (reason_for_change VARCHAR, vacator VARCHAR) [/INST]
### Response:
SELECT reason_for_change FROM table_2159547_3 WHERE vacator = "Robert L. Bacon (R)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Makio Inoue dubbed on which character?
### Context:
CREATE TABLE table_2160215_1 (character VARCHAR, original_japanese VARCHAR) [/INST]
### Response:
SELECT character FROM table_2160215_1 WHERE original_japanese = "Makio Inoue" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cast on the English (Manga UK) version if Kō Nishimura acted on the original Japanese?
### Context:
CREATE TABLE table_2160215_1 (english___manga_uk__ VARCHAR, original_japanese VARCHAR) [/INST]
### Response:
SELECT english___manga_uk__ FROM table_2160215_1 WHERE original_japanese = "Kō Nishimura" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original Japanese cast if Sean Barrett acted on the English (Manga UK) version?
### Context:
CREATE TABLE table_2160215_1 (original_japanese VARCHAR, english___manga_uk__ VARCHAR) [/INST]
### Response:
SELECT original_japanese FROM table_2160215_1 WHERE english___manga_uk__ = "Sean Barrett" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 district for reason for change being died july 4, 1939
### Context:
CREATE TABLE table_2160008_4 (district VARCHAR, reason_for_change VARCHAR) [/INST]
### Response:
SELECT district FROM table_2160008_4 WHERE reason_for_change = "Died July 4, 1939" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 reason for change on may 11, 1939
### Context:
CREATE TABLE table_2160008_4 (reason_for_change VARCHAR, date_successor_seated VARCHAR) [/INST]
### Response:
SELECT COUNT(reason_for_change) FROM table_2160008_4 WHERE date_successor_seated = "May 11, 1939" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 time and speed for the rider ranked in 12 on Wed, June 3?
### Context:
CREATE TABLE table_21607058_1 (wed_3_june VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT wed_3_june FROM table_21607058_1 WHERE rank = 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 series number for the Golden Frog?
### Context:
CREATE TABLE table_2161859_1 (series__number VARCHAR, title VARCHAR) [/INST]
### Response:
SELECT series__number FROM table_2161859_1 WHERE title = "The Golden Frog" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 artist for strip numbers 3932-4031a?
### Context:
CREATE TABLE table_2161859_1 (artist VARCHAR, strip_numbers VARCHAR) [/INST]
### Response:
SELECT artist FROM table_2161859_1 WHERE strip_numbers = "3932-4031A" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 got the first position when Ehime Shimanami got the third position?
### Context:
CREATE TABLE table_21632864_1 (champions VARCHAR, third_place VARCHAR) [/INST]
### Response:
SELECT champions FROM table_21632864_1 WHERE third_place = "Ehime Shimanami" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 got the third position when laranja kyoto got the second position?
### Context:
CREATE TABLE table_21632864_1 (third_place VARCHAR, runners_up VARCHAR) [/INST]
### Response:
SELECT third_place FROM table_21632864_1 WHERE runners_up = "Laranja Kyoto" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 persons got the third position whan sanyo electric tokushima got the fourth position?
### Context:
CREATE TABLE table_21632864_1 (third_place VARCHAR, fourth_place VARCHAR) [/INST]
### Response:
SELECT COUNT(third_place) FROM table_21632864_1 WHERE fourth_place = "Sanyo Electric Tokushima" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 persons got the fourth position when the regional was shikoku?
### Context:
CREATE TABLE table_21632864_1 (fourth_place VARCHAR, regional VARCHAR) [/INST]
### Response:
SELECT COUNT(fourth_place) FROM table_21632864_1 WHERE regional = "Shikoku" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 got the first place when the Japanese Regional Leagues was in hokushinetsu?
### Context:
CREATE TABLE table_21632864_1 (champions VARCHAR, regional VARCHAR) [/INST]
### Response:
SELECT champions FROM table_21632864_1 WHERE regional = "Hokushinetsu" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 got the first position when fujieda city government got the fourth position?
### Context:
CREATE TABLE table_21632864_1 (champions VARCHAR, fourth_place VARCHAR) [/INST]
### Response:
SELECT champions FROM table_21632864_1 WHERE fourth_place = "Fujieda City Government" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 civilian total when the security force total is 36?
### Context:
CREATE TABLE table_21636599_2 (civilians VARCHAR, security_forces VARCHAR) [/INST]
### Response:
SELECT civilians FROM table_21636599_2 WHERE security_forces = "36" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 security forces when the civilians are 202?
### Context:
CREATE TABLE table_21636599_2 (security_forces VARCHAR, civilians VARCHAR) [/INST]
### Response:
SELECT security_forces FROM table_21636599_2 WHERE civilians = "202" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 figures are named for security forces in 1998?
### Context:
CREATE TABLE table_21636599_2 (security_forces VARCHAR, period VARCHAR) [/INST]
### Response:
SELECT COUNT(security_forces) FROM table_21636599_2 WHERE period = 1998 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many insurgents are there when the total per period is 156?
### Context:
CREATE TABLE table_21636599_2 (insurgents VARCHAR, total_per_period VARCHAR) [/INST]
### Response:
SELECT insurgents FROM table_21636599_2 WHERE total_per_period = 156 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 U.S. viewers watched the episode directed by Frank Waldeck?
### Context:
CREATE TABLE table_21634403_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT us_viewers__millions_ FROM table_21634403_2 WHERE directed_by = "Frank Waldeck" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many tournaments were at sime darby lpga malaysia?
### Context:
CREATE TABLE table_21649285_2 (no VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT COUNT(no) FROM table_21649285_2 WHERE tournament = "Sime Darby LPGA Malaysia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Margin of victory on no. 4 was?
### Context:
CREATE TABLE table_21649285_2 (margin_of_victory VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT margin_of_victory FROM table_21649285_2 WHERE no = 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:
Who was the runner up when the won by 4 strokes?
### Context:
CREATE TABLE table_21649285_2 (runner_s__up VARCHAR, margin_of_victory VARCHAR) [/INST]
### Response:
SELECT runner_s__up FROM table_21649285_2 WHERE margin_of_victory = "4 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:
Which film title used in nomination has the year (ceremony) 1990 (63rd)?
### Context:
CREATE TABLE table_21655290_1 (film_title_used_in_nomination VARCHAR, year__ceremony_ VARCHAR) [/INST]
### Response:
SELECT film_title_used_in_nomination FROM table_21655290_1 WHERE year__ceremony_ = "1990 (63rd)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 director of kon-tiki original title?
### Context:
CREATE TABLE table_21655290_1 (director VARCHAR, original_title VARCHAR) [/INST]
### Response:
SELECT director FROM table_21655290_1 WHERE original_title = "Kon-Tiki" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 film title used in nomination has vinterkyss as the original title?
### Context:
CREATE TABLE table_21655290_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) [/INST]
### Response:
SELECT film_title_used_in_nomination FROM table_21655290_1 WHERE original_title = "Vinterkyss" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the date for the tournament McDonald's wpga championship?
### Context:
CREATE TABLE table_2167226_3 (date VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT date FROM table_2167226_3 WHERE tournament = "McDonald's WPGA Championship" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winning score when 5 strokes is the margin of victory?
### Context:
CREATE TABLE table_2167226_3 (winning_score VARCHAR, margin_of_victory VARCHAR) [/INST]
### Response:
SELECT winning_score FROM table_2167226_3 WHERE margin_of_victory = "5 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 to par with the winning score of 74-67-71-73=285?
### Context:
CREATE TABLE table_2167226_3 (to_par VARCHAR, winning_score VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_2167226_3 WHERE winning_score = 74 - 67 - 71 - 73 = 285 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the date of the winning score 74-67-71-73=285?
### Context:
CREATE TABLE table_2167226_3 (date VARCHAR, winning_score VARCHAR) [/INST]
### Response:
SELECT date FROM table_2167226_3 WHERE winning_score = 74 - 67 - 71 - 73 = 285 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number in series's are written by Greg Haddrick?
### Context:
CREATE TABLE table_21666472_1 (no_in_series VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT COUNT(no_in_series) FROM table_21666472_1 WHERE written_by = "Greg Haddrick" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were the odds of winner 16.66?
### Context:
CREATE TABLE table_21676617_1 (year VARCHAR, odds_of_winner VARCHAR) [/INST]
### Response:
SELECT year FROM table_21676617_1 WHERE odds_of_winner = "16.66" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winning time in the year when the odds of the winner were 2.94?
### Context:
CREATE TABLE table_21676617_1 (winning_time__km_rate_ VARCHAR, odds_of_winner VARCHAR) [/INST]
### Response:
SELECT winning_time__km_rate_ FROM table_21676617_1 WHERE odds_of_winner = "2.94" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Gentleman's odds of winner?
### Context:
CREATE TABLE table_21676617_1 (odds_of_winner VARCHAR, horse VARCHAR) [/INST]
### Response:
SELECT odds_of_winner FROM table_21676617_1 WHERE horse = "Gentleman" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 countries did Utah Bulwark's owner come from?
### Context:
CREATE TABLE table_21676617_1 (country_of_owner VARCHAR, horse VARCHAR) [/INST]
### Response:
SELECT COUNT(country_of_owner) FROM table_21676617_1 WHERE horse = "Utah Bulwark" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 horses are mentioned competing in 1985?
### Context:
CREATE TABLE table_21676617_1 (horse VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT COUNT(horse) FROM table_21676617_1 WHERE year = 1985 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the headquarters is Bharatpur, what is the maximum area?
### Context:
CREATE TABLE table_2168295_1 (area__km²_ INTEGER, headquarters VARCHAR) [/INST]
### Response:
SELECT MAX(area__km²_) FROM table_2168295_1 WHERE headquarters = "Bharatpur" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the district is Chittorgarh, what is the area?
### Context:
CREATE TABLE table_2168295_1 (area__km²_ VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT area__km²_ FROM table_2168295_1 WHERE district = "Chittorgarh" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the 2011 population is 3685681, what is the name of the headquarters?
### Context:
CREATE TABLE table_2168295_1 (headquarters VARCHAR, population__2011_ VARCHAR) [/INST]
### Response:
SELECT headquarters FROM table_2168295_1 WHERE population__2011_ = 3685681 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 area id the 2011 population is 3067549?
### Context:
CREATE TABLE table_2168295_1 (area__km²_ INTEGER, population__2011_ VARCHAR) [/INST]
### Response:
SELECT MIN(area__km²_) FROM table_2168295_1 WHERE population__2011_ = 3067549 </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.