text_output
stringlengths
114
770
<s>[INST] <<SYS>> CREATE TABLE table_name_17 (goals INTEGER, player VARCHAR, rank VARCHAR) <</SYS>> SELECT AVG(goals) FROM table_name_17 WHERE player = "thierry henry" AND rank > 7[/INST] What was Thierry Henry's average goal when his rank was higher than 7?</s>
<s>[INST] <<SYS>> CREATE TABLE table_28181347_6 (manner_of_departure VARCHAR, date_of_appointment VARCHAR) <</SYS>> SELECT manner_of_departure FROM table_28181347_6 WHERE date_of_appointment = "6 November 2007"[/INST] One 6 November 2007 what was the manner of departure for the coach release in football league one?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_87 (fastest_lap VARCHAR, race VARCHAR) <</SYS>> SELECT fastest_lap FROM table_name_87 WHERE race = "german grand prix"[/INST] Who had the fastest lap at the German Grand Prix?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_91 (result VARCHAR, group VARCHAR, film_series VARCHAR, year VARCHAR) <</SYS>> SELECT result FROM table_name_91 WHERE film_series = "thirst" AND year = 2010 AND group = "green globe film awards"[/INST] What was the result for Thirst in 2010 at the Green Globe Film Awards?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_79 (captain VARCHAR, shirt_sponsor VARCHAR) <</SYS>> SELECT captain FROM table_name_79 WHERE shirt_sponsor = "one2one"[/INST] One2one is the shirt sponsor for the captain of what team?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_96 (score VARCHAR, record VARCHAR) <</SYS>> SELECT score FROM table_name_96 WHERE record = "44-49"[/INST] Which score has a Record of 44-49?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_12 (place VARCHAR, score INTEGER) <</SYS>> SELECT place FROM table_name_12 WHERE score < 69[/INST] WHich Places have a score smaller than 69?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_16 (year VARCHAR, title VARCHAR) <</SYS>> SELECT COUNT(year) FROM table_name_16 WHERE title = "kriegspiel"[/INST] How many years have a Title of kriegspiel?</s>
<s>[INST] <<SYS>> CREATE TABLE table_221653_1 (platelet_count VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR) <</SYS>> SELECT platelet_count FROM table_221653_1 WHERE partial_thromboplastin_time = "Unaffected" AND bleeding_time = "Unaffected"[/INST] What is the platelet count when partial thromboplastin time and bleeding time are unaffected?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_64 (rank INTEGER, team VARCHAR) <</SYS>> SELECT MAX(rank) FROM table_name_64 WHERE team = "psv - fc barcelona"[/INST] What is the highest rank for PSV - FC Barcelona?</s>
<s>[INST] <<SYS>> CREATE TABLE table_17810099_3 (writer_s_ VARCHAR, episode__number VARCHAR) <</SYS>> SELECT writer_s_ FROM table_17810099_3 WHERE episode__number = "14"[/INST] who wrote episode 14?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_22 (attendance INTEGER, round VARCHAR) <</SYS>> SELECT SUM(attendance) FROM table_name_22 WHERE round = "round 3"[/INST] Name the sum of attendance for round 3</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_15 (time VARCHAR, rider VARCHAR) <</SYS>> SELECT time FROM table_name_15 WHERE rider = "jules croft"[/INST] What time has jules croft as the rider?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_86 (overall VARCHAR, school_club_team VARCHAR, round VARCHAR) <</SYS>> SELECT COUNT(overall) FROM table_name_86 WHERE school_club_team = "arizona" AND round > 11[/INST] How many times was Arizona the team and the round was bigger than 11?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1341577_10 (district VARCHAR, candidates VARCHAR) <</SYS>> SELECT district FROM table_1341577_10 WHERE candidates = "Lawrence J. Smith (D) 69.4% Joseph Smith (R) 30.6%"[/INST] what's district with candidates being lawrence j. smith (d) 69.4% joseph smith (r) 30.6%</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_30 (place VARCHAR, score VARCHAR) <</SYS>> SELECT place FROM table_name_30 WHERE score = 68[/INST] What is the place with the 68 score?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_92 (podium INTEGER, pole INTEGER) <</SYS>> SELECT MIN(podium) FROM table_name_92 WHERE pole < 0[/INST] Pole smaller than 0 had what lowest podium?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_96 (operator_s_ VARCHAR, reserves VARCHAR) <</SYS>> SELECT operator_s_ FROM table_name_96 WHERE reserves = "100 bbbl"[/INST] Which operator has a Reserve of 100 bbbl?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_75 (score VARCHAR, location VARCHAR) <</SYS>> SELECT score FROM table_name_75 WHERE location = "northampton"[/INST] The competition located in Northampton had a resulting score of what?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_72 (extranet VARCHAR, intranet VARCHAR, name VARCHAR) <</SYS>> SELECT extranet FROM table_name_72 WHERE intranet = "yes" AND name = "microsoft exchange server"[/INST] If the intranet entry is Yes, what is the extranet entry for Microsoft Exchange server?</s>
<s>[INST] <<SYS>> CREATE TABLE table_13836704_4 (airport VARCHAR, total_passengers_2009 VARCHAR) <</SYS>> SELECT airport FROM table_13836704_4 WHERE total_passengers_2009 = 157933[/INST] what's the airport with total passengers 2009 being 157933</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_47 (player VARCHAR, to_par VARCHAR) <</SYS>> SELECT player FROM table_name_47 WHERE to_par = "–7"[/INST] What is the Player that has a To standard of –7?</s>
<s>[INST] <<SYS>> CREATE TABLE country (Population VARCHAR, LifeExpectancy VARCHAR, Name VARCHAR) <</SYS>> SELECT Population, LifeExpectancy FROM country WHERE Name = "Brazil"[/INST] What are the population and life expectancies in Brazil?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_49 (volume VARCHAR, isbn VARCHAR) <</SYS>> SELECT volume FROM table_name_49 WHERE isbn = "978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)"[/INST] What is the number of the volume that has an ISBN of 978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_92 (weeks_on_chart INTEGER, position INTEGER) <</SYS>> SELECT SUM(weeks_on_chart) FROM table_name_92 WHERE position < 1[/INST] What is the sum of the weeks on a chart a song with a position less than 1 haas?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_65 (number_of_seasons_in_top_division INTEGER, number_of_seasons_in_prva_hnl VARCHAR) <</SYS>> SELECT AVG(number_of_seasons_in_top_division) FROM table_name_65 WHERE number_of_seasons_in_prva_hnl = 17[/INST] Name the average number of seasons for Prva HNL of 17</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_49 (tournament VARCHAR, winning_score VARCHAR) <</SYS>> SELECT tournament FROM table_name_49 WHERE winning_score = –6(73 - 68 - 72 - 69 = 282)[/INST] What Tournament had a Winning score of –6 (73-68-72-69=282)?</s>
<s>[INST] <<SYS>> CREATE TABLE table_250309_1 (production__latest_figures_ VARCHAR, parent_company VARCHAR) <</SYS>> SELECT production__latest_figures_ FROM table_250309_1 WHERE parent_company = "Ariel"[/INST] what is the production where the parent company is ariel?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_36 (date VARCHAR, score VARCHAR) <</SYS>> SELECT date FROM table_name_36 WHERE score = "4–6, 4–6"[/INST] What is the Date of the game with a Score of 4–6, 4–6?</s>
<s>[INST] <<SYS>> CREATE TABLE table_22903773_2 (opp_points INTEGER, location VARCHAR) <</SYS>> SELECT MIN(opp_points) FROM table_22903773_2 WHERE location = "Knoxville"[/INST] How many points did the opponents score at the game in Knoxville?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_30 (position VARCHAR, year VARCHAR, player VARCHAR) <</SYS>> SELECT position FROM table_name_30 WHERE year > 2008 AND player = "greg fredlund"[/INST] What was the position of Greg Fredlund in years after 2008?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_16 (year VARCHAR, time VARCHAR) <</SYS>> SELECT COUNT(year) FROM table_name_16 WHERE time = "55:29:20"[/INST] What year has the time of 55:29:20?</s>
<s>[INST] <<SYS>> CREATE TABLE Engineer_Visits (contact_staff_id VARCHAR, engineer_id VARCHAR); CREATE TABLE Staff (staff_name VARCHAR, staff_id VARCHAR); CREATE TABLE Maintenance_Engineers (first_name VARCHAR, last_name VARCHAR, engineer_id VARCHAR) <</SYS>> SELECT T1.staff_name, T3.first_name, T3.last_name FROM Staff AS T1 JOIN Engineer_Visits AS T2 ON T1.staff_id = T2.contact_staff_id JOIN Maintenance_Engineers AS T3 ON T2.engineer_id = T3.engineer_id[/INST] Which staff have contacted which engineers? List the staff name and the engineer first name and last name.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_81 (venue VARCHAR, goal VARCHAR) <</SYS>> SELECT venue FROM table_name_81 WHERE goal = 3[/INST] Which venue has a Goal of 3?</s>
<s>[INST] <<SYS>> CREATE TABLE table_10342194_3 (total_amount_of_trees INTEGER, district VARCHAR) <</SYS>> SELECT MAX(total_amount_of_trees) FROM table_10342194_3 WHERE district = "Leninsky"[/INST] What is the total amount of trees when district is leninsky?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_68 (league INTEGER, other VARCHAR, name VARCHAR) <</SYS>> SELECT SUM(league) AS Cup FROM table_name_68 WHERE other < 1 AND name = "gareth farrelly category:articles with hcards" AND league > 1[/INST] What is the sum of League Cup, when the Other is less than 1, when the Name is Gareth Farrelly Category:Articles with hCards, and when the League is greater than 1?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_44 (nationality VARCHAR, round VARCHAR) <</SYS>> SELECT nationality FROM table_name_44 WHERE round = 6[/INST] What nationality was the round 6 draft pick?</s>
<s>[INST] <<SYS>> CREATE TABLE table_19210115_1 (location VARCHAR, nickname VARCHAR) <</SYS>> SELECT location FROM table_19210115_1 WHERE nickname = "Owls"[/INST] Where is the University that is also called Owls?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_25 (state VARCHAR, city VARCHAR) <</SYS>> SELECT state FROM table_name_25 WHERE city = "storrs"[/INST] Which state includes the city of Storrs?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_68 (marriage VARCHAR, became_duchess VARCHAR) <</SYS>> SELECT marriage FROM table_name_68 WHERE became_duchess = "12 december 1666"[/INST] Which Marriage has a Became Duchess of 12 december 1666?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_91 (tournament VARCHAR) <</SYS>> SELECT 2007 FROM table_name_91 WHERE 2010 = "2r" AND tournament = "us open"[/INST] What is the 2007 result when the 2010 result was 2r, at the US Open?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_27 (registrations VARCHAR, type VARCHAR, station_number VARCHAR) <</SYS>> SELECT registrations FROM table_name_27 WHERE type = "retained" AND station_number = "c03"[/INST] What is the registration of the station with a retained type and a station number of c03?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_10 (format VARCHAR, catalog VARCHAR) <</SYS>> SELECT format FROM table_name_10 WHERE catalog = "alca-9196"[/INST] What formated cataloged alca-9196?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1341663_33 (candidates VARCHAR, incumbent VARCHAR) <</SYS>> SELECT candidates FROM table_1341663_33 WHERE incumbent = "Shirley Chisholm"[/INST] Who were the candidates when Shirley Chisholm was the incumbent?</s>
<s>[INST] <<SYS>> CREATE TABLE table_16384648_2 (joined_tschl INTEGER) <</SYS>> SELECT MIN(joined_tschl) FROM table_16384648_2[/INST] What's the earliest year anybody joined the hockey league? </s>
<s>[INST] <<SYS>> CREATE TABLE table_11207040_5 (lowest INTEGER, stadium VARCHAR) <</SYS>> SELECT MIN(lowest) FROM table_11207040_5 WHERE stadium = "Cappielow"[/INST] What is the lowest attandance recorded at Cappielow?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_39 (_percentage_buddhist VARCHAR, population VARCHAR) <</SYS>> SELECT _percentage_buddhist FROM table_name_39 WHERE population = "~2.6 million (2.6million)"[/INST] What is the percentage of Buddhist when the Population is ~2.6 million (2.6million)?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_19 (away_team VARCHAR, venue VARCHAR) <</SYS>> SELECT away_team FROM table_name_19 WHERE venue = "moorabbin oval"[/INST] What away team is based in moorabbin oval?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_22 (event VARCHAR, prize VARCHAR) <</SYS>> SELECT event FROM table_name_22 WHERE prize = "zł 1,226,711"[/INST] What is the name of the event that had a prize of zł 1,226,711?</s>
<s>[INST] <<SYS>> CREATE TABLE table_25229283_4 (opponent VARCHAR, points_for VARCHAR) <</SYS>> SELECT opponent FROM table_25229283_4 WHERE points_for = 177[/INST] Who was the opponent with a points for of 177?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_45 (geust VARCHAR, result VARCHAR) <</SYS>> SELECT geust FROM table_name_45 WHERE result = "0:9"[/INST] What is Geust, when Result is 0:9?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_59 (outcome VARCHAR, surface VARCHAR) <</SYS>> SELECT outcome FROM table_name_59 WHERE surface = "grass"[/INST] What was Olga Govortsova's outcome when she played on a grass surface?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_49 (torque VARCHAR, name VARCHAR) <</SYS>> SELECT torque FROM table_name_49 WHERE name = "1.2 petrol"[/INST] What is the torque of 1.2 petrol?</s>
<s>[INST] <<SYS>> CREATE TABLE table_27277284_27 (socket VARCHAR, frequency VARCHAR, model_number VARCHAR) <</SYS>> SELECT socket FROM table_27277284_27 WHERE frequency = "2100MHz" AND model_number = "Athlon X2 QL-64"[/INST] What kind of sockets does a 2100MHz Athlon X2 QL-64 use?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1341884_19 (district VARCHAR, incumbent VARCHAR) <</SYS>> SELECT district FROM table_1341884_19 WHERE incumbent = "Frank Chelf"[/INST] What district is incumbent frank chelf from?</s>
<s>[INST] <<SYS>> CREATE TABLE table_178242_7 (winner VARCHAR, runner_up VARCHAR) <</SYS>> SELECT COUNT(winner) FROM table_178242_7 WHERE runner_up = "Regina"[/INST] How many won the prize when Regina was the runner-up?</s>
<s>[INST] <<SYS>> CREATE TABLE table_27268238_5 (matches VARCHAR, wickets VARCHAR) <</SYS>> SELECT COUNT(matches) FROM table_27268238_5 WHERE wickets = 16[/INST] How many matches were wickets 16?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_87 (lost INTEGER, goals_against VARCHAR, position VARCHAR, points_1 VARCHAR) <</SYS>> SELECT AVG(lost) FROM table_name_87 WHERE position > 5 AND points_1 = "37" AND goals_against < 63[/INST] Which Lost has a Position larger than 5, and Points 1 of 37, and less than 63 Goals Against?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1300525_1 (pinyin VARCHAR, simplified VARCHAR) <</SYS>> SELECT COUNT(pinyin) FROM table_1300525_1 WHERE simplified = "信州区"[/INST] What is the capital of the district who's simplified name is 信州区?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_27 (original_release VARCHAR, writer_s_ VARCHAR) <</SYS>> SELECT original_release FROM table_name_27 WHERE writer_s_ = "dallas frazier"[/INST] What is the original Release date of the Track written by Dallas Frazier?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_54 (zone INTEGER, stations VARCHAR, platforms VARCHAR) <</SYS>> SELECT AVG(zone) FROM table_name_54 WHERE stations = "waddon railway station" AND platforms > 2[/INST] Name the average zone for waddon railway station and has more than 2 platforms</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_63 (location VARCHAR, score VARCHAR) <</SYS>> SELECT location FROM table_name_63 WHERE score = "35-31"[/INST] What is the Location, when the Score is 35-31?</s>
<s>[INST] <<SYS>> CREATE TABLE table_27487336_1 (season VARCHAR, sacks VARCHAR) <</SYS>> SELECT COUNT(season) FROM table_27487336_1 WHERE sacks = "39"[/INST] How many seasons have a sacks of 39?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_50 (class VARCHAR, identifier VARCHAR) <</SYS>> SELECT class FROM table_name_50 WHERE identifier = "cbua-fm"[/INST] Which class has an identifier of CBUA-FM?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_87 (winning_score VARCHAR, year VARCHAR, runner_s__up VARCHAR) <</SYS>> SELECT winning_score FROM table_name_87 WHERE year < 1959 AND runner_s__up = "jackie pung"[/INST] What is the winning score before 1959, with runner-up Jackie Pung?</s>
<s>[INST] <<SYS>> CREATE TABLE table_27988408_1 (original_air_date VARCHAR, written_by VARCHAR) <</SYS>> SELECT original_air_date FROM table_27988408_1 WHERE written_by = "Bryan Moore & Chris Peterson"[/INST] Name the original air date for bryan moore & chris peterson</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_96 (opponent VARCHAR, week VARCHAR) <</SYS>> SELECT opponent FROM table_name_96 WHERE week = 5[/INST] Who is the opponent for week 5?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_9 (attendance VARCHAR, date VARCHAR) <</SYS>> SELECT attendance FROM table_name_9 WHERE date = "august 29"[/INST] What is the attendance for august 29?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_60 (year INTEGER, number_in_entourage VARCHAR, mission_type VARCHAR) <</SYS>> SELECT MAX(year) FROM table_name_60 WHERE number_in_entourage = "99" AND mission_type = "gratitude"[/INST] What is the latest year of a gratitude type mission with 99 in the entourage?</s>
<s>[INST] <<SYS>> CREATE TABLE Cartoon (title VARCHAR, Directed_by VARCHAR, Original_air_date VARCHAR) <</SYS>> SELECT title, Directed_by FROM Cartoon ORDER BY Original_air_date[/INST] list all cartoon titles and their directors ordered by their air date</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_32 (lost INTEGER, team VARCHAR, against VARCHAR) <</SYS>> SELECT SUM(lost) FROM table_name_32 WHERE team = "corinthians" AND against > 26[/INST] How many losses have corinthians as the team, with an against greater than 26?</s>
<s>[INST] <<SYS>> CREATE TABLE table_21109892_1 (rank VARCHAR, production__mt_ VARCHAR) <</SYS>> SELECT COUNT(rank) FROM table_21109892_1 WHERE production__mt_ = 650000[/INST] When the production (mt) is 650000, what is the total number of rank?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_84 (high_assists VARCHAR, team VARCHAR) <</SYS>> SELECT high_assists FROM table_name_84 WHERE team = "lakers"[/INST] How many high assists did the Lakers have?</s>
<s>[INST] <<SYS>> CREATE TABLE table_12002388_1 (open_cup VARCHAR, reg_season VARCHAR) <</SYS>> SELECT open_cup FROM table_12002388_1 WHERE reg_season = "4th"[/INST] What was the result of the open cup when they finished 4th in the regular season?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_74 (lost_to VARCHAR, film VARCHAR) <</SYS>> SELECT lost_to FROM table_name_74 WHERE film = "chicago"[/INST] Who was the loss to for the film Chicago?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_52 (location VARCHAR, res VARCHAR, record VARCHAR) <</SYS>> SELECT location FROM table_name_52 WHERE res = "win" AND record = "8-5"[/INST] Tell me the location for win with record of 8-5</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_31 (competition VARCHAR, opponent VARCHAR, venue VARCHAR) <</SYS>> SELECT competition FROM table_name_31 WHERE opponent = "police" AND venue = "selayang stadium"[/INST] Which competition had an opponent of Police at the Selayang Stadium?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_5 (week VARCHAR, original_artist VARCHAR) <</SYS>> SELECT week FROM table_name_5 WHERE original_artist = "the police"[/INST] What week was the Original artist, the police ?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_64 (lost INTEGER, points VARCHAR, position VARCHAR) <</SYS>> SELECT AVG(lost) FROM table_name_64 WHERE points = 14 AND position > 1[/INST] what is the average number lost when points is 14 and position is more than 1?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_53 (fatalities VARCHAR, tail_number VARCHAR, location VARCHAR) <</SYS>> SELECT fatalities FROM table_name_53 WHERE tail_number = "unknown" AND location = "kabul"[/INST] What is the Fatalities when the tail number was unknown and in Kabul></s>
<s>[INST] <<SYS>> CREATE TABLE table_name_35 (turns VARCHAR, city VARCHAR) <</SYS>> SELECT turns FROM table_name_35 WHERE city = "san antonio"[/INST] What is the number of turns for the City of san antonio?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2527063_3 (rank VARCHAR, growth_rate VARCHAR) <</SYS>> SELECT COUNT(rank) FROM table_2527063_3 WHERE growth_rate = "14.47"[/INST] Name the total number of rank for growth raate for 14.47</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_6 (country VARCHAR, place VARCHAR) <</SYS>> SELECT country FROM table_name_6 WHERE place = "t5"[/INST] Which country placed t5?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_16 (to_par VARCHAR, score VARCHAR) <</SYS>> SELECT COUNT(to_par) FROM table_name_16 WHERE score = 70 - 75 - 76 = 221[/INST] What is the total number of To Par, when Score is "70-75-76=221"?</s>
<s>[INST] <<SYS>> CREATE TABLE table_27657925_1 (written_by VARCHAR, no_in_series VARCHAR) <</SYS>> SELECT written_by FROM table_27657925_1 WHERE no_in_series = "62"[/INST] When 62 is the number in series who is the writer?</s>
<s>[INST] <<SYS>> CREATE TABLE table_261895_1 (institution VARCHAR, type VARCHAR) <</SYS>> SELECT institution FROM table_261895_1 WHERE type = "Private/United Church of Christ"[/INST] which institutions can be categorized as private/united church of christ?</s>
<s>[INST] <<SYS>> CREATE TABLE station (LOCATION VARCHAR, number_of_platforms VARCHAR, total_passengers VARCHAR) <</SYS>> SELECT DISTINCT LOCATION FROM station WHERE number_of_platforms >= 15 AND total_passengers > 25[/INST] Show all locations that have train stations with at least 15 platforms and train stations with more than 25 total passengers.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_38 (opponent VARCHAR, date VARCHAR) <</SYS>> SELECT opponent FROM table_name_38 WHERE date = "september 3"[/INST] Who was the opponent on the September 3 game?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_35 (athlete VARCHAR, country VARCHAR) <</SYS>> SELECT athlete FROM table_name_35 WHERE country = "egypt"[/INST] Which athlete represented the country of egypt?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_16 (school_club_team VARCHAR, round INTEGER) <</SYS>> SELECT school_club_team FROM table_name_16 WHERE round > 16[/INST] Which School/Club Team has a Round larger than 16?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_16 (Digital VARCHAR, owner VARCHAR) <</SYS>> SELECT Digital AS channel FROM table_name_16 WHERE owner = "three angels broadcasting network"[/INST] What digital channel does Three Angels Broadcasting Network own?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_11 (team VARCHAR, runner_up VARCHAR) <</SYS>> SELECT team FROM table_name_11 WHERE runner_up = "capital city giants"[/INST] What team defeated the Capital City Giants?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_71 (date VARCHAR, home_team VARCHAR) <</SYS>> SELECT date FROM table_name_71 WHERE home_team = "collingwood"[/INST] If collingwood was the Home team, what Date did they play?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_92 (ihsaa_class VARCHAR, ihsaa_football_class VARCHAR, school VARCHAR) <</SYS>> SELECT ihsaa_class FROM table_name_92 WHERE ihsaa_football_class = "aa" AND school = "centerville"[/INST] What is the IHSAA class of Centerville, which plays IHSAA class AA football?</s>
<s>[INST] <<SYS>> CREATE TABLE company (market_value INTEGER) <</SYS>> SELECT MIN(market_value), MAX(market_value), AVG(market_value) FROM company[/INST] Show minimum, maximum, and average market value for all companies.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_28 (bore_ VARCHAR, _stroke VARCHAR, carburetor VARCHAR, vin_code VARCHAR) <</SYS>> SELECT bore_ & _stroke FROM table_name_28 WHERE carburetor = "4-barrel" AND vin_code = "a"[/INST] What are the bore & stroke specifications for an engine with 4-barrel carburetor and VIN code of A?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_93 (singapore_gross VARCHAR, director VARCHAR) <</SYS>> SELECT singapore_gross FROM table_name_93 WHERE director = "siu wing"[/INST] How much is the Singapore Gross for the film that Siu Wing directed?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_16 (date VARCHAR, rocket VARCHAR, satellite VARCHAR) <</SYS>> SELECT date FROM table_name_16 WHERE rocket = "tbd" AND satellite = "gps iiia-1"[/INST] On what date was the rocket a TBD with a satellite of GPS IIIA-1?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_35 (lost INTEGER, played INTEGER) <</SYS>> SELECT SUM(lost) FROM table_name_35 WHERE played > 42[/INST] What's the total Lost that has a Played that's larger than 42?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_73 (score VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) <</SYS>> SELECT score FROM table_name_73 WHERE surface = "hard" AND opponent_in_the_final = "alicia pillay"[/INST] What is the Score when the opponent in the final is alicia pillay on a hard surface?</s>