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: Name the most times contested for montgomeryshire ### Context: CREATE TABLE table_24329520_4 (times_contested INTEGER, county VARCHAR) [/INST] ### Response: SELECT MAX(times_contested) FROM table_24329520_4 WHERE county = "Montgomeryshire" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 fate in 1832 for pembrokeshire ### Context: CREATE TABLE table_24329520_4 (fate_in_1832 VARCHAR, county VARCHAR) [/INST] ### Response: SELECT fate_in_1832 FROM table_24329520_4 WHERE county = "Pembrokeshire" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the least number of podiums for a formula BMW Americas series? ### Context: CREATE TABLE table_24330803_1 (podiums INTEGER, series VARCHAR) [/INST] ### Response: SELECT MIN(podiums) FROM table_24330803_1 WHERE series = "Formula BMW Americas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the maximum number of wins in the formula 3 euro series? ### Context: CREATE TABLE table_24330803_1 (wins INTEGER, series VARCHAR) [/INST] ### Response: SELECT MAX(wins) FROM table_24330803_1 WHERE series = "Formula 3 Euro series" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 positions were given when 30 points were won? ### Context: CREATE TABLE table_24330803_1 (position VARCHAR, points VARCHAR) [/INST] ### Response: SELECT COUNT(position) FROM table_24330803_1 WHERE points = "30" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pole positions were there for the 2011 season? ### Context: CREATE TABLE table_24330803_1 (poles INTEGER, season VARCHAR) [/INST] ### Response: SELECT MAX(poles) FROM table_24330803_1 WHERE season = 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: List the tournament that kent state won? ### Context: CREATE TABLE table_24348134_3 (conference VARCHAR, tournament_winner VARCHAR) [/INST] ### Response: SELECT conference AS Tournament FROM table_24348134_3 WHERE tournament_winner = "Kent 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: What team won the regular season when georgia state won the tournament? ### Context: CREATE TABLE table_24348134_3 (regular_season_winner VARCHAR, tournament_winner VARCHAR) [/INST] ### Response: SELECT regular_season_winner FROM table_24348134_3 WHERE tournament_winner = "Georgia 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: In what city did oklahoma win the tournament. ### Context: CREATE TABLE table_24348134_3 (tournament_venue__city_ VARCHAR, tournament_winner VARCHAR) [/INST] ### Response: SELECT tournament_venue__city_ FROM table_24348134_3 WHERE tournament_winner = "Oklahoma" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List the number of tournament winners when iona , siena & niagara won in the regular season. ### Context: CREATE TABLE table_24348134_3 (tournament_winner VARCHAR, regular_season_winner VARCHAR) [/INST] ### Response: SELECT COUNT(tournament_winner) FROM table_24348134_3 WHERE regular_season_winner = "Iona , Siena & Niagara" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 real life for eventual outcome is amtrak ### Context: CREATE TABLE table_243664_1 (real_life_eventual_outcome VARCHAR, currently¹_part_of VARCHAR) [/INST] ### Response: SELECT real_life_eventual_outcome FROM table_243664_1 WHERE currently¹_part_of = "Amtrak" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 real life years of operation for amtrak ### Context: CREATE TABLE table_243664_1 (real_life_years_of_operation VARCHAR, currently¹_part_of VARCHAR) [/INST] ### Response: SELECT real_life_years_of_operation FROM table_243664_1 WHERE currently¹_part_of = "Amtrak" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game coast for chicago and north western ### Context: CREATE TABLE table_243664_1 (game_cost VARCHAR, railroad VARCHAR) [/INST] ### Response: SELECT game_cost FROM table_243664_1 WHERE railroad = "Chicago and North Western" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game cost for merged with new york central to form penn central ### Context: CREATE TABLE table_243664_1 (game_cost VARCHAR, real_life_eventual_outcome VARCHAR) [/INST] ### Response: SELECT game_cost FROM table_243664_1 WHERE real_life_eventual_outcome = "Merged with New York Central to form Penn Central" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2007 USD in Kabardino-Balkaria? ### Context: CREATE TABLE table_24364690_1 (federal_subjects VARCHAR) [/INST] ### Response: SELECT MIN(2007 AS __usd_) FROM table_24364690_1 WHERE federal_subjects = "Kabardino-Balkaria" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 amount for weight lost if the starting weight is 97.4? ### Context: CREATE TABLE table_24370270_10 (weight_lost__kg_ VARCHAR, starting_weight__kg_ VARCHAR) [/INST] ### Response: SELECT weight_lost__kg_ FROM table_24370270_10 WHERE starting_weight__kg_ = "97.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 starting weight if weight lost is 54.6? ### Context: CREATE TABLE table_24370270_10 (starting_weight__kg_ VARCHAR, weight_lost__kg_ VARCHAR) [/INST] ### Response: SELECT starting_weight__kg_ FROM table_24370270_10 WHERE weight_lost__kg_ = "54.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 is the final weight for contestant Chris? ### Context: CREATE TABLE table_24370270_10 (final_weight__kg_ VARCHAR, contestant VARCHAR) [/INST] ### Response: SELECT final_weight__kg_ FROM table_24370270_10 WHERE contestant = "Chris" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the sounddock series II aux in? ### Context: CREATE TABLE table_24384861_1 (aux_in VARCHAR, version VARCHAR) [/INST] ### Response: SELECT COUNT(aux_in) FROM table_24384861_1 WHERE version = "SoundDock series II" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Was the sounddock series I v2 iphone certified? ### Context: CREATE TABLE table_24384861_1 (iphone_certified VARCHAR, version VARCHAR) [/INST] ### Response: SELECT iphone_certified FROM table_24384861_1 WHERE version = "SoundDock series I v2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 connections aux in using FIrewire? ### Context: CREATE TABLE table_24384861_1 (aux_in VARCHAR, dock_connection VARCHAR) [/INST] ### Response: SELECT COUNT(aux_in) FROM table_24384861_1 WHERE dock_connection = "FireWire" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 video out connections does the sounddock portable have? ### Context: CREATE TABLE table_24384861_1 (video_out VARCHAR, version VARCHAR) [/INST] ### Response: SELECT COUNT(video_out) FROM table_24384861_1 WHERE version = "SoundDock Portable" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Does the sounddock series I v2 have dual voltage? ### Context: CREATE TABLE table_24384861_1 (dual_voltage VARCHAR, version VARCHAR) [/INST] ### Response: SELECT dual_voltage FROM table_24384861_1 WHERE version = "SoundDock series I v2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 dock connection does the sounddock series III have? ### Context: CREATE TABLE table_24384861_1 (dock_connection VARCHAR, version VARCHAR) [/INST] ### Response: SELECT dock_connection FROM table_24384861_1 WHERE version = "SoundDock series III" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was the game played that started at 7:00 p.m.? ### Context: CREATE TABLE table_24396664_2 (game_site VARCHAR, kickoff VARCHAR) [/INST] ### Response: SELECT game_site FROM table_24396664_2 WHERE kickoff = "7:00 p.m." </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 varsity teams are in west roxbury, ma? ### Context: CREATE TABLE table_2439728_1 (varsity_teams INTEGER, location VARCHAR) [/INST] ### Response: SELECT MAX(varsity_teams) FROM table_2439728_1 WHERE location = "West Roxbury, MA" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mascot of st. paul's school? ### Context: CREATE TABLE table_2439728_1 (mascot VARCHAR, school VARCHAR) [/INST] ### Response: SELECT mascot FROM table_2439728_1 WHERE school = "St. Paul's 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: where are dragons used as mascots? ### Context: CREATE TABLE table_2439728_1 (location VARCHAR, mascot VARCHAR) [/INST] ### Response: SELECT location FROM table_2439728_1 WHERE mascot = "Dragons" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: when was lawrence academy at groton established? ### Context: CREATE TABLE table_2439728_1 (founded INTEGER, school VARCHAR) [/INST] ### Response: SELECT MIN(founded) FROM table_2439728_1 WHERE school = "Lawrence Academy at Groton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school located at Milton, ma. ### Context: CREATE TABLE table_2439728_1 (school VARCHAR, location VARCHAR) [/INST] ### Response: SELECT school FROM table_2439728_1 WHERE location = "Milton, MA" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 places have 17 varsity teams? ### Context: CREATE TABLE table_2439728_1 (location VARCHAR, varsity_teams VARCHAR) [/INST] ### Response: SELECT COUNT(location) FROM table_2439728_1 WHERE varsity_teams = 17 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which episode had bbc ranking and canle ranking of n/a? ### Context: CREATE TABLE table_24399615_10 (episode_no VARCHAR, bbc_three_weekly_ranking VARCHAR, cable_rank VARCHAR) [/INST] ### Response: SELECT COUNT(episode_no) FROM table_24399615_10 WHERE bbc_three_weekly_ranking = "N/A" AND cable_rank = "N/A" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List the number of bbc rankings with cable rankings of 6. ### Context: CREATE TABLE table_24399615_10 (bbc_three_weekly_ranking VARCHAR, cable_rank VARCHAR) [/INST] ### Response: SELECT bbc_three_weekly_ranking FROM table_24399615_10 WHERE cable_rank = "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: List the number of viewers when the cable rank for Russell Howard's Good New was 5. ### Context: CREATE TABLE table_24399615_10 (viewers VARCHAR, cable_rank VARCHAR) [/INST] ### Response: SELECT viewers FROM table_24399615_10 WHERE cable_rank = "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: How many individuals watched the show that had a bbc ranking of 6? ### Context: CREATE TABLE table_24399615_10 (viewers VARCHAR, bbc_three_weekly_ranking VARCHAR) [/INST] ### Response: SELECT COUNT(viewers) FROM table_24399615_10 WHERE bbc_three_weekly_ranking = "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: How many times did episode number 8 air? ### Context: CREATE TABLE table_24399615_5 (cable_rank VARCHAR, episode_no VARCHAR) [/INST] ### Response: SELECT COUNT(cable_rank) FROM table_24399615_5 WHERE episode_no = 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: When did episode number 6 air? ### Context: CREATE TABLE table_24399615_5 (airdate VARCHAR, episode_no VARCHAR) [/INST] ### Response: SELECT airdate FROM table_24399615_5 WHERE episode_no = 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: How many items are listed under viewers column when the bbd three weekly ranking was 1? ### Context: CREATE TABLE table_24399615_4 (viewers VARCHAR, bbc_three_weekly_ranking VARCHAR) [/INST] ### Response: SELECT COUNT(viewers) FROM table_24399615_4 WHERE bbc_three_weekly_ranking = "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 episode number had a cable ranking of 8? ### Context: CREATE TABLE table_24399615_4 (episode_no INTEGER, cable_rank VARCHAR) [/INST] ### Response: SELECT MIN(episode_no) FROM table_24399615_4 WHERE cable_rank = "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 date did the episode air that had n/a for it's bbc three weekly ranking? ### Context: CREATE TABLE table_24399615_4 (airdate VARCHAR, bbc_three_weekly_ranking VARCHAR) [/INST] ### Response: SELECT airdate FROM table_24399615_4 WHERE bbc_three_weekly_ranking = "N/A" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date did the episode air that had a ranking of 17 for cable? ### Context: CREATE TABLE table_24399615_4 (airdate VARCHAR, cable_rank VARCHAR) [/INST] ### Response: SELECT airdate FROM table_24399615_4 WHERE cable_rank = "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: When 3 is the bbc three weekly ranking what is the airdate? ### Context: CREATE TABLE table_24399615_8 (airdate VARCHAR, bbc_three_weekly_ranking VARCHAR) [/INST] ### Response: SELECT airdate FROM table_24399615_8 WHERE bbc_three_weekly_ranking = "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: When 656000 is the amount of viewers and n/a is the cable rank what is the airdate? ### Context: CREATE TABLE table_24399615_8 (airdate VARCHAR, cable_rank VARCHAR, viewers VARCHAR) [/INST] ### Response: SELECT airdate FROM table_24399615_8 WHERE cable_rank = "N/A" AND viewers = 656000 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List the states that have entry times of 49years, 29days ### Context: CREATE TABLE table_24415627_2 (state_served VARCHAR, time_since_entry VARCHAR) [/INST] ### Response: SELECT state_served FROM table_24415627_2 WHERE time_since_entry = "49years, 29days" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Of which part does congressman dick clark belong to? ### Context: CREATE TABLE table_24415627_2 (party VARCHAR, senator VARCHAR) [/INST] ### Response: SELECT party FROM table_24415627_2 WHERE senator = "Dick Clark" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did congressman joseph tydings enter take his seat? ### Context: CREATE TABLE table_24415627_2 (entered_senate VARCHAR, senator VARCHAR) [/INST] ### Response: SELECT entered_senate FROM table_24415627_2 WHERE senator = "Joseph Tydings" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lowest points when poles were 0 and races were 10? ### Context: CREATE TABLE table_24405773_1 (points INTEGER, poles VARCHAR, races VARCHAR) [/INST] ### Response: SELECT MIN(points) FROM table_24405773_1 WHERE poles = 0 AND races = 10 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the highest number of points when flaps were 0? ### Context: CREATE TABLE table_24405773_1 (points INTEGER, flaps VARCHAR) [/INST] ### Response: SELECT MAX(points) FROM table_24405773_1 WHERE flaps = 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: Who played 20 questions during the issue in which Pamela Horton is on the cover? ### Context: CREATE TABLE table_24425491_3 (cover_model VARCHAR) [/INST] ### Response: SELECT 20 AS _questions FROM table_24425491_3 WHERE cover_model = "Pamela Horton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When the power kw is 5kw, what is the frequency? ### Context: CREATE TABLE table_24418525_1 (frequency VARCHAR, power_kw VARCHAR) [/INST] ### Response: SELECT frequency FROM table_24418525_1 WHERE power_kw = "5kW" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 coverage is dumaguete central visayas region, what is the callsign? ### Context: CREATE TABLE table_24418525_1 (callsign VARCHAR, coverage VARCHAR) [/INST] ### Response: SELECT callsign FROM table_24418525_1 WHERE coverage = "Dumaguete Central Visayas Region" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How much power covers dumaguete central visayas region? ### Context: CREATE TABLE table_24418525_1 (power_kw VARCHAR, coverage VARCHAR) [/INST] ### Response: SELECT COUNT(power_kw) FROM table_24418525_1 WHERE coverage = "Dumaguete Central Visayas Region" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 frequency is mega manila set to? ### Context: CREATE TABLE table_24418525_1 (frequency VARCHAR, coverage VARCHAR) [/INST] ### Response: SELECT frequency FROM table_24418525_1 WHERE coverage = "Mega Manila" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original air date was for the episode with production code of 108? ### Context: CREATE TABLE table_24425976_2 (original_air_date VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_24425976_2 WHERE production_code = "108" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 production codes are there for episode 10 in the season? ### Context: CREATE TABLE table_24425976_2 (production_code VARCHAR, season VARCHAR) [/INST] ### Response: SELECT COUNT(production_code) FROM table_24425976_2 WHERE season = "10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date did the episode with code 110 originally air? ### Context: CREATE TABLE table_24425976_2 (original_air_date VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_24425976_2 WHERE production_code = "110" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode with a production code of 107? ### Context: CREATE TABLE table_24425976_2 (episode_title VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT episode_title FROM table_24425976_2 WHERE production_code = "107" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in the series has a production code of 111? ### Context: CREATE TABLE table_24425976_2 (series VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT COUNT(series) FROM table_24425976_2 WHERE production_code = "111" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 payout for december 28, 2009 ### Context: CREATE TABLE table_24427210_1 (payout___us VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(payout___us) AS $__ FROM table_24427210_1 WHERE date = "December 28, 2009" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 payout for espn for music city bowl ### Context: CREATE TABLE table_24427210_1 (payout___us$__ VARCHAR, tv VARCHAR, bowl_game VARCHAR) [/INST] ### Response: SELECT payout___us$__ FROM table_24427210_1 WHERE tv = "ESPN" AND bowl_game = "Music City Bowl" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the date for raymond james stadium ### Context: CREATE TABLE table_24427210_1 (date VARCHAR, stadium VARCHAR) [/INST] ### Response: SELECT date FROM table_24427210_1 WHERE stadium = "Raymond James stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date did episode 4 in the season originally air? ### Context: CREATE TABLE table_24425976_7 (original_air_date VARCHAR, season VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_24425976_7 WHERE season = 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 date did episode 115 in the series originally air? ### Context: CREATE TABLE table_24425976_7 (original_air_date VARCHAR, series VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_24425976_7 WHERE series = 115 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2nd leg for team #1 River Plate? ### Context: CREATE TABLE table_24426072_1 (team__number1 VARCHAR) [/INST] ### Response: SELECT 2 AS nd_leg FROM table_24426072_1 WHERE team__number1 = "River Plate" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team number 2's Fluminense's 2nd leg? ### Context: CREATE TABLE table_24426072_1 (team__number2 VARCHAR) [/INST] ### Response: SELECT 2 AS nd_leg FROM table_24426072_1 WHERE team__number2 = "Fluminense" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 david ferrer seeded? ### Context: CREATE TABLE table_24431264_16 (seed INTEGER, player VARCHAR) [/INST] ### Response: SELECT MAX(seed) FROM table_24431264_16 WHERE player = "David Ferrer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player had 1420 points coming in? ### Context: CREATE TABLE table_24431264_16 (player VARCHAR, points VARCHAR) [/INST] ### Response: SELECT player FROM table_24431264_16 WHERE points = 1420 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many players named victor hănescu played? ### Context: CREATE TABLE table_24431264_16 (points VARCHAR, player VARCHAR) [/INST] ### Response: SELECT COUNT(points) AS won FROM table_24431264_16 WHERE player = "Victor Hănescu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 kurdistan democratic party for kurdistan list being 10 ### Context: CREATE TABLE table_24440361_1 (kurdistan_democratic_party INTEGER, total_kurdistan_list VARCHAR) [/INST] ### Response: SELECT MIN(kurdistan_democratic_party) FROM table_24440361_1 WHERE total_kurdistan_list = 10 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the most kirdistan list for diyala ### Context: CREATE TABLE table_24440361_1 (total_kurdistan_list INTEGER, governorate VARCHAR) [/INST] ### Response: SELECT MAX(total_kurdistan_list) FROM table_24440361_1 WHERE governorate = "Diyala" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 least total kurdistan list ### Context: CREATE TABLE table_24440361_1 (total_kurdistan_list INTEGER) [/INST] ### Response: SELECT MIN(total_kurdistan_list) FROM table_24440361_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: Who won 3rd place when the mutya ng pilipinas winner was was rochelle romero ong? ### Context: CREATE TABLE table_24430894_20 (mutya_ng_pilipinas_asia_pacific VARCHAR) [/INST] ### Response: SELECT 2 AS nd_runner_up FROM table_24430894_20 WHERE mutya_ng_pilipinas_asia_pacific = "Rochelle Romero Ong" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List the number of years where ritchie ocampo was the mutya ng pilipinas winner. ### Context: CREATE TABLE table_24430894_20 (year VARCHAR, mutya_ng_pilipinas_asia_pacific VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_24430894_20 WHERE mutya_ng_pilipinas_asia_pacific = "Ritchie Ocampo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 awardees for english and hindi ### Context: CREATE TABLE table_24446718_7 (awardee_s_ VARCHAR, language VARCHAR) [/INST] ### Response: SELECT COUNT(awardee_s_) FROM table_24446718_7 WHERE language = "English and Hindi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 name of award for zubeen garg ### Context: CREATE TABLE table_24446718_7 (name_of_award VARCHAR, awardee_s_ VARCHAR) [/INST] ### Response: SELECT name_of_award FROM table_24446718_7 WHERE awardee_s_ = "Zubeen Garg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 awardee for best editing ### Context: CREATE TABLE table_24446718_7 (awardee_s_ VARCHAR, name_of_award VARCHAR) [/INST] ### Response: SELECT awardee_s_ FROM table_24446718_7 WHERE name_of_award = "Best Editing" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 awardees for best cinematography ### Context: CREATE TABLE table_24446718_7 (awardee_s_ VARCHAR, name_of_award VARCHAR) [/INST] ### Response: SELECT COUNT(awardee_s_) FROM table_24446718_7 WHERE name_of_award = "Best Cinematography" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 least flaps ### Context: CREATE TABLE table_24466191_1 (flaps INTEGER) [/INST] ### Response: SELECT MIN(flaps) FROM table_24466191_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: Name th most poles for macau grand prix ### Context: CREATE TABLE table_24466191_1 (poles INTEGER, series VARCHAR) [/INST] ### Response: SELECT MAX(poles) FROM table_24466191_1 WHERE series = "Macau Grand Prix" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 races for 15th position ### Context: CREATE TABLE table_24466191_1 (races VARCHAR, position VARCHAR) [/INST] ### Response: SELECT COUNT(races) FROM table_24466191_1 WHERE position = "15th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 most races for flaps larger than 2.0 ### Context: CREATE TABLE table_24466191_1 (races INTEGER, flaps INTEGER) [/INST] ### Response: SELECT MAX(races) FROM table_24466191_1 WHERE flaps > 2.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: Name the number of poles for 15th position ### Context: CREATE TABLE table_24466191_1 (poles VARCHAR, position VARCHAR) [/INST] ### Response: SELECT COUNT(poles) FROM table_24466191_1 WHERE position = "15th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team for season 2010 ### Context: CREATE TABLE table_24466191_1 (team VARCHAR, season VARCHAR) [/INST] ### Response: SELECT team FROM table_24466191_1 WHERE season = 2010 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 air date for jay j. demopoulos ### Context: CREATE TABLE table_24466855_1 (original_air_date VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_24466855_1 WHERE written_by = "Jay J. Demopoulos" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: At which location did 29753 fans show up to watch the game? ### Context: CREATE TABLE table_24481478_1 (game_site VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT game_site FROM table_24481478_1 WHERE attendance = 29753 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game record during week 7? ### Context: CREATE TABLE table_24481478_1 (team_record VARCHAR, week VARCHAR) [/INST] ### Response: SELECT team_record FROM table_24481478_1 WHERE week = 7 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What time did the game start on saturday, april 20? ### Context: CREATE TABLE table_24481478_1 (kickoff VARCHAR, date VARCHAR) [/INST] ### Response: SELECT kickoff FROM table_24481478_1 WHERE date = "Saturday, April 20" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In which week was the team record 7–2? ### Context: CREATE TABLE table_24481478_1 (week INTEGER, team_record VARCHAR) [/INST] ### Response: SELECT MIN(week) FROM table_24481478_1 WHERE team_record = "7–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: How man fans showed up to watch the game versus the raleigh-durham skyhawks? ### Context: CREATE TABLE table_24481478_1 (attendance INTEGER, opponent VARCHAR) [/INST] ### Response: SELECT MAX(attendance) FROM table_24481478_1 WHERE opponent = "Raleigh-Durham Skyhawks" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank is 26, what is the disposable USD growth? ### Context: CREATE TABLE table_24486462_1 (disposable_usd_growth VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT disposable_usd_growth FROM table_24486462_1 WHERE rank = 26 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 country has a compulsory deduction of 29.3%? ### Context: CREATE TABLE table_24486462_1 (country VARCHAR, compulsory_deduction VARCHAR) [/INST] ### Response: SELECT country FROM table_24486462_1 WHERE compulsory_deduction = "29.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 Australia's Disposable USD growth? ### Context: CREATE TABLE table_24486462_1 (disposable_usd_growth INTEGER, country VARCHAR) [/INST] ### Response: SELECT MAX(disposable_usd_growth) FROM table_24486462_1 WHERE country = "Australia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest disposable USD 2011? ### Context: CREATE TABLE table_24486462_1 (disposable_usd_2011 INTEGER) [/INST] ### Response: SELECT MIN(disposable_usd_2011) FROM table_24486462_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: Name the most minutes and starts being 12 ### Context: CREATE TABLE table_24477075_1 (minutes INTEGER, starts VARCHAR) [/INST] ### Response: SELECT MAX(minutes) FROM table_24477075_1 WHERE starts = 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: Name the position for 132 minutes ### Context: CREATE TABLE table_24477075_1 (position VARCHAR, minutes VARCHAR) [/INST] ### Response: SELECT position FROM table_24477075_1 WHERE minutes = 132 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank for thomas morgenstern ### Context: CREATE TABLE table_24489942_10 (rank VARCHAR, name VARCHAR) [/INST] ### Response: SELECT rank FROM table_24489942_10 WHERE name = "Thomas Morgenstern" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the rank for switzerland ### Context: CREATE TABLE table_24489942_10 (rank VARCHAR, nationality VARCHAR) [/INST] ### Response: SELECT COUNT(rank) FROM table_24489942_10 WHERE nationality = "Switzerland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points for switzerland ### Context: CREATE TABLE table_24489942_10 (points VARCHAR, nationality VARCHAR) [/INST] ### Response: SELECT points FROM table_24489942_10 WHERE nationality = "Switzerland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points for thomas morgenstern ### Context: CREATE TABLE table_24489942_10 (points VARCHAR, name VARCHAR) [/INST] ### Response: SELECT points FROM table_24489942_10 WHERE name = "Thomas Morgenstern" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When was jack watson appointed? ### Context: CREATE TABLE table_24490665_1 (appointed VARCHAR, name VARCHAR) [/INST] ### Response: SELECT appointed FROM table_24490665_1 WHERE name = "Jack Watson" </s>