text_output
stringlengths
114
770
<s>[INST] <<SYS>> CREATE TABLE table_name_85 (country VARCHAR, airport VARCHAR) <</SYS>> SELECT country FROM table_name_85 WHERE airport = "brisbane airport"[/INST] The Brisbane airport is located in which country?</s>
<s>[INST] <<SYS>> CREATE TABLE table_13336122_5 (original_air_date VARCHAR, written_by VARCHAR) <</SYS>> SELECT original_air_date FROM table_13336122_5 WHERE written_by = "Vanessa Reisen"[/INST] what is the original air date for the episoe written by vanessa reisen?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR) <</SYS>> SELECT away_team AS score FROM table_name_16 WHERE home_team = "st kilda"[/INST] If the Home team was st kilda, what was the score of the Away team they played?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_74 (venue VARCHAR, home_team VARCHAR) <</SYS>> SELECT venue FROM table_name_74 WHERE home_team = "geelong"[/INST] Where did Geelong play a home game?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_63 (team VARCHAR, sponsor VARCHAR) <</SYS>> SELECT team FROM table_name_63 WHERE sponsor = "chameleon sunglasses"[/INST] What team is sponsored by chameleon sunglasses?</s>
<s>[INST] <<SYS>> CREATE TABLE table_19283806_4 (cook_pvi VARCHAR) <</SYS>> SELECT COUNT(2012 AS _election_results) FROM table_19283806_4 WHERE cook_pvi = "D+16"[/INST] How many election results in 2012 had a Cook PVI of D+16?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_49 (laps INTEGER, finish VARCHAR, start VARCHAR) <</SYS>> SELECT MIN(laps) FROM table_name_49 WHERE finish = "7" AND start = "6"[/INST] What's the smallest amount of Laps that had a finish of 7 with a start of 6?</s>
<s>[INST] <<SYS>> CREATE TABLE table_23887174_1 (center VARCHAR, province__ashkharh_ VARCHAR) <</SYS>> SELECT center FROM table_23887174_1 WHERE province__ashkharh_ = "Artsakh"[/INST] What's the center of the Artsakh province?</s>
<s>[INST] <<SYS>> CREATE TABLE table_22879323_8 (team VARCHAR, date VARCHAR) <</SYS>> SELECT team FROM table_22879323_8 WHERE date = "February 27"[/INST] What team was the game on February 27 played against?</s>
<s>[INST] <<SYS>> CREATE TABLE invoices (billing_country VARCHAR, total INTEGER) <</SYS>> SELECT billing_country, AVG(total) FROM invoices GROUP BY billing_country ORDER BY AVG(total) DESC LIMIT 10[/INST] A list of the top 10 countries by average invoice size. List country name and average invoice size.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_46 (opponent VARCHAR, record VARCHAR, week VARCHAR, game_site VARCHAR) <</SYS>> SELECT opponent FROM table_name_46 WHERE week > 3 AND game_site = "mile high stadium" AND record = "3–3"[/INST] Which Opponent has a Week larger than 3, and a Game site of mile high stadium, and a Record of 3–3?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_51 (venue VARCHAR, opponent VARCHAR, score VARCHAR) <</SYS>> SELECT venue FROM table_name_51 WHERE opponent = "collingwood" AND score = "7.14 (56) - 4.5 (29)"[/INST] At what venue did the team from Collingwood score 7.14 (56) - 4.5 (29)?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_65 (season VARCHAR, round VARCHAR, away_result VARCHAR) <</SYS>> SELECT season FROM table_name_65 WHERE round = "1r" AND away_result = "7–1"[/INST] Round of 1r, and an away result of 7–1 is what season?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_66 (year INTEGER, composition VARCHAR, issue_price VARCHAR) <</SYS>> SELECT MIN(year) FROM table_name_66 WHERE composition = "99.99% silver" AND issue_price = "$94.95"[/INST] What is the earliest year when the composition is 99.99% silver and the issue price is $94.95?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_98 (points INTEGER, goals VARCHAR) <</SYS>> SELECT SUM(points) FROM table_name_98 WHERE goals = "29–30"[/INST] What is the number of points when goals were 29–30?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_7 (country VARCHAR, notes VARCHAR, rank VARCHAR) <</SYS>> SELECT country FROM table_name_7 WHERE notes = "sa/b" AND rank = 2[/INST] Which country had notes of sa/b and a rank of 2?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_26 (winner VARCHAR, runner_up VARCHAR) <</SYS>> SELECT winner FROM table_name_26 WHERE runner_up = "both teams awarded championship after a draw."[/INST] What team was the winner when the runner-up shows both teams awarded championship after a draw.?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_70 (Id VARCHAR) <</SYS>> SELECT 2008 FROM table_name_70 WHERE 2006 = "1r"[/INST] What is 2008, when 2006 is "1R"?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_38 (country VARCHAR, to_par VARCHAR, player VARCHAR) <</SYS>> SELECT country FROM table_name_38 WHERE to_par > 5 AND player = "john mahaffey"[/INST] What country has a to par larger than 5 and a player John Mahaffey?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_19 (rank INTEGER, worldwide_gross VARCHAR) <</SYS>> SELECT SUM(rank) FROM table_name_19 WHERE worldwide_gross = "$183,031,272"[/INST] What is the Rank of the Film with a Worldwide Gross of $183,031,272?</s>
<s>[INST] <<SYS>> CREATE TABLE table_17356873_1 (venue VARCHAR, shirt_sponsor VARCHAR) <</SYS>> SELECT venue FROM table_17356873_1 WHERE shirt_sponsor = "Mardan"[/INST] Which venue does Mardan sponsor?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_49 (pavilion_depth VARCHAR, crown_angle VARCHAR) <</SYS>> SELECT pavilion_depth FROM table_name_49 WHERE crown_angle = "34.0–34.7°"[/INST] Which Pavilion depth has a Crown angle of 34.0–34.7°?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_90 (award VARCHAR, year VARCHAR, episode VARCHAR) <</SYS>> SELECT award FROM table_name_90 WHERE year < 2004 AND episode = "—"[/INST] What award has a year earlier than 2004 and the episode shows —?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_21 (attendance INTEGER, decision VARCHAR, visitor VARCHAR) <</SYS>> SELECT MIN(attendance) FROM table_name_21 WHERE decision = "conklin" AND visitor = "chicago"[/INST] What was the lowest attendance at the game against chicago when conklin made the decision?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_69 (rectifier VARCHAR, det_pre_amp VARCHAR, _number_tubes VARCHAR) <</SYS>> SELECT rectifier FROM table_name_69 WHERE det_pre_amp = "x" AND _number_tubes = "4"[/INST] Name the rectifier for Det/Pre-amp of x and # tubes of 4</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_9 (time VARCHAR, opponent VARCHAR) <</SYS>> SELECT time FROM table_name_9 WHERE opponent = "buffalo bills"[/INST] Tell me the time for buffalo bills</s>
<s>[INST] <<SYS>> CREATE TABLE table_18626383_2 (contestant VARCHAR, hometown VARCHAR) <</SYS>> SELECT contestant FROM table_18626383_2 WHERE hometown = "Santiago del Estero"[/INST] When santiago del estero is the hometown who is the contestant?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_2 (top_25 INTEGER, wins INTEGER) <</SYS>> SELECT MIN(top_25) FROM table_name_2 WHERE wins < 0[/INST] What is the lowest Top-25 with Wins less than 0?</s>
<s>[INST] <<SYS>> CREATE TABLE table_15909409_2 (country VARCHAR, per_capita_withdrawal__m_3__p_yr_ VARCHAR) <</SYS>> SELECT COUNT(country) FROM table_15909409_2 WHERE per_capita_withdrawal__m_3__p_yr_ = 372[/INST] How many countries had a per capita withdrawal (m 3 /p/yr) of 372?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_89 (date VARCHAR, score VARCHAR) <</SYS>> SELECT date FROM table_name_89 WHERE score = "2–4"[/INST] On what date was the score 2–4?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_86 (opponent VARCHAR, attendance VARCHAR) <</SYS>> SELECT opponent FROM table_name_86 WHERE attendance = "76,965"[/INST] Name the opponent that has attendance of 76,965</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_1 (driver VARCHAR, engine_† VARCHAR) <</SYS>> SELECT driver FROM table_name_1 WHERE engine_† = "mercedes fo110m"[/INST] who is the driver when the engine is mercedes fo110m?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_4 (affiliation VARCHAR, nickname VARCHAR) <</SYS>> SELECT affiliation FROM table_name_4 WHERE nickname = "bulldogs"[/INST] What is Affiliation, when Nickname is Bulldogs?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1322904_1 (release VARCHAR, title VARCHAR) <</SYS>> SELECT release FROM table_1322904_1 WHERE title = "Sonic Adventure 2"[/INST] What was the release date of Sonic Adventure 2?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_42 (grid VARCHAR, constructor VARCHAR, laps VARCHAR, time_retired VARCHAR) <</SYS>> SELECT COUNT(grid) FROM table_name_42 WHERE laps < 52 AND time_retired = "collision" AND constructor = "arrows - supertec"[/INST] What is the grid number with less than 52 laps and a Time/Retired of collision, and a Constructor of arrows - supertec?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_35 (top_10 VARCHAR, wins VARCHAR, poles VARCHAR) <</SYS>> SELECT COUNT(top_10) FROM table_name_35 WHERE wins > 0 AND poles > 0[/INST] How many Top 10s have Wins larger than 0, and Poles larger than 0?</s>
<s>[INST] <<SYS>> CREATE TABLE table_29486189_4 (first_elected VARCHAR, representative VARCHAR) <</SYS>> SELECT first_elected FROM table_29486189_4 WHERE representative = "Al Landis"[/INST] when was al landis first elected</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_7 (score VARCHAR, tournament VARCHAR) <</SYS>> SELECT score FROM table_name_7 WHERE tournament = "belgrade"[/INST] The tournament in Belgrade had what as a score?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_93 (gold INTEGER, nation VARCHAR) <</SYS>> SELECT MAX(gold) FROM table_name_93 WHERE nation = "uzbekistan (uzb)"[/INST] How much gold received by nation of uzbekistan (uzb)?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2562572_39 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR) <</SYS>> SELECT population__2011_ FROM table_2562572_39 WHERE cyrillic_name_other_names = "Јарковац"[/INST] The pooulation of јарковац is?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_19 (team VARCHAR, position VARCHAR, player VARCHAR) <</SYS>> SELECT team FROM table_name_19 WHERE position = "ss" AND player = "rich mckinney"[/INST] What is SS Player Rich McKinney's Team?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_92 (year INTEGER, group VARCHAR, award VARCHAR, result VARCHAR, film_series VARCHAR) <</SYS>> SELECT AVG(year) FROM table_name_92 WHERE result = "nominated" AND film_series = "thirst" AND award = "best actress" AND group = "baeksang arts awards"[/INST] What is the average year in which Kim was nominated for Thirst as Best Actress at the Baeksang Arts Awards?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_51 (competition VARCHAR, location VARCHAR, year VARCHAR, score VARCHAR) <</SYS>> SELECT competition FROM table_name_51 WHERE year > 1980 AND score = "0:5" AND location = "jerusalem"[/INST] Which competition occurred after 1980 with a score of 0:5 in Jerusalem?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_59 (attendance INTEGER, date VARCHAR) <</SYS>> SELECT MIN(attendance) FROM table_name_59 WHERE date = "october 10, 1965"[/INST] Date of october 10, 1965 had what lowest attendance?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_71 (iata VARCHAR, city VARCHAR) <</SYS>> SELECT iata FROM table_name_71 WHERE city = "tripoli"[/INST] what is the iata when the city is tripoli?</s>
<s>[INST] <<SYS>> CREATE TABLE table_160510_5 (m_r_romaja VARCHAR, region VARCHAR) <</SYS>> SELECT m_r_romaja FROM table_160510_5 WHERE region = "Kwanbuk"[/INST] Name the m r romaja for kwanbuk</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_91 (grid INTEGER, rider VARCHAR) <</SYS>> SELECT SUM(grid) FROM table_name_91 WHERE rider = "ryuichi kiyonari"[/INST] How many Grid has a Rider of ryuichi kiyonari?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_40 (ties INTEGER, goals_for VARCHAR, wins VARCHAR) <</SYS>> SELECT SUM(ties) FROM table_name_40 WHERE goals_for = 25 AND wins > 5[/INST] How many ties do teams with 25 Goals For and more than 5 wins have?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_13 (constructor VARCHAR, laps VARCHAR) <</SYS>> SELECT constructor FROM table_name_13 WHERE laps = 56[/INST] What Constructor has 56 Laps?</s>
<s>[INST] <<SYS>> CREATE TABLE table_19236587_4 (series_no INTEGER, season_no VARCHAR) <</SYS>> SELECT MIN(series_no) FROM table_19236587_4 WHERE season_no = 2[/INST] What's the series number of the episode with season number 2?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_85 (decision VARCHAR, visitor VARCHAR) <</SYS>> SELECT decision FROM table_name_85 WHERE visitor = "chicago"[/INST] What was the decision when Chicago was the visiting team?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_6 (competition VARCHAR, year VARCHAR, venue VARCHAR) <</SYS>> SELECT competition FROM table_name_6 WHERE year < 2007 AND venue = "gothenburg, sweden"[/INST] What competition did he compete in before 2007 in gothenburg, sweden?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_14 (capacity INTEGER, stadium VARCHAR, current_manager VARCHAR) <</SYS>> SELECT AVG(capacity) FROM table_name_14 WHERE stadium = "kadrioru stadium" AND current_manager = "sergei ratnikov"[/INST] What is the capacity for the stadium of kadrioru stadium and a current manager of sergei ratnikov?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_46 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR) <</SYS>> SELECT constructor FROM table_name_46 WHERE grid > 8 AND time_retired = "+1:17.124"[/INST] Which Constructor has a Grid larger than 8, and a Time/Retired of +1:17.124?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_3 (island VARCHAR, area___ha__ VARCHAR, population VARCHAR, height__m_ VARCHAR) <</SYS>> SELECT island FROM table_name_3 WHERE population > 76 AND height__m_ > 210 AND area___ha__ > 12068[/INST] What island has a population over 76, a height over 210, and an area larger than 12068?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_71 (method VARCHAR, opponent VARCHAR) <</SYS>> SELECT method FROM table_name_71 WHERE opponent = "jerry bohlander"[/INST] I want to know the method for opponent of jerry bohlander</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_13 (score VARCHAR, venue VARCHAR, opponent VARCHAR) <</SYS>> SELECT score FROM table_name_13 WHERE venue = "mcg" AND opponent = "footscray"[/INST] Name the score at mcg venue and footscray opponent</s>
<s>[INST] <<SYS>> CREATE TABLE list (grade VARCHAR, classroom VARCHAR) <</SYS>> SELECT DISTINCT grade FROM list WHERE classroom = 103[/INST] Which grade is studying in classroom 103?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_51 (recnet VARCHAR, class VARCHAR, city_of_license VARCHAR) <</SYS>> SELECT recnet FROM table_name_51 WHERE class = "b" AND city_of_license = "rouyn-noranda"[/INST] What is the RECNet with a Class of B and the City of License of Rouyn-Noranda?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_13 (laps INTEGER, class VARCHAR, entrant VARCHAR) <</SYS>> SELECT MAX(laps) FROM table_name_13 WHERE class = "v8" AND entrant = "diet-coke racing"[/INST] What was the highest amount of laps when the class was v8 and the entrant was diet-coke racing?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_71 (played VARCHAR, drawn VARCHAR, points VARCHAR) <</SYS>> SELECT COUNT(played) FROM table_name_71 WHERE drawn = 1 AND points < 7[/INST] What is the total number played with 1 drawn, and less than 7 points?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_44 (winners INTEGER, rank VARCHAR, third VARCHAR) <</SYS>> SELECT MAX(winners) FROM table_name_44 WHERE rank > 7 AND third < 1[/INST] Which Winners is the highest one that has a Rank larger than 7, and a Third smaller than 1?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_11 (opponent VARCHAR, method VARCHAR, res VARCHAR) <</SYS>> SELECT opponent FROM table_name_11 WHERE method = "tko (doctor stoppage)" AND res = "loss"[/INST] The tko (doctor stoppage) method was used in a loss against which opponent?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_17 (opponent VARCHAR, year VARCHAR) <</SYS>> SELECT opponent FROM table_name_17 WHERE year = "1992"[/INST] Who is the opponent in 1992?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_52 (semifinalists VARCHAR, week VARCHAR) <</SYS>> SELECT semifinalists FROM table_name_52 WHERE week = "may 12"[/INST] Who are the Semifinalists, when the Week is May 12?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_9 (country VARCHAR, place VARCHAR, player VARCHAR) <</SYS>> SELECT country FROM table_name_9 WHERE place = "t1" AND player = "wayne grady"[/INST] What is the country of t1 place player wayne grady?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_62 (silver INTEGER, bronze INTEGER) <</SYS>> SELECT AVG(silver) FROM table_name_62 WHERE bronze > 1[/INST] What is the average number of silvers for nations with over 1 bronze medal?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_11 (Id VARCHAR) <</SYS>> SELECT 2012 FROM table_name_11 WHERE 2007 = "a" AND 2011 = "qf"[/INST] What is the 2012 value with A in 2007 and qf in 2011?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_16 (nominee VARCHAR, award VARCHAR) <</SYS>> SELECT nominee FROM table_name_16 WHERE award = "tony award"[/INST] Who was the nominee having a Tony award?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_41 (points VARCHAR, engine VARCHAR) <</SYS>> SELECT COUNT(points) FROM table_name_41 WHERE engine = "honda hr-1"[/INST] What is the total number of points of the honda hr-1 engine?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1682026_7 (headquarters VARCHAR, company VARCHAR) <</SYS>> SELECT COUNT(headquarters) FROM table_1682026_7 WHERE company = "HSBC"[/INST] How many headquarters are there listed for HSBC?</s>
<s>[INST] <<SYS>> CREATE TABLE table_25505246_8 (round VARCHAR, against VARCHAR) <</SYS>> SELECT round FROM table_25505246_8 WHERE against = "South Africa"[/INST] in what round types did the opponent come from south africa?</s>
<s>[INST] <<SYS>> CREATE TABLE table_25016824_2 (reward VARCHAR, immunity VARCHAR, finish VARCHAR) <</SYS>> SELECT reward FROM table_25016824_2 WHERE immunity = "Martin" AND finish = "13th voted Out 8th Jury Member Day 46"[/INST] What was the reward when immunity went to martin and finish is 13th voted out 8th jury member day 46?</s>
<s>[INST] <<SYS>> CREATE TABLE table_14260687_3 (blackberry_os VARCHAR, symbian VARCHAR) <</SYS>> SELECT blackberry_os FROM table_14260687_3 WHERE symbian = "10.4"[/INST] How many millions of Blackberry OS smartphones were shipped when 10.4 million Symbian smartphones were shipped?</s>
<s>[INST] <<SYS>> CREATE TABLE table_12164707_1 (mens_doubles VARCHAR, womens_singles VARCHAR) <</SYS>> SELECT mens_doubles FROM table_12164707_1 WHERE womens_singles = "Guo Xin"[/INST] Who won the Men's Doubles when Guo Xin won the Women's Singles?</s>
<s>[INST] <<SYS>> CREATE TABLE record (swimmer_id VARCHAR); CREATE TABLE swimmer (name VARCHAR, id VARCHAR) <</SYS>> SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id WHERE RESULT = 'Win' INTERSECT SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id WHERE RESULT = 'Loss'[/INST] Find the names of the swimmers who have both "win" and "loss" results in the record.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_40 (owner VARCHAR, winner VARCHAR) <</SYS>> SELECT owner FROM table_name_40 WHERE winner = "miss terrible"[/INST] Who is the owner of Miss Terrible?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_92 (date VARCHAR, home_team VARCHAR) <</SYS>> SELECT date FROM table_name_92 WHERE home_team = "footscray"[/INST] What date did Footscray play at home?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_65 (attendance VARCHAR, date VARCHAR) <</SYS>> SELECT attendance FROM table_name_65 WHERE date = "november 6, 1960"[/INST] What was the Attendance on November 6, 1960?</s>
<s>[INST] <<SYS>> CREATE TABLE table_26736040_1 (no_in_series INTEGER, directed_by VARCHAR) <</SYS>> SELECT MAX(no_in_series) FROM table_26736040_1 WHERE directed_by = "Phil Abraham"[/INST] What is the highest number in series with director as Phil Abraham?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_31 (location VARCHAR, score VARCHAR, record VARCHAR) <</SYS>> SELECT location FROM table_name_31 WHERE score = "3–2" AND record = "3–2–3"[/INST] Which location has a Score of 3–2, and a Record of 3–2–3?</s>
<s>[INST] <<SYS>> CREATE TABLE table_20453681_1 (others VARCHAR, mccain_percentage VARCHAR) <</SYS>> SELECT others FROM table_20453681_1 WHERE mccain_percentage = "65.5%"[/INST] How many people voted for others in the county where McCain got 65.5% of the votes?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_54 (points_against VARCHAR, try_bonus VARCHAR, lost VARCHAR) <</SYS>> SELECT points_against FROM table_name_54 WHERE try_bonus = "4" AND lost = "10"[/INST] For a Lost of 10 and a Try Bonus of 4, what are the points against them?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_20 (opponent VARCHAR, location VARCHAR, result VARCHAR) <</SYS>> SELECT opponent FROM table_name_20 WHERE location = "groves stadium • winston-salem, nc" AND result = "t 17-17"[/INST] What is the Opponent when the location was groves stadium • winston-salem, nc, with a result of t 17-17?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1266602_2 (driver_s_ VARCHAR, team VARCHAR) <</SYS>> SELECT driver_s_ FROM table_1266602_2 WHERE team = "Circle Sport"[/INST] Who drove for team Circle Sport?</s>
<s>[INST] <<SYS>> CREATE TABLE table_15211468_1 (countries_visited VARCHAR, presenter VARCHAR) <</SYS>> SELECT countries_visited FROM table_15211468_1 WHERE presenter = "Brian B. Thompson"[/INST] What countries are visited in the episode presented by Brian B. Thompson?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1008653_9 (capital___endonym__ VARCHAR, capital___exonym__ VARCHAR) <</SYS>> SELECT capital___endonym__ FROM table_1008653_9 WHERE capital___exonym__ = "Douglas"[/INST] What is the capital (endonym) where Douglas is the Capital (exonym)?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_60 (opponent VARCHAR, date VARCHAR) <</SYS>> SELECT opponent FROM table_name_60 WHERE date = "december 23, 1995"[/INST] Who did the Tampa Bay Buccaneers play on december 23, 1995?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_18 (country VARCHAR, place VARCHAR, score VARCHAR) <</SYS>> SELECT country FROM table_name_18 WHERE place = "t8" AND score = 71 - 71 - 71 = 213[/INST] What country placed t8 and scored 71-71-71=213?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_25 (year VARCHAR, uk_albums VARCHAR) <</SYS>> SELECT year FROM table_name_25 WHERE uk_albums = "15"[/INST] 15 albums were released in the UK during which year?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_71 (written_by VARCHAR, original_air_date VARCHAR) <</SYS>> SELECT written_by FROM table_name_71 WHERE original_air_date = "october 9, 2000"[/INST] What is the name of the writer for the episode with an Original air date of october 9, 2000?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_71 (power__horsepower_ INTEGER, year_built INTEGER) <</SYS>> SELECT SUM(power__horsepower_) FROM table_name_71 WHERE year_built > 1995[/INST] What is the power of the unit built after 1995?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2869843_1 (bi_tone VARCHAR, model VARCHAR, olive_drab VARCHAR, caliber VARCHAR) <</SYS>> SELECT bi_tone FROM table_2869843_1 WHERE olive_drab = "No" AND caliber = "9×19mm Parabellum" AND model = "XDM 5.25 Competition"[/INST] are there bi-tone is there's no olive drab and the caliber is 9×19mm parabellum and model is xdm 5.25 competition</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_51 (wins VARCHAR, points VARCHAR, goals_for VARCHAR, goals_against VARCHAR, draws VARCHAR) <</SYS>> SELECT COUNT(wins) FROM table_name_51 WHERE goals_against < 49 AND draws = 9 AND goals_for = 39 AND points < 31[/INST] What is the total number of wins for the entry that has fewer than 49 goals against, 39 goals for, 9 draws, and fewer than 31 points?</s>
<s>[INST] <<SYS>> CREATE TABLE tryout (cName VARCHAR, pID VARCHAR); CREATE TABLE player (pID VARCHAR, pName VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR) <</SYS>> SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName JOIN player AS T3 ON T2.pID = T3.pID WHERE T3.pName = 'Charles'[/INST] Find the state of the college which player Charles is attending.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_69 (season VARCHAR) <</SYS>> SELECT 20 AS _29 FROM table_name_69 WHERE season = "2008"[/INST] What 20-29 was in season 2008?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_65 (winner VARCHAR, city VARCHAR) <</SYS>> SELECT winner FROM table_name_65 WHERE city = "loutraki"[/INST] Who is the Winner for the City of Loutraki?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_67 (position VARCHAR, pick VARCHAR, player VARCHAR) <</SYS>> SELECT position FROM table_name_67 WHERE pick < 33 AND player = "darrell arthur"[/INST] WHAT POSITION HAS A PICK SMALLER THAN 33, AND PLAYER BEING DARRELL ARTHUR?</s>
<s>[INST] <<SYS>> CREATE TABLE table_24781886_3 (air_date VARCHAR, viewers VARCHAR) <</SYS>> SELECT air_date FROM table_24781886_3 WHERE viewers = "7.08"[/INST] When 7.08 is the amount of viewers what is the air date?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_82 (rank INTEGER, earnings__$__ INTEGER) <</SYS>> SELECT AVG(rank) FROM table_name_82 WHERE earnings__$__ < 224 OFFSET 589[/INST] Which average rank has an Earning amount that is less than $224,589?</s>