text_output
stringlengths
114
770
<s>[INST] <<SYS>> CREATE TABLE table_27733258_2 (high_rebounds VARCHAR, date VARCHAR) <</SYS>> SELECT high_rebounds FROM table_27733258_2 WHERE date = "October 14"[/INST] What two players had the highest rebounds for the October 14 game?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_45 (venue VARCHAR, group VARCHAR) <</SYS>> SELECT venue FROM table_name_45 WHERE group = "g1"[/INST] What venue has g1 as the group?</s>
<s>[INST] <<SYS>> CREATE TABLE table_17355408_7 (date VARCHAR, high_assists VARCHAR) <</SYS>> SELECT date FROM table_17355408_7 WHERE high_assists = "Chauncey Billups (6)"[/INST] Chauncey Billups (6) had a high assist on what date?</s>
<s>[INST] <<SYS>> CREATE TABLE table_19852975_4 (season__number INTEGER, writer_s_ VARCHAR) <</SYS>> SELECT MAX(season__number) FROM table_19852975_4 WHERE writer_s_ = "Denne Bart Petitclerc"[/INST] From writer Denne Bart Petitclerc, what is the maximum season number?</s>
<s>[INST] <<SYS>> CREATE TABLE table_17120964_5 (man_of_the_match VARCHAR, date VARCHAR) <</SYS>> SELECT man_of_the_match FROM table_17120964_5 WHERE date = "24th"[/INST] Name the man of the match for 24th</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_63 (date VARCHAR, opponents VARCHAR) <</SYS>> SELECT date FROM table_name_63 WHERE opponents = "sheffield wednesday"[/INST] Opponents of sheffield wednesday had what date?</s>
<s>[INST] <<SYS>> CREATE TABLE employees (hire_date VARCHAR, first_name VARCHAR) <</SYS>> SELECT hire_date FROM employees WHERE NOT first_name LIKE '%M%'[/INST] when is the hire date for those employees whose first name does not containing the letter M?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_1 (date VARCHAR, home VARCHAR) <</SYS>> SELECT date FROM table_name_1 WHERE home = "lakers"[/INST] What is the date when the Lakers were the home team?</s>
<s>[INST] <<SYS>> CREATE TABLE death (killed INTEGER) <</SYS>> SELECT MAX(killed), MIN(killed) FROM death[/INST] What is maximum and minimum death toll caused each time?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_59 (score VARCHAR, date VARCHAR, goal VARCHAR) <</SYS>> SELECT score FROM table_name_59 WHERE date = "14 october 1998" AND goal > 10[/INST] What was the score of the match played on 14 October 1998, resulting in more than 10 goals?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2490289_1 (amiga_demo VARCHAR, pc_demo VARCHAR) <</SYS>> SELECT amiga_demo FROM table_2490289_1 WHERE pc_demo = "Tribes ( Pulse & Melon Dezign)"[/INST] Who won best amiga demo when tribes ( pulse & melon dezign) won best pc demo?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_36 (winning_driver VARCHAR, constructor VARCHAR, race VARCHAR) <</SYS>> SELECT winning_driver FROM table_name_36 WHERE constructor = "maserati" AND race = "monaco grand prix"[/INST] What driver was the winner when constructor was Maserati at the Monaco grand prix?</s>
<s>[INST] <<SYS>> CREATE TABLE table_18828487_1 (runner_up VARCHAR, year VARCHAR) <</SYS>> SELECT COUNT(runner_up) FROM table_18828487_1 WHERE year = 2009[/INST] In 2009, how many were runner-up?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_18 (games VARCHAR, event VARCHAR) <</SYS>> SELECT games FROM table_name_18 WHERE event = "men's 5000 metres"[/INST] Tell me the games for men's 5000 metres</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_75 (volume VARCHAR, weeks_on_top VARCHAR, issue_date_s_ VARCHAR) <</SYS>> SELECT volume AS :issue FROM table_name_75 WHERE weeks_on_top < 5 AND issue_date_s_ = "10 july - 24 july"[/INST] What is Volume:Issue, when Weeks on Top is less than 5, and when Issue Date(s) are 10 July - 24 July?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1682026_7 (market_value__billion_$_ VARCHAR, assets__billion_$_ VARCHAR) <</SYS>> SELECT market_value__billion_$_ FROM table_1682026_7 WHERE assets__billion_$_ = "1,380.88"[/INST] What is the market value in billions when the assets totaled 1,380.88?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_59 (george_h_w_bush VARCHAR, ronald_reagan VARCHAR) <</SYS>> SELECT george_h_w_bush FROM table_name_59 WHERE ronald_reagan = "43%"[/INST] Name the george bush for ronald reagan of 43%</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_86 (seats VARCHAR, outcome_of_election VARCHAR, number_of_pnc_votes VARCHAR) <</SYS>> SELECT seats FROM table_name_86 WHERE outcome_of_election = "minority in parliament" AND number_of_pnc_votes = "186,226"[/INST] How many seats does the election with the outcome of election of minority in parliament and 186,226 PNC votes have?</s>
<s>[INST] <<SYS>> CREATE TABLE stock (Shop_ID VARCHAR, quantity INTEGER); CREATE TABLE shop (Shop_Name VARCHAR, Shop_ID VARCHAR) <</SYS>> SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY SUM(T1.quantity) DESC LIMIT 1[/INST] Show the name of the shop that have the largest quantity of devices in stock.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_30 (pick INTEGER, player VARCHAR, round VARCHAR) <</SYS>> SELECT MIN(pick) FROM table_name_30 WHERE player = "mike o'quinn" AND round < 15[/INST] Player of mike o'quinn, and a Round smaller than 15 had what lowest pick?</s>
<s>[INST] <<SYS>> CREATE TABLE table_21092444_1 (date VARCHAR, result VARCHAR, opponent VARCHAR) <</SYS>> SELECT date FROM table_21092444_1 WHERE result = "Loss" AND opponent = "Duke"[/INST] Name the date for result loss for duke</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_84 (pick__number INTEGER, mls_team VARCHAR) <</SYS>> SELECT MIN(pick__number) FROM table_name_84 WHERE mls_team = "new england revolution"[/INST] Tell me the lowest pick number for new england revolution</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_8 (Id VARCHAR) <</SYS>> SELECT 2010 FROM table_name_8 WHERE 2009 = "w" AND 2007 = "qf"[/INST] what is 2010 when 2009 is w and 2007 is qf?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_3 (d_46_√ VARCHAR, d_44_√ VARCHAR) <</SYS>> SELECT d_46_√ FROM table_name_3 WHERE d_44_√ = "← majority"[/INST] What is the D 46 √ when the D 44 √ is ← majority?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_12 (grid VARCHAR, driver VARCHAR) <</SYS>> SELECT grid FROM table_name_12 WHERE driver = "denny hulme"[/INST] What grid for denny hulme?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_41 (draws VARCHAR, wins VARCHAR, against VARCHAR) <</SYS>> SELECT COUNT(draws) FROM table_name_41 WHERE wins = 1 AND against < 1728[/INST] What is the total number of draws when there is 1 Win, and less than 1728 against matches?</s>
<s>[INST] <<SYS>> CREATE TABLE table_22993636_5 (minutes VARCHAR, player VARCHAR) <</SYS>> SELECT COUNT(minutes) FROM table_22993636_5 WHERE player = "Chanel Chisholm"[/INST] How much time, in minutes, did Chanel Chisholm play?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_71 (place INTEGER, played VARCHAR, points VARCHAR, lost VARCHAR) <</SYS>> SELECT SUM(place) FROM table_name_71 WHERE points < 28 AND lost < 11 AND played < 18[/INST] What place is associated with under 28 points, under 11 games lost, and under 18 games played?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR) <</SYS>> SELECT away_team AS score FROM table_name_82 WHERE venue = "vfl park"[/INST] I want to know the away team score for vfl park venue</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_51 (points_difference VARCHAR, lost VARCHAR, points VARCHAR) <</SYS>> SELECT points_difference FROM table_name_51 WHERE lost = 2 AND points < 10[/INST] What is the difference related to 2 losses and fewer than 10 points?</s>
<s>[INST] <<SYS>> CREATE TABLE table_17798548_4 (_number_of_discs INTEGER, season VARCHAR) <</SYS>> SELECT MAX(_number_of_discs) FROM table_17798548_4 WHERE season = "The Complete 4th Series"[/INST] How many discs for the complete 4th series?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_13 (director VARCHAR, role VARCHAR) <</SYS>> SELECT director FROM table_name_13 WHERE role = "fred ayres"[/INST] Who was the director where the role was Fred Ayres?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_72 (grid VARCHAR, time_retired VARCHAR) <</SYS>> SELECT COUNT(grid) FROM table_name_72 WHERE time_retired = "+4 laps"[/INST] How many grids had a Time/Retired of +4 laps?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_86 (team VARCHAR, outcome VARCHAR, opponent VARCHAR) <</SYS>> SELECT team FROM table_name_86 WHERE outcome = "behind" AND opponent = "brisbane bears"[/INST] Which team got a Behind outcome and had an opponent of Brisbane Bears?</s>
<s>[INST] <<SYS>> CREATE TABLE papers (Id VARCHAR) <</SYS>> SELECT COUNT(*) FROM papers[/INST] How many papers are published in total?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2140071_10 (episode VARCHAR, coach VARCHAR) <</SYS>> SELECT episode FROM table_2140071_10 WHERE coach = "Maritza Reveron"[/INST] Name the episode with maritza reveron</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_62 (winning_party_2003 VARCHAR, constituency VARCHAR) <</SYS>> SELECT winning_party_2003 FROM table_name_62 WHERE constituency = "aberdeen north"[/INST] Can you tell me the Winning party of 2003 that has the Constituency of aberdeen north?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_94 (no_opinion INTEGER, date VARCHAR, favorable VARCHAR) <</SYS>> SELECT AVG(no_opinion) FROM table_name_94 WHERE date = "1954 november" AND favorable > 35[/INST] What is the average no opinion score during 1954 November that is more favorable than 35?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_68 (pro_debut VARCHAR, tournaments VARCHAR, highest_rank VARCHAR) <</SYS>> SELECT pro_debut FROM table_name_68 WHERE tournaments > 11 AND highest_rank = "maegashira 1"[/INST] What is Pro Debut, when Tournament is greater than 11, and when Highest Rank is "Maegashira 1"?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_57 (score VARCHAR, away VARCHAR) <</SYS>> SELECT score FROM table_name_57 WHERE away = "deportes savio"[/INST] What is the score of the match with deportes savio as the away team?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_73 (title VARCHAR, release_date VARCHAR, track_number VARCHAR, record_label VARCHAR) <</SYS>> SELECT title FROM table_name_73 WHERE track_number = "07" AND record_label = "emi" AND release_date = "21 april 2006"[/INST] Name The Title which has a Track number of 07, and a Record label of emi on 21 april 2006?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2241841_1 (laps VARCHAR, race_time VARCHAR) <</SYS>> SELECT laps FROM table_2241841_1 WHERE race_time = "4:17:18"[/INST] In the race with a winning time of 4:17:18, how many laps were run?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_18 (score VARCHAR, date VARCHAR) <</SYS>> SELECT score FROM table_name_18 WHERE date = "7 may 2000"[/INST] Name the score for 7 may 2000</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_17 (beatified VARCHAR, canonised INTEGER) <</SYS>> SELECT beatified FROM table_name_17 WHERE canonised < 1988[/INST] When was the person(s) who were canonised before 1988 beatified?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_57 (goals VARCHAR, since VARCHAR, app_gs_sub_ VARCHAR) <</SYS>> SELECT goals FROM table_name_57 WHERE since < 2007 AND app_gs_sub_ = "97 (69/28)"[/INST] Name the goals with since less than 2007 and App(GS/Sub) of 97 (69/28)</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_34 (distance___ly__ VARCHAR, constellation VARCHAR) <</SYS>> SELECT COUNT(distance___ly__) FROM table_name_34 WHERE constellation = "draco"[/INST] What is the total number of Distance ( ly ), when Constellation is "Draco"?</s>
<s>[INST] <<SYS>> CREATE TABLE table_17427004_7 (semifinals VARCHAR, athlete VARCHAR) <</SYS>> SELECT semifinals FROM table_17427004_7 WHERE athlete = "Hamza Kramou"[/INST] How did Hamza Kramou fare in the semifinals?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_13 (agg VARCHAR) <</SYS>> SELECT 1 AS st_leg FROM table_name_13 WHERE agg = "2-1"[/INST] What is the 1st leg of the team with a 2-1 agg.?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_48 (school_country VARCHAR, asts VARCHAR) <</SYS>> SELECT school_country FROM table_name_48 WHERE asts = 337[/INST] What is the school/country of the player with 337 assists?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_41 (date VARCHAR, venue VARCHAR, opponent VARCHAR) <</SYS>> SELECT date FROM table_name_41 WHERE venue = "a" AND opponent = "celtic"[/INST] What was the date of the match at venue A with the celtic as the opponent?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_35 (iata VARCHAR, icao VARCHAR) <</SYS>> SELECT iata FROM table_name_35 WHERE icao = "hesh"[/INST] What is IATA, when ICAO is "Hesh"?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_50 (country VARCHAR, lead VARCHAR) <</SYS>> SELECT country FROM table_name_50 WHERE lead = "sarah wazney"[/INST] Which country has a Lead of sarah wazney?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_92 (amount__millions_ VARCHAR, payee VARCHAR) <</SYS>> SELECT amount__millions_ FROM table_name_92 WHERE payee = "infotalent"[/INST] How much money, in millions, is paid to Infotalent?</s>
<s>[INST] <<SYS>> CREATE TABLE table_29296103_10 (tournament VARCHAR, champion VARCHAR) <</SYS>> SELECT tournament FROM table_29296103_10 WHERE champion = "Nick Saviano Florin Segărceanu 6–3, 6–4"[/INST] which tournament was the champion nick saviano florin segărceanu 6–3, 6–4?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_83 (lane INTEGER, country VARCHAR) <</SYS>> SELECT MAX(lane) FROM table_name_83 WHERE country = "ireland"[/INST] What is the most lanes used that had a winner from Ireland?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_40 (games_played INTEGER, losses VARCHAR, wins VARCHAR) <</SYS>> SELECT MAX(games_played) FROM table_name_40 WHERE losses = 3 AND wins > 5[/INST] What is the largest number of Games Played with Losses of 3, and more Wins than 5?</s>
<s>[INST] <<SYS>> CREATE TABLE table_240936_2 (region_2__uk_ VARCHAR, region_4__australia_ VARCHAR) <</SYS>> SELECT region_2__uk_ FROM table_240936_2 WHERE region_4__australia_ = "July 31, 2008"[/INST] What is the region 2 (UK) date associated with a region 4 (Aus) date of July 31, 2008?</s>
<s>[INST] <<SYS>> CREATE TABLE table_13079788_3 (gtc_winner VARCHAR, pole_position VARCHAR) <</SYS>> SELECT gtc_winner FROM table_13079788_3 WHERE pole_position = "No. 21 Team Modena"[/INST] what are all the gtc winners for pole position no. 21 team modena</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_16 (rank INTEGER, lane VARCHAR) <</SYS>> SELECT AVG(rank) FROM table_name_16 WHERE lane = 5[/INST] What is the Rank of the Swimmer in Lane 5?</s>
<s>[INST] <<SYS>> CREATE TABLE table_197638_6 (player VARCHAR, french_open VARCHAR) <</SYS>> SELECT player FROM table_197638_6 WHERE french_open = 1999[/INST] Who won the French Open in 1999?</s>
<s>[INST] <<SYS>> CREATE TABLE table_22810095_8 (name VARCHAR, n VARCHAR) <</SYS>> SELECT name FROM table_22810095_8 WHERE n = 28[/INST] What is the name of the player when n is 28?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_33 (arena VARCHAR, opponent VARCHAR) <</SYS>> SELECT arena FROM table_name_33 WHERE opponent = "sharks"[/INST] In what arena was the game against the Sharks played?</s>
<s>[INST] <<SYS>> CREATE TABLE table_23680576_2 (oct_2008 VARCHAR, aug_2008 VARCHAR) <</SYS>> SELECT COUNT(oct_2008) FROM table_23680576_2 WHERE aug_2008 = "30.8%"[/INST] How many polling percentages were there in October 2008 when is was 30.8% in Aug 2008?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_45 (floors INTEGER, building VARCHAR) <</SYS>> SELECT AVG(floors) FROM table_name_45 WHERE building = "td building redevelopment (office)"[/INST] What are the number of floors for the building of td building redevelopment (office)?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_52 (home_team VARCHAR, away_team VARCHAR) <</SYS>> SELECT home_team AS score FROM table_name_52 WHERE away_team = "footscray"[/INST] Who was the home team of the game where Footscray is the away team?</s>
<s>[INST] <<SYS>> CREATE TABLE table_261941_1 (founded INTEGER) <</SYS>> SELECT MIN(founded) FROM table_261941_1[/INST] When was the earliest founded university?</s>
<s>[INST] <<SYS>> CREATE TABLE table_12108_1 (gdp___bn__ VARCHAR) <</SYS>> SELECT gdp___bn__ FROM table_12108_1 WHERE "capital" = "capital"[/INST] what is the gdp ( bn ) where capital is capital?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_25 (points INTEGER, games INTEGER) <</SYS>> SELECT SUM(points) FROM table_name_25 WHERE games < 5[/INST] Name the sum of points with games less than 5</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_32 (drg_number_s_ VARCHAR, railway_number_s_ VARCHAR) <</SYS>> SELECT drg_number_s_ FROM table_name_32 WHERE railway_number_s_ = "xxx"[/INST] Which DRG number has xxx railway number?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_32 (tie_no VARCHAR, away_team VARCHAR) <</SYS>> SELECT tie_no FROM table_name_32 WHERE away_team = "manchester united"[/INST] What is Tie No., when Away Team is "Manchester United"?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_67 (room_temperature VARCHAR, in_production VARCHAR, toxic_materials VARCHAR) <</SYS>> SELECT room_temperature FROM table_name_67 WHERE in_production = "no" AND toxic_materials = "no"[/INST] What's the room temperature with no toxic materials and no ln production?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_11 (opponent VARCHAR, date VARCHAR, city VARCHAR, time VARCHAR) <</SYS>> SELECT opponent FROM table_name_11 WHERE city = "baltimore" AND time = "2:00pm" AND date = "4/06/08"[/INST] What team was opponen in baltimore, at 2:00pm, on 4/06/08?</s>
<s>[INST] <<SYS>> CREATE TABLE table_15416002_1 (saffir_simpson_category VARCHAR, name VARCHAR) <</SYS>> SELECT saffir_simpson_category FROM table_15416002_1 WHERE name = "Bonnie"[/INST] What is the Saffir-Simpson category for the hurricane named Bonnie?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_60 (date VARCHAR, venue VARCHAR, opponent VARCHAR) <</SYS>> SELECT date FROM table_name_60 WHERE venue = "firhill" AND opponent = "ayr united"[/INST] What day was the game held at Firhill against AYR United?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_19 (country VARCHAR, language VARCHAR, director VARCHAR) <</SYS>> SELECT country FROM table_name_19 WHERE language = "french" AND director = "jean-luc godard"[/INST] What country is the film directed by Jean-Luc Godard in French from?</s>
<s>[INST] <<SYS>> CREATE TABLE Accounts (STATEMENT_ID VARCHAR) <</SYS>> SELECT STATEMENT_ID, COUNT(*) FROM Accounts GROUP BY STATEMENT_ID[/INST] Show all statement id and the number of accounts for each statement.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_86 (home_team VARCHAR, away_team VARCHAR) <</SYS>> SELECT home_team FROM table_name_86 WHERE away_team = "carlton"[/INST] What is the name of the home team that played Carlton?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_83 (listed VARCHAR, name VARCHAR, county VARCHAR, location VARCHAR) <</SYS>> SELECT listed FROM table_name_83 WHERE county = "antelope" AND location = "royal" AND name = "verdigris creek bridge"[/INST] what's the listing date for the verdigris creek bridge in royal of antelope county?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_73 (score VARCHAR, home_team VARCHAR) <</SYS>> SELECT score FROM table_name_73 WHERE home_team = "stockport county"[/INST] What was the score when the home team was Stockport County?</s>
<s>[INST] <<SYS>> CREATE TABLE table_15187735_8 (series_ep VARCHAR, segment_a VARCHAR) <</SYS>> SELECT COUNT(series_ep) FROM table_15187735_8 WHERE segment_a = "s Piston"[/INST] Name the number of series episode for s piston</s>
<s>[INST] <<SYS>> CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, director VARCHAR, mID VARCHAR) <</SYS>> SELECT T2.title, T1.stars, T2.director, MIN(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T2.director[/INST] Find the title and score of the movie with the lowest rating among all movies directed by each director.</s>
<s>[INST] <<SYS>> CREATE TABLE table_228439_4 (successor VARCHAR, district VARCHAR) <</SYS>> SELECT successor FROM table_228439_4 WHERE district = "Massachusetts 8th"[/INST] Who is the successor for massachusetts 8th?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_69 (score VARCHAR, outcome VARCHAR, opponent VARCHAR) <</SYS>> SELECT score FROM table_name_69 WHERE outcome = "winner" AND opponent = "angela haynes"[/INST] What is Score, when Outcome is Winner, and when Opponent is Angela Haynes?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_71 (comp VARCHAR, name VARCHAR) <</SYS>> SELECT comp FROM table_name_71 WHERE name = "smith"[/INST] Name the Comp which has a Name of smith?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_48 (details_of_journey VARCHAR, narrator VARCHAR) <</SYS>> SELECT details_of_journey FROM table_name_48 WHERE narrator = "simon hoggart"[/INST] Which details of journey had simon hoggart as a narrator?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_59 (to_par VARCHAR, player VARCHAR) <</SYS>> SELECT to_par FROM table_name_59 WHERE player = "leland gibson"[/INST] Name the To par for leland gibson</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_76 (winner VARCHAR, win__number VARCHAR, points VARCHAR) <</SYS>> SELECT winner FROM table_name_76 WHERE win__number > 1 AND points < 94[/INST] What is Winner, when Win # is greater than 1, and when Points is less than 94?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_31 (rank INTEGER, matches VARCHAR, total VARCHAR, county VARCHAR) <</SYS>> SELECT AVG(rank) FROM table_name_31 WHERE total = 39 AND county = "dublin" AND matches < 4[/INST] what is the rank when the total is 39 in the county of dublin and the matches is less than 4?</s>
<s>[INST] <<SYS>> CREATE TABLE Highschooler (grade VARCHAR, name VARCHAR) <</SYS>> SELECT grade FROM Highschooler WHERE name = "Kyle"[/INST] What grade is Kyle in?</s>
<s>[INST] <<SYS>> CREATE TABLE table_28891101_3 (census_2006_population VARCHAR, administrative_capital VARCHAR) <</SYS>> SELECT COUNT(census_2006_population) FROM table_28891101_3 WHERE administrative_capital = "Eleme"[/INST] What is the 2006 censusn population when is the administrative capital is Eleme?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_44 (location VARCHAR, res VARCHAR, time VARCHAR) <</SYS>> SELECT location FROM table_name_44 WHERE res = "win" AND time = "4:16"[/INST] Where was the match that resulted in a win in 4:16 held?</s>
<s>[INST] <<SYS>> CREATE TABLE SECTION (semester VARCHAR, YEAR VARCHAR) <</SYS>> SELECT semester, YEAR FROM SECTION GROUP BY semester, YEAR ORDER BY COUNT(*) DESC LIMIT 1[/INST] Find the year and semester when offers the largest number of courses.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_9 (result VARCHAR, date VARCHAR, opponent VARCHAR, venue VARCHAR) <</SYS>> SELECT result FROM table_name_9 WHERE opponent = "dundee" AND venue = "a" AND date = "6 september 1986"[/INST] What was the result when Dundee were the Opponent at Venue A on 6 September 1986?</s>
<s>[INST] <<SYS>> CREATE TABLE table_169955_1 (saka_era VARCHAR, sign_of_zodiac VARCHAR) <</SYS>> SELECT saka_era FROM table_169955_1 WHERE sign_of_zodiac = "Pisces"[/INST] Name the saka era for sign of zodiac being pisces</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_36 (frequency_mhz INTEGER, erp_w VARCHAR) <</SYS>> SELECT MAX(frequency_mhz) FROM table_name_36 WHERE erp_w = 250[/INST] Which Frequency MHz has a ERP W of 250?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_76 (emissions_co2 VARCHAR, max_speed VARCHAR, car_model VARCHAR) <</SYS>> SELECT emissions_co2 FROM table_name_76 WHERE max_speed = "km/h (mph)" AND car_model = "panamera 4s"[/INST] What is the emissions CO2 with a max speed of km/h (mph) of the car model Panamera 4s?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_31 (year VARCHAR) <</SYS>> SELECT 2009 FROM table_name_31 WHERE year = "highest mean annual temperature"[/INST] What is 2009, when Year is "Highest Mean Annual Temperature"?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_19 (points INTEGER, position VARCHAR, lost VARCHAR) <</SYS>> SELECT MAX(points) FROM table_name_19 WHERE position < 3 AND lost < 1[/INST] What is the highest number of points for a position less than 3 and less than 1 loss?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_15 (away VARCHAR, home VARCHAR) <</SYS>> SELECT away FROM table_name_15 WHERE home = "2-2"[/INST] WHAT IS THE AWAY WITH HOME AT 2-2?</s>
<s>[INST] <<SYS>> CREATE TABLE table_23465864_3 (sat_29_aug VARCHAR, rider VARCHAR) <</SYS>> SELECT sat_29_aug FROM table_23465864_3 WHERE rider = "Roy Richardson 476cc Aermacchi"[/INST] When roy richardson 476cc aermacchi is the rider what is the time for saturday august 9th?</s>