inputs
stringlengths
400
1.34k
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the adjusted GDP when the population is 5.141 million? ### Context: CREATE TABLE table_1610496_3 (gdp_adjusted__$_billions_ VARCHAR, population__millions_ VARCHAR) ### Response: ### Response: SELECT gdp_adjusted__$_billions_ FROM table_1610496_3 WHERE population__millions_ = "5.141"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: what is the 2008 when 2007 is A, 2011 is A and tournament is san jose? ### Context: CREATE TABLE table_name_5 (tournament VARCHAR) ### Response: ### Response: SELECT 2008 FROM table_name_5 WHERE 2007 = "a" AND 2011 = "a" AND tournament = "san jose"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the qual with start of totals ### Context: CREATE TABLE table_name_61 (qual VARCHAR, start VARCHAR) ### Response: ### Response: SELECT qual FROM table_name_61 WHERE start = "totals"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who was the opponent with the loss in Westbury, NY? ### Context: CREATE TABLE table_name_37 (opponent VARCHAR, result VARCHAR, location VARCHAR) ### Response: ### Response: SELECT opponent FROM table_name_37 WHERE result = "loss" AND location = "westbury, ny"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which date had a final score of 20-27? ### Context: CREATE TABLE table_name_58 (date VARCHAR, final_score VARCHAR) ### Response: ### Response: SELECT date FROM table_name_58 WHERE final_score = "20-27"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the Sweet Potato amount when the soybean amount is 1.65? ### Context: CREATE TABLE table_name_92 (sweet_potato_ VARCHAR, g_ VARCHAR, soybean__green__ VARCHAR, f_ VARCHAR) ### Response: ### Response: SELECT sweet_potato_[g_] FROM table_name_92 WHERE soybean__green__[f_] = "1.65"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is City, when State is Florida, when AAM Member is No, and when AAM Accredited is No? ### Context: CREATE TABLE table_name_61 (city VARCHAR, aam_accredited VARCHAR, state VARCHAR, aam_member VARCHAR) ### Response: ### Response: SELECT city FROM table_name_61 WHERE state = "florida" AND aam_member = "no" AND aam_accredited = "no"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the average number of ties for years with more than 19 wins? ### Context: CREATE TABLE table_name_33 (tied INTEGER, wins INTEGER) ### Response: ### Response: SELECT AVG(tied) FROM table_name_33 WHERE wins > 19</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the hometown of the player which has a height of 6-0? ### Context: CREATE TABLE table_name_31 (hometown VARCHAR, height VARCHAR) ### Response: ### Response: SELECT hometown FROM table_name_31 WHERE height = "6-0"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What date was there a game larger than 17? ### Context: CREATE TABLE table_name_20 (date VARCHAR, game INTEGER) ### Response: ### Response: SELECT date FROM table_name_20 WHERE game > 17</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which policy type has the most records in the database? ### Context: CREATE TABLE available_policies (policy_type_code VARCHAR) ### Response: ### Response: SELECT policy_type_code FROM available_policies GROUP BY policy_type_code ORDER BY COUNT(*) DESC LIMIT 1</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: On which date did the tournament final with the clay surface take place? ### Context: CREATE TABLE table_name_94 (date VARCHAR, surface VARCHAR) ### Response: ### Response: SELECT date FROM table_name_94 WHERE surface = "clay"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the 3rd for season less than 4 and lost of 61 ### Context: CREATE TABLE table_name_19 (season VARCHAR, lost VARCHAR) ### Response: ### Response: SELECT 3 AS _rd FROM table_name_19 WHERE season < 4 AND lost = 61</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the home team score for kardinia park? ### Context: CREATE TABLE table_name_56 (home_team VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT home_team AS score FROM table_name_56 WHERE venue = "kardinia park"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the population in Westfield? ### Context: CREATE TABLE table_171236_2 (population VARCHAR, official_name VARCHAR) ### Response: ### Response: SELECT COUNT(population) FROM table_171236_2 WHERE official_name = "Westfield"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What Winning driver has a Winning constructor of sunbeam? ### Context: CREATE TABLE table_name_43 (winning_driver VARCHAR, winning_constructor VARCHAR) ### Response: ### Response: SELECT winning_driver FROM table_name_43 WHERE winning_constructor = "sunbeam"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the average PCT when it has a PTS smaller than 9 a wins larger than 1? ### Context: CREATE TABLE table_name_45 (pct INTEGER, pts VARCHAR, wins VARCHAR) ### Response: ### Response: SELECT AVG(pct) FROM table_name_45 WHERE pts < 9 AND wins > 1</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who directed the episode that originally aired on January 15, 2008? ### Context: CREATE TABLE table_13301516_1 (directed_by VARCHAR, original_air_date VARCHAR) ### Response: ### Response: SELECT directed_by FROM table_13301516_1 WHERE original_air_date = "January 15, 2008"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who was the runner up at the Volvo Masters Andalucia? ### Context: CREATE TABLE table_1615980_4 (runner_s__up VARCHAR, tournament VARCHAR) ### Response: ### Response: SELECT runner_s__up FROM table_1615980_4 WHERE tournament = "Volvo Masters Andalucia"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Weight & Height has a Player of michael worrincy? ### Context: CREATE TABLE table_name_65 (weight_ VARCHAR, _height VARCHAR, player VARCHAR) ### Response: ### Response: SELECT weight_ & _height FROM table_name_65 WHERE player = "michael worrincy"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What's the 2005 of TV3 when there is less than 42 in 2007 and less than 29.5 in 2010? ### Context: CREATE TABLE table_name_36 (tv_station__operator_ VARCHAR) ### Response: ### Response: SELECT MAX(2005) FROM table_name_36 WHERE 2007 < 42 AND tv_station__operator_ = "tv3" AND 2010 < 29.5</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Bob Johnson plays for which AFL team? ### Context: CREATE TABLE table_12165999_1 (afl_team VARCHAR, player VARCHAR) ### Response: ### Response: SELECT afl_team FROM table_12165999_1 WHERE player = "Bob Johnson"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the other for 2012? ### Context: CREATE TABLE table_name_54 (other VARCHAR, year VARCHAR) ### Response: ### Response: SELECT other FROM table_name_54 WHERE year = "2012"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the local name given to the capital of Anguilla? ### Context: CREATE TABLE table_1008653_1 (capital___endonym__ VARCHAR, country___endonym__ VARCHAR) ### Response: ### Response: SELECT capital___endonym__ FROM table_1008653_1 WHERE country___endonym__ = "Anguilla"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What's the roll for summerland primary when decile is over 6? ### Context: CREATE TABLE table_name_66 (roll VARCHAR, decile VARCHAR, name VARCHAR) ### Response: ### Response: SELECT roll FROM table_name_66 WHERE decile > 6 AND name = "summerland primary"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: what's the runners-up with nation being malaysia ### Context: CREATE TABLE table_12303563_2 (runners_up VARCHAR, nation VARCHAR) ### Response: ### Response: SELECT runners_up FROM table_12303563_2 WHERE nation = "Malaysia"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which method was used in a round greater than 3? ### Context: CREATE TABLE table_name_15 (method VARCHAR, round INTEGER) ### Response: ### Response: SELECT method FROM table_name_15 WHERE round > 3</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the latitude for deer lake ### Context: CREATE TABLE table_18600760_4 (latitude VARCHAR, township VARCHAR) ### Response: ### Response: SELECT latitude FROM table_18600760_4 WHERE township = "Deer Lake"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the total number of laps where time/retired is +2 laps and the grid number is bigger than 18? ### Context: CREATE TABLE table_name_5 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) ### Response: ### Response: SELECT SUM(laps) FROM table_name_5 WHERE time_retired = "+2 laps" AND grid > 18</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: List the earnings of poker players in descending order. ### Context: CREATE TABLE poker_player (Earnings VARCHAR) ### Response: ### Response: SELECT Earnings FROM poker_player ORDER BY Earnings DESC</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the total for the year of 1925? ### Context: CREATE TABLE table_name_39 (total VARCHAR, years VARCHAR) ### Response: ### Response: SELECT total FROM table_name_39 WHERE years = "1925"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What time did the season finale air on May 20, 2003? ### Context: CREATE TABLE table_name_43 (timeslot VARCHAR, finale VARCHAR) ### Response: ### Response: SELECT timeslot FROM table_name_43 WHERE finale = "may 20, 2003"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What rank did Best Friends receive? ### Context: CREATE TABLE table_name_90 (rank VARCHAR, title VARCHAR) ### Response: ### Response: SELECT rank FROM table_name_90 WHERE title = "best friends"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What Social AO has an External CO of elena buscher, and a President of harm van leeuwen? ### Context: CREATE TABLE table_name_39 (social_ao VARCHAR, external_co VARCHAR, president VARCHAR) ### Response: ### Response: SELECT social_ao FROM table_name_39 WHERE external_co = "elena buscher" AND president = "harm van leeuwen"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many parties is the incumbent Bob Brady a member of? ### Context: CREATE TABLE table_1341423_38 (party VARCHAR, incumbent VARCHAR) ### Response: ### Response: SELECT COUNT(party) FROM table_1341423_38 WHERE incumbent = "Bob Brady"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the Location of the Church that was built in the year 1914? ### Context: CREATE TABLE table_name_51 (location_of_the_church VARCHAR, year_built VARCHAR) ### Response: ### Response: SELECT location_of_the_church FROM table_name_51 WHERE year_built = 1914</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: who is the player when the place is t10 and the score is 67-72-72=211? ### Context: CREATE TABLE table_name_37 (player VARCHAR, place VARCHAR, score VARCHAR) ### Response: ### Response: SELECT player FROM table_name_37 WHERE place = "t10" AND score = 67 - 72 - 72 = 211</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many players had the most points in the game @ Milwaukee? ### Context: CREATE TABLE table_11960944_6 (high_points VARCHAR, team VARCHAR) ### Response: ### Response: SELECT COUNT(high_points) FROM table_11960944_6 WHERE team = "@ Milwaukee"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Before the year 1988, what is the lowest number of points that entrant Coloni SpA scored? ### Context: CREATE TABLE table_name_84 (points INTEGER, entrant VARCHAR, year VARCHAR) ### Response: ### Response: SELECT MIN(points) FROM table_name_84 WHERE entrant = "coloni spa" AND year < 1988</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the lowest number of 3 pointers that occured in games with 52 steals? ### Context: CREATE TABLE table_22993636_5 (three_pointers INTEGER, steals VARCHAR) ### Response: ### Response: SELECT MIN(three_pointers) FROM table_22993636_5 WHERE steals = 52</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the position for the player that is from valparaiso ### Context: CREATE TABLE table_name_26 (position VARCHAR, school_club_team_country VARCHAR) ### Response: ### Response: SELECT position FROM table_name_26 WHERE school_club_team_country = "valparaiso"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which years have an Area of rangitoto? ### Context: CREATE TABLE table_name_16 (years VARCHAR, area VARCHAR) ### Response: ### Response: SELECT years FROM table_name_16 WHERE area = "rangitoto"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What's the highest Year Left that's got a Conference Joined of Sagamore with a Year Joined larger than 1942? ### Context: CREATE TABLE table_name_3 (year_left INTEGER, conference_joined VARCHAR, year_joined VARCHAR) ### Response: ### Response: SELECT MAX(year_left) FROM table_name_3 WHERE conference_joined = "sagamore" AND year_joined > 1942</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the Time with a Record that is 15-7? ### Context: CREATE TABLE table_name_98 (time VARCHAR, record VARCHAR) ### Response: ### Response: SELECT time FROM table_name_98 WHERE record = "15-7"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many runners-up were there when Joanne Wheatley won? ### Context: CREATE TABLE table_28962227_1 (runners_up VARCHAR, winner VARCHAR) ### Response: ### Response: SELECT COUNT(runners_up) FROM table_28962227_1 WHERE winner = "Joanne Wheatley"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which tournament has 1r in 2011, 1r in 2012, A in 2005, and 1r in 2010? ### Context: CREATE TABLE table_name_62 (tournament VARCHAR) ### Response: ### Response: SELECT tournament FROM table_name_62 WHERE 2011 = "1r" AND 2012 = "1r" AND 2005 = "a" AND 2010 = "1r"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the length of release 3.6? ### Context: CREATE TABLE table_name_54 (length VARCHAR, release VARCHAR) ### Response: ### Response: SELECT length FROM table_name_54 WHERE release = 3.6</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the date of the game with a w 105-88 score? ### Context: CREATE TABLE table_name_78 (date VARCHAR, score VARCHAR) ### Response: ### Response: SELECT date FROM table_name_78 WHERE score = "w 105-88"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What venue has 2 as the rank? ### Context: CREATE TABLE table_name_75 (venue VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT venue FROM table_name_75 WHERE rank = "2"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is City of License, when Frequency MHz is less than 102.5? ### Context: CREATE TABLE table_name_8 (city_of_license VARCHAR, frequency_mhz INTEGER) ### Response: ### Response: SELECT city_of_license FROM table_name_8 WHERE frequency_mhz < 102.5</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Year(s) won has a Total of 147? ### Context: CREATE TABLE table_name_57 (year_s__won VARCHAR, total VARCHAR) ### Response: ### Response: SELECT year_s__won FROM table_name_57 WHERE total = 147</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many Uni numbers have Bats of s, and a Position of utl? ### Context: CREATE TABLE table_name_31 (uni_number VARCHAR, bats VARCHAR, position VARCHAR) ### Response: ### Response: SELECT COUNT(uni_number) FROM table_name_31 WHERE bats = "s" AND position = "utl"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is Year is Walt Disney Pictures Imagemovers Digital? ### Context: CREATE TABLE table_name_59 (year INTEGER, studio_s_ VARCHAR) ### Response: ### Response: SELECT SUM(year) FROM table_name_59 WHERE studio_s_ = "walt disney pictures imagemovers digital"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the score of the event that Alianza Lima won in 1965? ### Context: CREATE TABLE table_name_76 (score_ VARCHAR, c_ VARCHAR, winner VARCHAR, season VARCHAR) ### Response: ### Response: SELECT score_[c_] FROM table_name_76 WHERE winner = "alianza lima" AND season = 1965</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: what is the camera used when the wavelength is 814nm (i-band)? ### Context: CREATE TABLE table_2583036_1 (camera VARCHAR, wavelength VARCHAR) ### Response: ### Response: SELECT camera FROM table_2583036_1 WHERE wavelength = "814nm (I-band)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is every value for словјански if polish is książka? ### Context: CREATE TABLE table_25008327_8 (словјански VARCHAR, polish VARCHAR) ### Response: ### Response: SELECT словјански FROM table_25008327_8 WHERE polish = "książka"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many points did Bob Gerard Racing have in 1965? ### Context: CREATE TABLE table_name_37 (points VARCHAR, entrant VARCHAR, year VARCHAR) ### Response: ### Response: SELECT points FROM table_name_37 WHERE entrant = "bob gerard racing" AND year = 1965</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the Years which have Transmission of digital satellite, an On demand of no, and a Free or pay of free + ppv? ### Context: CREATE TABLE table_name_16 (years VARCHAR, free_or_pay VARCHAR, transmission VARCHAR, on_demand VARCHAR) ### Response: ### Response: SELECT years FROM table_name_16 WHERE transmission = "digital satellite" AND on_demand = "no" AND free_or_pay = "free + ppv"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the smallest season for a tv series with a yes and human was the species? ### Context: CREATE TABLE table_name_58 (tv_seasons INTEGER, tv_series VARCHAR, species VARCHAR) ### Response: ### Response: SELECT MIN(tv_seasons) FROM table_name_58 WHERE tv_series = "yes" AND species = "human"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: what was the achievement for the rival at scottish claymores ### Context: CREATE TABLE table_27893892_2 (team_record VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT team_record FROM table_27893892_2 WHERE opponent = "at Scottish Claymores"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who had a total of 34? ### Context: CREATE TABLE table_name_90 (name VARCHAR, total VARCHAR) ### Response: ### Response: SELECT name FROM table_name_90 WHERE total = 34</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the decease spouse for carol deluise ### Context: CREATE TABLE table_24143253_1 (deceased_spouse VARCHAR, name VARCHAR) ### Response: ### Response: SELECT deceased_spouse FROM table_24143253_1 WHERE name = "Carol DeLuise"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many devices are there? ### Context: CREATE TABLE device (Id VARCHAR) ### Response: ### Response: SELECT COUNT(*) FROM device</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who left a position on 29 May? ### Context: CREATE TABLE table_17327458_1 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR) ### Response: ### Response: SELECT outgoing_manager FROM table_17327458_1 WHERE date_of_vacancy = "29 May"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What date has the format of cd? ### Context: CREATE TABLE table_name_40 (date VARCHAR, format VARCHAR) ### Response: ### Response: SELECT date FROM table_name_40 WHERE format = "cd"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What date had a record of 43-34? ### Context: CREATE TABLE table_name_17 (date VARCHAR, record VARCHAR) ### Response: ### Response: SELECT date FROM table_name_17 WHERE record = "43-34"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What game, played on October 17 in front of 49,347 fans, had the lowest score? ### Context: CREATE TABLE table_name_93 (game INTEGER, date VARCHAR, attendance VARCHAR) ### Response: ### Response: SELECT MIN(game) FROM table_name_93 WHERE date = "october 17" AND attendance > 49 OFFSET 347</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the Location of the Game on October 8? ### Context: CREATE TABLE table_name_73 (location VARCHAR, date VARCHAR) ### Response: ### Response: SELECT location FROM table_name_73 WHERE date = "october 8"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who is the kitmaker for Fc Augsburg? ### Context: CREATE TABLE table_name_38 (kitmaker VARCHAR, team VARCHAR) ### Response: ### Response: SELECT kitmaker FROM table_name_38 WHERE team = "fc augsburg"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What label is the ALCA-9197 Catalog? ### Context: CREATE TABLE table_name_77 (label VARCHAR, catalog VARCHAR) ### Response: ### Response: SELECT label FROM table_name_77 WHERE catalog = "alca-9197"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the date of A. Benes loss to the Rockies? ### Context: CREATE TABLE table_name_19 (date VARCHAR, loss VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT date FROM table_name_19 WHERE loss = "a. benes" AND opponent = "rockies"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the score of the game when the record was 18–43? ### Context: CREATE TABLE table_name_3 (score VARCHAR, record VARCHAR) ### Response: ### Response: SELECT score FROM table_name_3 WHERE record = "18–43"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which driver scored 9 points? ### Context: CREATE TABLE table_name_58 (driver VARCHAR, points VARCHAR) ### Response: ### Response: SELECT driver FROM table_name_58 WHERE points = "9"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: In what venue does Footscray play? ### Context: CREATE TABLE table_name_16 (venue VARCHAR, home_team VARCHAR) ### Response: ### Response: SELECT venue FROM table_name_16 WHERE home_team = "footscray"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### 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) ### Response: ### Response: SELECT fastest_lap FROM table_11056278_3 WHERE winning_driver = "Max Papis"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the greatest Wins with Matches smaller than 5, and a Year of 1994? ### Context: CREATE TABLE table_name_26 (wins INTEGER, matches VARCHAR, year VARCHAR) ### Response: ### Response: SELECT MAX(wins) FROM table_name_26 WHERE matches < 5 AND year = 1994</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who has a highest Long with 26 Yards and less than 9 Car? ### Context: CREATE TABLE table_name_84 (long INTEGER, yards VARCHAR, car VARCHAR) ### Response: ### Response: SELECT MAX(long) FROM table_name_84 WHERE yards = "26" AND car < 9</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many games played for teams with 277 points? ### Context: CREATE TABLE table_15467476_3 (played VARCHAR, points_for VARCHAR) ### Response: ### Response: SELECT played FROM table_15467476_3 WHERE points_for = "277"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Can you tell me the average Total that has the Silver larger than 1, and the Bronze smaller than 8? ### Context: CREATE TABLE table_name_15 (total INTEGER, silver VARCHAR, bronze VARCHAR) ### Response: ### Response: SELECT AVG(total) FROM table_name_15 WHERE silver > 1 AND bronze < 8</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the FCC info for the city of Tribune, Kansas? ### Context: CREATE TABLE table_name_74 (fcc_info VARCHAR, city_of_license VARCHAR) ### Response: ### Response: SELECT fcc_info FROM table_name_74 WHERE city_of_license = "tribune, kansas"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What time did Carroll Shelby have in Grid 14? ### Context: CREATE TABLE table_name_51 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR) ### Response: ### Response: SELECT time_retired FROM table_name_51 WHERE grid < 14 AND driver = "carroll shelby"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What type of yacht has a LOA of 15.15 metres? ### Context: CREATE TABLE table_name_94 (yacht VARCHAR, loa__metres_ VARCHAR) ### Response: ### Response: SELECT yacht AS Type FROM table_name_94 WHERE loa__metres_ = 15.15</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many people were in attendance on the game on April 8, 2007? ### Context: CREATE TABLE table_name_15 (attendance VARCHAR, date VARCHAR) ### Response: ### Response: SELECT attendance FROM table_name_15 WHERE date = "april 8, 2007"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the result of the election in the Florida 18 district? ### Context: CREATE TABLE table_1341598_10 (result VARCHAR, district VARCHAR) ### Response: ### Response: SELECT result FROM table_1341598_10 WHERE district = "Florida 18"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: WHAT RANK DOES LEONARD NIMOY HAVE? ### Context: CREATE TABLE table_name_16 (rank INTEGER, director VARCHAR) ### Response: ### Response: SELECT AVG(rank) FROM table_name_16 WHERE director = "leonard nimoy"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the Tie no of the Port Vale Away game? ### Context: CREATE TABLE table_name_56 (tie_no VARCHAR, away_team VARCHAR) ### Response: ### Response: SELECT tie_no FROM table_name_56 WHERE away_team = "port vale"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the game when the record was 31-15? ### Context: CREATE TABLE table_name_80 (game VARCHAR, record VARCHAR) ### Response: ### Response: SELECT game FROM table_name_80 WHERE record = "31-15"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: WHich Club has a City of colón? ### Context: CREATE TABLE table_name_93 (club VARCHAR, city VARCHAR) ### Response: ### Response: SELECT club FROM table_name_93 WHERE city = "colón"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the chassis of Emilio de Villota in 1981? ### Context: CREATE TABLE table_name_94 (chassis VARCHAR, year INTEGER) ### Response: ### Response: SELECT chassis FROM table_name_94 WHERE year > 1981</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is Honor, when Singular is ẽr (his/her/its)? ### Context: CREATE TABLE table_name_97 (honor VARCHAR, singular VARCHAR) ### Response: ### Response: SELECT honor FROM table_name_97 WHERE singular = "ẽr (his/her/its)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What place is Fredrik Jacobson from? ### Context: CREATE TABLE table_name_87 (place VARCHAR, player VARCHAR) ### Response: ### Response: SELECT place FROM table_name_87 WHERE player = "fredrik jacobson"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How much is the total with a time at 16:00 and score for set 3 of 18–25? ### Context: CREATE TABLE table_name_41 (total VARCHAR, time VARCHAR, set_3 VARCHAR) ### Response: ### Response: SELECT total FROM table_name_41 WHERE time = "16:00" AND set_3 = "18–25"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which artist had a result of 4? ### Context: CREATE TABLE table_26485957_1 (artist VARCHAR, result VARCHAR) ### Response: ### Response: SELECT artist FROM table_26485957_1 WHERE result = "4"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who was the maufacturer of the vehicle during the race where Cale Yarborough started at 19 and finished earlier than 42? ### Context: CREATE TABLE table_name_21 (manufacturer VARCHAR, finish VARCHAR, start VARCHAR) ### Response: ### Response: SELECT manufacturer FROM table_name_21 WHERE finish < 42 AND start = 19</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the Away team score for Away team North Melbourne? ### Context: CREATE TABLE table_name_13 (away_team VARCHAR) ### Response: ### Response: SELECT away_team AS score FROM table_name_13 WHERE away_team = "north melbourne"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: If the grand average is 12.76-202, who is the player? ### Context: CREATE TABLE table_27533947_1 (players VARCHAR, grand_average VARCHAR) ### Response: ### Response: SELECT players FROM table_27533947_1 WHERE grand_average = "12.76-202"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What prefecture is listed in the map as number 39? ### Context: CREATE TABLE table_221398_1 (prefecture VARCHAR, number_in_map VARCHAR) ### Response: ### Response: SELECT prefecture FROM table_221398_1 WHERE number_in_map = "39"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What are the themes and locations of parties? ### Context: CREATE TABLE party (Party_Theme VARCHAR, LOCATION VARCHAR) ### Response: ### Response: SELECT Party_Theme, LOCATION FROM party</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How big of a crowd does the home team of essendon have? ### Context: CREATE TABLE table_name_66 (crowd VARCHAR, home_team VARCHAR) ### Response: ### Response: SELECT crowd FROM table_name_66 WHERE home_team = "essendon"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which round was the circuit Assen ### Context: CREATE TABLE table_15187794_1 (round VARCHAR, circuit VARCHAR) ### Response: ### Response: SELECT round FROM table_15187794_1 WHERE circuit = "Assen"</s>