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's the thursday time with location being hawthorne ### Context: CREATE TABLE table_11019212_1 (thursday VARCHAR, location VARCHAR) [/INST] ### Response: SELECT thursday FROM table_11019212_1 WHERE location = "Hawthorne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 saturday time with wednesday being 10:00-5:00 ### Context: CREATE TABLE table_11019212_1 (saturday VARCHAR, wednesday VARCHAR) [/INST] ### Response: SELECT saturday FROM table_11019212_1 WHERE wednesday = "10:00-5:00" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 thursday time with sunday being 1:00-5:00 and tuesday being 1:00-7:00 ### Context: CREATE TABLE table_11019212_1 (thursday VARCHAR, sunday VARCHAR, tuesday VARCHAR) [/INST] ### Response: SELECT thursday FROM table_11019212_1 WHERE sunday = "1:00-5:00" AND tuesday = "1:00-7:00" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 monday time with tuesday being 9:00-6:00 ### Context: CREATE TABLE table_11019212_1 (monday VARCHAR, tuesday VARCHAR) [/INST] ### Response: SELECT monday FROM table_11019212_1 WHERE tuesday = "9:00-6:00" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 reports where Paul Tracy had the fastest lap? ### Context: CREATE TABLE table_11056278_3 (report VARCHAR, fastest_lap VARCHAR) [/INST] ### Response: SELECT report FROM table_11056278_3 WHERE fastest_lap = "Paul Tracy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 drove the fastest lap at the Tenneco Automotive Grand Prix of Detroit? ### Context: CREATE TABLE table_11056278_3 (fastest_lap VARCHAR, race_name VARCHAR) [/INST] ### Response: SELECT fastest_lap FROM table_11056278_3 WHERE race_name = "Tenneco Automotive Grand Prix of Detroit" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who had the fastest lap in the races won by Max Papis? ### Context: CREATE TABLE table_11056278_3 (fastest_lap VARCHAR, winning_driver VARCHAR) [/INST] ### Response: SELECT fastest_lap FROM table_11056278_3 WHERE winning_driver = "Max Papis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Round 6, how many winning drivers were there? ### Context: CREATE TABLE table_11056278_3 (winning_driver VARCHAR, rnd VARCHAR) [/INST] ### Response: SELECT COUNT(winning_driver) FROM table_11056278_3 WHERE rnd = 6 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the original names of the districts where the population in the 2010 census was 210450? ### Context: CREATE TABLE table_1104312_5 (original_name VARCHAR, population_at_2010_census VARCHAR) [/INST] ### Response: SELECT original_name FROM table_1104312_5 WHERE population_at_2010_census = 210450 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original name of the district with the current English name of South Bogor? ### Context: CREATE TABLE table_1104312_5 (original_name VARCHAR, english_name VARCHAR) [/INST] ### Response: SELECT original_name FROM table_1104312_5 WHERE english_name = "South Bogor" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 listed population from the 2010 census of West Bogor? ### Context: CREATE TABLE table_1104312_5 (population_at_2010_census INTEGER, english_name VARCHAR) [/INST] ### Response: SELECT MIN(population_at_2010_census) FROM table_1104312_5 WHERE english_name = "West Bogor" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 districts have an area of 17.72 KM2? ### Context: CREATE TABLE table_1104312_5 (english_name VARCHAR, area_in_km² VARCHAR) [/INST] ### Response: SELECT COUNT(english_name) FROM table_1104312_5 WHERE area_in_km² = "17.72" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the area in km2 for the district whose original name was Kecamatan Bogor Timur? ### Context: CREATE TABLE table_1104312_5 (area_in_km² VARCHAR, original_name VARCHAR) [/INST] ### Response: SELECT area_in_km² FROM table_1104312_5 WHERE original_name = "Kecamatan Bogor Timur" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of colour with the regisration number of mg-509? ### Context: CREATE TABLE table_11066073_1 (colour VARCHAR, registration_no VARCHAR) [/INST] ### Response: SELECT COUNT(colour) FROM table_11066073_1 WHERE registration_no = "MG-509" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directed by Mark Tinker? ### Context: CREATE TABLE table_11058032_1 (title VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT title FROM table_11058032_1 WHERE directed_by = "Mark Tinker" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode in the season was directed by Jeff Melman? ### Context: CREATE TABLE table_11058032_1 (no_in_season INTEGER, directed_by VARCHAR) [/INST] ### Response: SELECT MIN(no_in_season) FROM table_11058032_1 WHERE directed_by = "Jeff Melman" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had 16.03 million viewers? ### Context: CREATE TABLE table_11058032_1 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT COUNT(no_in_series) FROM table_11058032_1 WHERE us_viewers__millions_ = "16.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: What is the number of interregnum for duration 3 months, 6 days? ### Context: CREATE TABLE table_11071897_1 (interregnum_ended VARCHAR, duration VARCHAR) [/INST] ### Response: SELECT COUNT(interregnum_ended) FROM table_11071897_1 WHERE duration = "3 months, 6 days" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directed Episode 8? ### Context: CREATE TABLE table_11075747_4 (directed_by VARCHAR, episode__number VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_11075747_4 WHERE episode__number = 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: What was the original air date for Series 36? ### Context: CREATE TABLE table_11075747_4 (original_air_date VARCHAR, series__number VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_11075747_4 WHERE series__number = 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: Who wrote Series 38? ### Context: CREATE TABLE table_11075747_4 (written_by VARCHAR, series__number VARCHAR) [/INST] ### Response: SELECT written_by FROM table_11075747_4 WHERE series__number = 38 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the percentage for manhattan 45,901? ### Context: CREATE TABLE table_1108394_24 (_percentage VARCHAR, manhattan VARCHAR) [/INST] ### Response: SELECT COUNT(_percentage) FROM table_1108394_24 WHERE manhattan = "45,901" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1973 democratic initial primary for queens of 19%? ### Context: CREATE TABLE table_1108394_24 (queens VARCHAR) [/INST] ### Response: SELECT 1973 AS _democratic_initial_primary FROM table_1108394_24 WHERE queens = "19_percentage" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 manhattan for richmond 35%? ### Context: CREATE TABLE table_1108394_24 (manhattan VARCHAR, richmond_ VARCHAR, staten_is VARCHAR) [/INST] ### Response: SELECT manhattan FROM table_1108394_24 WHERE richmond_[staten_is] = "35_percentage" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 queens where richmond staten is 42%? ### Context: CREATE TABLE table_1108394_24 (queens VARCHAR, richmond_ VARCHAR, staten_is VARCHAR) [/INST] ### Response: SELECT queens FROM table_1108394_24 WHERE richmond_[staten_is] = "42_percentage" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 party with brooklyn value of 51.0% ### Context: CREATE TABLE table_1108394_43 (party VARCHAR, brooklyn VARCHAR) [/INST] ### Response: SELECT party FROM table_1108394_43 WHERE brooklyn = "51.0_percentage" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 brooklyn with queens value of 16.8% ### Context: CREATE TABLE table_1108394_43 (brooklyn VARCHAR, queens VARCHAR) [/INST] ### Response: SELECT brooklyn FROM table_1108394_43 WHERE queens = "16.8_percentage" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total ### Context: CREATE TABLE table_1108394_43 (total INTEGER) [/INST] ### Response: SELECT MIN(total) FROM table_1108394_43 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the % with total value of 249887 and queens value of 6.8% ### Context: CREATE TABLE table_1108394_43 (_percentage VARCHAR, total VARCHAR, queens VARCHAR) [/INST] ### Response: SELECT _percentage FROM table_1108394_43 WHERE total = 249887 AND queens = "6.8_percentage" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 teams were in the central division and located in livonia? ### Context: CREATE TABLE table_11094950_1 (team VARCHAR, division VARCHAR, location VARCHAR) [/INST] ### Response: SELECT team FROM table_11094950_1 WHERE division = "Central" AND location = "Livonia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 teams are located in highland township? ### Context: CREATE TABLE table_11094950_1 (team VARCHAR, location VARCHAR) [/INST] ### Response: SELECT team FROM table_11094950_1 WHERE location = "Highland Township" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 conference was the churchill chargers team in? ### Context: CREATE TABLE table_11094950_1 (conference VARCHAR, team VARCHAR) [/INST] ### Response: SELECT conference FROM table_11094950_1 WHERE team = "Churchill Chargers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 titles of the episodes written by ken lazebnik? ### Context: CREATE TABLE table_11111116_7 (title VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT title FROM table_11111116_7 WHERE written_by = "Ken LaZebnik" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directed an episode that had 2.81 million U.S. viewers? ### Context: CREATE TABLE table_11111116_7 (directed_by VARCHAR, us_viewers__million_ VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_11111116_7 WHERE us_viewers__million_ = "2.81" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 names of the episodes that had 3.02 million U.S. viewers? ### Context: CREATE TABLE table_11111116_7 (title VARCHAR, us_viewers__million_ VARCHAR) [/INST] ### Response: SELECT title FROM table_11111116_7 WHERE us_viewers__million_ = "3.02" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who directed episodes that had 2.61 million U.S. viewers? ### Context: CREATE TABLE table_11111116_7 (directed_by VARCHAR, us_viewers__million_ VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_11111116_7 WHERE us_viewers__million_ = "2.61" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 millions of U.S. viewers watched the episode that first aired on March 31, 2013? ### Context: CREATE TABLE table_11111116_8 (us_viewers__million_ VARCHAR, original_air_date VARCHAR) [/INST] ### Response: SELECT us_viewers__million_ FROM table_11111116_8 WHERE original_air_date = "March 31, 2013" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episodes that were viewed by 2.12 million viewers? ### Context: CREATE TABLE table_11111116_8 (written_by VARCHAR, us_viewers__million_ VARCHAR) [/INST] ### Response: SELECT written_by FROM table_11111116_8 WHERE us_viewers__million_ = "2.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: The episode written by Rebecca Dameron aired on what date? ### Context: CREATE TABLE table_11111116_6 (original_air_date VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_11111116_6 WHERE written_by = "Rebecca Dameron" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which episode in the series drew 3.6 million U.S. viewers? ### Context: CREATE TABLE table_11111116_6 (no_in_series INTEGER, us_viewers__million_ VARCHAR) [/INST] ### Response: SELECT MIN(no_in_series) FROM table_11111116_6 WHERE us_viewers__million_ = "3.6" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who wrote the episode that aired on April 17, 2011? ### Context: CREATE TABLE table_11111116_6 (written_by VARCHAR, original_air_date VARCHAR) [/INST] ### Response: SELECT written_by FROM table_11111116_6 WHERE original_air_date = "April 17, 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 times did episode 79 originally air? ### Context: CREATE TABLE table_11111116_6 (original_air_date VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT COUNT(original_air_date) FROM table_11111116_6 WHERE no_in_series = 79 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the shield winner in which the mls cup winner and mls cup runner up is colorado rapids? ### Context: CREATE TABLE table_11148572_1 (mls_cup_winner VARCHAR, mls_cup_runner_up VARCHAR) [/INST] ### Response: SELECT mls_cup_winner FROM table_11148572_1 WHERE mls_cup_runner_up = "Colorado Rapids" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the shield winner in which the mls cup winner and mls supporters shield runner up is Chivas usa? ### Context: CREATE TABLE table_11148572_1 (mls_cup_winner VARCHAR, mls_supporters_shield_runner_up VARCHAR) [/INST] ### Response: SELECT mls_cup_winner FROM table_11148572_1 WHERE mls_supporters_shield_runner_up = "Chivas USA" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the shield winnerin which the mls cup runner-up and mls cup winner is real salt lake? ### Context: CREATE TABLE table_11148572_1 (mls_cup_runner_up VARCHAR, mls_cup_winner VARCHAR) [/INST] ### Response: SELECT mls_cup_runner_up FROM table_11148572_1 WHERE mls_cup_winner = "Real Salt 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: Which shield winner has the mls cup runner up and the season is 2000? ### Context: CREATE TABLE table_11148572_1 (mls_cup_runner_up VARCHAR, season VARCHAR) [/INST] ### Response: SELECT mls_cup_runner_up FROM table_11148572_1 WHERE season = 2000 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: League apps (sub) maximum? ### Context: CREATE TABLE table_1112176_1 (league_apps__sub_ INTEGER) [/INST] ### Response: SELECT MAX(league_apps__sub_) FROM table_1112176_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 total goals is 11 what was the league apps (sub)? ### Context: CREATE TABLE table_1112176_1 (league_apps__sub_ INTEGER, total_goals VARCHAR) [/INST] ### Response: SELECT MAX(league_apps__sub_) FROM table_1112176_1 WHERE total_goals = 11 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which city had the charleston area convention center as its callback location ### Context: CREATE TABLE table_11129123_1 (audition_city VARCHAR, callback_venue VARCHAR) [/INST] ### Response: SELECT audition_city FROM table_11129123_1 WHERE callback_venue = "Charleston Area Convention 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: When did the callbacks from rancho bernardo inn air ### Context: CREATE TABLE table_11129123_1 (episode_air_date VARCHAR, callback_venue VARCHAR) [/INST] ### Response: SELECT episode_air_date FROM table_11129123_1 WHERE callback_venue = "Rancho Bernardo Inn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: The station located in Albuquerque has been owned since what year? ### Context: CREATE TABLE table_11147852_1 (owned_since VARCHAR, city_of_license_market VARCHAR) [/INST] ### Response: SELECT owned_since FROM table_11147852_1 WHERE city_of_license_market = "Albuquerque" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 channels have stations that were affiliated in 2002? ### Context: CREATE TABLE table_11147852_1 (channel_tv___dt__ VARCHAR, year_of_affiliation VARCHAR) [/INST] ### Response: SELECT channel_tv___dt__ FROM table_11147852_1 WHERE year_of_affiliation = "2002" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 market is KTFK-DT in? ### Context: CREATE TABLE table_11147852_1 (city_of_license_market VARCHAR, station VARCHAR) [/INST] ### Response: SELECT city_of_license_market FROM table_11147852_1 WHERE station = "KTFK-DT" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 engine where performance is 0–100km/h: 10.5s, vmax km/h (mph) ### Context: CREATE TABLE table_11167610_1 (engine VARCHAR, performance VARCHAR) [/INST] ### Response: SELECT engine FROM table_11167610_1 WHERE performance = "0–100km/h: 10.5s, VMax km/h (mph)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 turbo where trim is 2.0 20v ### Context: CREATE TABLE table_11167610_1 (turbo VARCHAR, trim VARCHAR) [/INST] ### Response: SELECT turbo FROM table_11167610_1 WHERE trim = "2.0 20v" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 torque where performance is 0–100km/h: 7.5s auto, vmax: km/h (mph) ### Context: CREATE TABLE table_11167610_1 (torque VARCHAR, performance VARCHAR) [/INST] ### Response: SELECT torque FROM table_11167610_1 WHERE performance = "0–100km/h: 7.5s auto, VMax: km/h (mph)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 transmission where turbo is yes (mitsubishi td04-16t ) ### Context: CREATE TABLE table_11167610_1 (transmission VARCHAR, turbo VARCHAR) [/INST] ### Response: SELECT transmission FROM table_11167610_1 WHERE turbo = "Yes (Mitsubishi TD04-16t )" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 fuel delivery where power is hp (kw) @6500 rpm ### Context: CREATE TABLE table_11167610_1 (fuel_delivery VARCHAR, power VARCHAR) [/INST] ### Response: SELECT fuel_delivery FROM table_11167610_1 WHERE power = "hp (kW) @6500 rpm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 engine with turbo being yes (mitsubishi td04-15g ) " ### Context: CREATE TABLE table_11167610_1 (engine VARCHAR, turbo VARCHAR) [/INST] ### Response: SELECT engine FROM table_11167610_1 WHERE turbo = "Yes (Mitsubishi TD04-15g )" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title that has finale as 33 and peak as 42? ### Context: CREATE TABLE table_11173827_1 (english_title VARCHAR, finale VARCHAR, peak VARCHAR) [/INST] ### Response: SELECT english_title FROM table_11173827_1 WHERE finale = 33 AND peak = 42 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title where the premiere is less than 30.0 and the finale is bigger than 36.0? ### Context: CREATE TABLE table_11173827_1 (english_title VARCHAR, premiere VARCHAR, finale VARCHAR) [/INST] ### Response: SELECT english_title FROM table_11173827_1 WHERE premiere < 30.0 AND finale > 36.0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the rank of the chinese title 緣來自有機? ### Context: CREATE TABLE table_11173827_1 (rank VARCHAR, chinese_title VARCHAR) [/INST] ### Response: SELECT rank FROM table_11173827_1 WHERE chinese_title = "緣來自有機" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 amount is the number of hk viewers where chinese title is 十兄弟? ### Context: CREATE TABLE table_11173827_1 (hk_viewers VARCHAR, chinese_title VARCHAR) [/INST] ### Response: SELECT hk_viewers FROM table_11173827_1 WHERE chinese_title = "十兄弟" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 weekly rank with an air date is november 12, 2007? ### Context: CREATE TABLE table_11178271_1 (weekly_rank VARCHAR, air_date VARCHAR) [/INST] ### Response: SELECT weekly_rank FROM table_11178271_1 WHERE air_date = "November 12, 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: What is the lowest weekly rank with an air date of november 26, 2007? ### Context: CREATE TABLE table_11178271_1 (weekly_rank INTEGER, air_date VARCHAR) [/INST] ### Response: SELECT MIN(weekly_rank) FROM table_11178271_1 WHERE air_date = "November 26, 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: What is the viewers where the rating is 5.3? ### Context: CREATE TABLE table_11178271_1 (viewers__m_ VARCHAR, rating VARCHAR) [/INST] ### Response: SELECT viewers__m_ FROM table_11178271_1 WHERE rating = "5.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 highest of balmoor/ ### Context: CREATE TABLE table_11206787_5 (highest VARCHAR, stadium VARCHAR) [/INST] ### Response: SELECT highest FROM table_11206787_5 WHERE stadium = "Balmoor" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of capacity at somerset park? ### Context: CREATE TABLE table_11206787_5 (capacity VARCHAR, stadium VARCHAR) [/INST] ### Response: SELECT COUNT(capacity) FROM table_11206787_5 WHERE stadium = "Somerset Park" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 capacity where airdrie united is? ### Context: CREATE TABLE table_11206787_5 (capacity INTEGER, team VARCHAR) [/INST] ### Response: SELECT MIN(capacity) FROM table_11206787_5 WHERE team = "Airdrie United" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stadium for alloa athletic? ### Context: CREATE TABLE table_11206787_5 (stadium VARCHAR, team VARCHAR) [/INST] ### Response: SELECT stadium FROM table_11206787_5 WHERE team = "Alloa Athletic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of ayr united? ### Context: CREATE TABLE table_11206787_5 (highest INTEGER, team VARCHAR) [/INST] ### Response: SELECT MIN(highest) FROM table_11206787_5 WHERE team = "Ayr United" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average? ### Context: CREATE TABLE table_11206787_5 (average INTEGER) [/INST] ### Response: SELECT MIN(average) FROM table_11206787_5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When are team Galway's dates of appointment? ### Context: CREATE TABLE table_11190568_7 (date_of_appointment VARCHAR, team VARCHAR) [/INST] ### Response: SELECT date_of_appointment FROM table_11190568_7 WHERE team = "Galway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are the vacancy dates for outgoing manager Damien Fox? ### Context: CREATE TABLE table_11190568_7 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR) [/INST] ### Response: SELECT date_of_vacancy FROM table_11190568_7 WHERE outgoing_manager = "Damien Fox" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the date of vacancy of Davy Fitzgerald being a replacement? ### Context: CREATE TABLE table_11190568_7 (date_of_vacancy VARCHAR, replaced_by VARCHAR) [/INST] ### Response: SELECT date_of_vacancy FROM table_11190568_7 WHERE replaced_by = "Davy FitzGerald" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which team has the outgoing manager John Meyler? ### Context: CREATE TABLE table_11190568_7 (team VARCHAR, outgoing_manager VARCHAR) [/INST] ### Response: SELECT team FROM table_11190568_7 WHERE outgoing_manager = "John Meyler" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 4 credits is the hand two pair? ### Context: CREATE TABLE table_11200856_1 (hand VARCHAR) [/INST] ### Response: SELECT COUNT(4 AS _credits) FROM table_11200856_1 WHERE hand = "Two pair" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 duration is listed for Christian de la Fuente? ### Context: CREATE TABLE table_11210576_3 (duration VARCHAR, actor VARCHAR) [/INST] ### Response: SELECT duration FROM table_11210576_3 WHERE actor = "Christian de la Fuente" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 final episode for Dea Agent? ### Context: CREATE TABLE table_11210576_3 (final_episode VARCHAR, position VARCHAR) [/INST] ### Response: SELECT final_episode FROM table_11210576_3 WHERE position = "DEA Agent" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 days is greenock morton vacant? ### Context: CREATE TABLE table_11207040_6 (date_of_vacancy VARCHAR, team VARCHAR) [/INST] ### Response: SELECT date_of_vacancy FROM table_11207040_6 WHERE team = "Greenock Morton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 dates of the outgoing manager colin hendry does appointments? ### Context: CREATE TABLE table_11207040_6 (date_of_appointment VARCHAR, outgoing_manager VARCHAR) [/INST] ### Response: SELECT date_of_appointment FROM table_11207040_6 WHERE outgoing_manager = "Colin Hendry" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 teams does jim mcinally manage? ### Context: CREATE TABLE table_11207040_6 (team VARCHAR, outgoing_manager VARCHAR) [/INST] ### Response: SELECT team FROM table_11207040_6 WHERE outgoing_manager = "Jim McInally" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 days are vacant that were replaced by john brown? ### Context: CREATE TABLE table_11207040_6 (date_of_vacancy VARCHAR, replaced_by VARCHAR) [/INST] ### Response: SELECT date_of_vacancy FROM table_11207040_6 WHERE replaced_by = "John Brown" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 manner of departure is listed with an appointment date of 13 march 2008 ### Context: CREATE TABLE table_11206916_2 (manner_of_departure VARCHAR, date_of_appointment VARCHAR) [/INST] ### Response: SELECT manner_of_departure FROM table_11206916_2 WHERE date_of_appointment = "13 March 2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date of appointment for outgoing manager Campbell Money ### Context: CREATE TABLE table_11206916_2 (date_of_appointment VARCHAR, outgoing_manager VARCHAR) [/INST] ### Response: SELECT date_of_appointment FROM table_11206916_2 WHERE outgoing_manager = "Campbell Money" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest attendance that East End Park has ever had? ### Context: CREATE TABLE table_11207040_5 (lowest INTEGER, stadium VARCHAR) [/INST] ### Response: SELECT MIN(lowest) FROM table_11207040_5 WHERE stadium = "East End Park" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What team plays at Palmerston Park? ### Context: CREATE TABLE table_11207040_5 (team VARCHAR, stadium VARCHAR) [/INST] ### Response: SELECT team FROM table_11207040_5 WHERE stadium = "Palmerston Park" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest attandance recorded at Cappielow? ### Context: CREATE TABLE table_11207040_5 (lowest INTEGER, stadium VARCHAR) [/INST] ### Response: SELECT MIN(lowest) FROM table_11207040_5 WHERE stadium = "Cappielow" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 attendance at a game played by St. Johnstone? ### Context: CREATE TABLE table_11207040_5 (highest INTEGER, team VARCHAR) [/INST] ### Response: SELECT MAX(highest) FROM table_11207040_5 WHERE team = "St. Johnstone" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 attandence at a Hamilton Academical game? ### Context: CREATE TABLE table_11207040_5 (highest INTEGER, team VARCHAR) [/INST] ### Response: SELECT MIN(highest) FROM table_11207040_5 WHERE team = "Hamilton Academical" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 champion where semi-finalist #2 is na and location is morrisville, nc ### Context: CREATE TABLE table_11214772_1 (champion VARCHAR, semi_finalist__number2 VARCHAR, location VARCHAR) [/INST] ### Response: SELECT champion FROM table_11214772_1 WHERE semi_finalist__number2 = "NA" AND location = "Morrisville, NC" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score where year is 2007 ### Context: CREATE TABLE table_11214772_1 (score VARCHAR, year VARCHAR) [/INST] ### Response: SELECT score FROM table_11214772_1 WHERE year = "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: what is the total number of semi-finalist #2 where runner-up is east carolina ### Context: CREATE TABLE table_11214772_1 (semi_finalist__number2 VARCHAR, runner_up VARCHAR) [/INST] ### Response: SELECT COUNT(semi_finalist__number2) FROM table_11214772_1 WHERE runner_up = "East Carolina" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 semi-finalist #1 where runner-up is elon university ### Context: CREATE TABLE table_11214772_1 (semi_finalist__number1 VARCHAR, runner_up VARCHAR) [/INST] ### Response: SELECT semi_finalist__number1 FROM table_11214772_1 WHERE runner_up = "Elon University" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 where year is 2004 and champion is north carolina state ### Context: CREATE TABLE table_11214772_1 (runner_up VARCHAR, year VARCHAR, champion VARCHAR) [/INST] ### Response: SELECT runner_up FROM table_11214772_1 WHERE year = "2004" AND champion = "North Carolina State" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: who is the runner-up where location is ellenton, fl and year is 2004 ### Context: CREATE TABLE table_11214772_1 (runner_up VARCHAR, location VARCHAR, year VARCHAR) [/INST] ### Response: SELECT runner_up FROM table_11214772_1 WHERE location = "Ellenton, FL" AND year = "2004" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 naturalisation by marriage with numer of jamaicans granted british citizenship being 3165 ### Context: CREATE TABLE table_11214212_1 (naturalisation_by_marriage VARCHAR, numer_of_jamaicans_granted_british_citizenship VARCHAR) [/INST] ### Response: SELECT naturalisation_by_marriage FROM table_11214212_1 WHERE numer_of_jamaicans_granted_british_citizenship = 3165 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 numer of jamaicans granted british citizenship with naturalisation by marriage being 1060 ### Context: CREATE TABLE table_11214212_1 (numer_of_jamaicans_granted_british_citizenship VARCHAR, naturalisation_by_marriage VARCHAR) [/INST] ### Response: SELECT COUNT(numer_of_jamaicans_granted_british_citizenship) FROM table_11214212_1 WHERE naturalisation_by_marriage = 1060 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 naturalisation by marriage with regbeingtration of a minor child being 114 ### Context: CREATE TABLE table_11214212_1 (naturalisation_by_marriage VARCHAR, registration_of_a_minor_child VARCHAR) [/INST] ### Response: SELECT naturalisation_by_marriage FROM table_11214212_1 WHERE registration_of_a_minor_child = 114 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 numer of jamaicans granted british citizenship with naturalisation by residence being 927 ### Context: CREATE TABLE table_11214212_1 (numer_of_jamaicans_granted_british_citizenship VARCHAR, naturalisation_by_residence VARCHAR) [/INST] ### Response: SELECT numer_of_jamaicans_granted_british_citizenship FROM table_11214212_1 WHERE naturalisation_by_residence = 927 </s>