text_output
stringlengths
114
770
<s>[INST] <<SYS>> CREATE TABLE table_10528691_4 (print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ VARCHAR, introduction VARCHAR) <</SYS>> SELECT print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ FROM table_10528691_4 WHERE introduction = "December 2002"[/INST] What is the print resolution (FPI) for December 2002?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_31 (fastest_lap VARCHAR, winning_driver VARCHAR) <</SYS>> SELECT fastest_lap FROM table_name_31 WHERE winning_driver = "jacques villeneuve"[/INST] When the winning driver was jacques villeneuve what was the fastest lap driven?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_58 (round VARCHAR, position VARCHAR) <</SYS>> SELECT round FROM table_name_58 WHERE position = "left wing"[/INST] In what round was a left wing drafted?</s>
<s>[INST] <<SYS>> CREATE TABLE table_198175_2 (swedish_name VARCHAR, residence_city VARCHAR) <</SYS>> SELECT swedish_name FROM table_198175_2 WHERE residence_city = "Loviisa"[/INST] What is every Swedish name for residence city is Loviisa?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2668347_14 (candidates VARCHAR, district VARCHAR) <</SYS>> SELECT candidates FROM table_2668347_14 WHERE district = "New York 10"[/INST] who are the candidates for district new york 10?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_71 (new_entries_this_round VARCHAR, phase VARCHAR, winners_from_previous_round VARCHAR) <</SYS>> SELECT new_entries_this_round FROM table_name_71 WHERE phase = "second phase" AND winners_from_previous_round = "4"[/INST] How many new entries are there for a second phase that has 4 winners from previous rounds?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_30 (torque VARCHAR, name VARCHAR, capacity VARCHAR) <</SYS>> SELECT torque FROM table_name_30 WHERE name = "1.9 diesel" AND capacity = "1905 cc"[/INST] What torque does 1.9 diesel with 1905 cc have?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2008069_2 (conventional VARCHAR, uyghur___yenɡi_yezik̢__ VARCHAR) <</SYS>> SELECT conventional FROM table_2008069_2 WHERE uyghur___yenɡi_yezik̢__ = "Defter"[/INST] Name the conventional for defter</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_89 (rank INTEGER, goals VARCHAR, matches VARCHAR, name VARCHAR) <</SYS>> SELECT MIN(rank) FROM table_name_89 WHERE matches < 285 AND name = "des dickson" AND goals < 219[/INST] What was Des Dickson's lowest rank for matches smaller than 285 and less than 219 goals?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_15 (no_7 VARCHAR, no_4 VARCHAR, no_10 VARCHAR) <</SYS>> SELECT no_7 FROM table_name_15 WHERE no_4 = "madison" AND no_10 = "amelia"[/INST] What is No. 7, when No. 4 is Madison, and when No. 10 is Amelia?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_53 (sno INTEGER, completion_schedule VARCHAR) <</SYS>> SELECT SUM(sno) FROM table_name_53 WHERE completion_schedule = "2013"[/INST] For the 2013 completion schedule, what is the total S.no.?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_84 (round INTEGER, record VARCHAR, method VARCHAR, location VARCHAR) <</SYS>> SELECT SUM(round) FROM table_name_84 WHERE method = "submission (ankle lock)" AND location = "tokyo, japan" AND record = "13-5-2"[/INST] What is the total number of Round with a Method of submission (ankle lock), a Location of tokyo, japan, and a Record of 13-5-2?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_47 (points INTEGER, year VARCHAR, chassis VARCHAR) <</SYS>> SELECT SUM(points) FROM table_name_47 WHERE year < 1994 AND chassis = "lola lc89b"[/INST] Name the sumof points for year less than 1994 and chassis of lola lc89b</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_10 (n117_2400_iec3 VARCHAR, n100_iec3 VARCHAR) <</SYS>> SELECT n117_2400_iec3 FROM table_name_10 WHERE n100_iec3 = "25"[/INST] What is the N117/2400 IEC3 associated with an N100IEC3 of 25?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_45 (death VARCHAR, birth VARCHAR) <</SYS>> SELECT death FROM table_name_45 WHERE birth = "8 december 1542"[/INST] when was the death when the birth was 8 december 1542?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_28 (points INTEGER, engine VARCHAR, year VARCHAR) <</SYS>> SELECT MAX(points) FROM table_name_28 WHERE engine = "weslake v12" AND year < 1966[/INST] How many points did the Weslake v12 get in 1966?</s>
<s>[INST] <<SYS>> CREATE TABLE table_28068063_3 (proceed_to_quarter_final VARCHAR, eliminated_from_competition VARCHAR) <</SYS>> SELECT proceed_to_quarter_final FROM table_28068063_3 WHERE eliminated_from_competition = "London Irish"[/INST] Who proceeded to the quarter final when the london irish were eliminated from competition?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_90 (avgatt VARCHAR, rank VARCHAR) <</SYS>> SELECT avgatt FROM table_name_90 WHERE rank = "5"[/INST] What is the average attendance when the rank is 5?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_35 (score VARCHAR, opponents VARCHAR) <</SYS>> SELECT score FROM table_name_35 WHERE opponents = "diego junqueira gabriel trujillo-soler"[/INST] What is Diego Junqueira Gabriel Trujillo-Soler's opponent's score?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1337525_1 (region_2 VARCHAR, complete_series VARCHAR) <</SYS>> SELECT region_2 FROM table_1337525_1 WHERE complete_series = "The Complete Fifth Series"[/INST] What is the region 2 for the complete fifth series?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_69 (works_no VARCHAR, class VARCHAR, year VARCHAR) <</SYS>> SELECT works_no FROM table_name_69 WHERE class = "15th" AND year = "1940"[/INST] Which works number has a class of 15th and year of 1940?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_36 (react INTEGER, rank INTEGER) <</SYS>> SELECT AVG(react) FROM table_name_36 WHERE rank > 8[/INST] What is the average react for a rank more than 8?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_39 (country VARCHAR, player VARCHAR) <</SYS>> SELECT country FROM table_name_39 WHERE player = "josé maría olazábal"[/INST] What is josé maría olazábal's country?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_45 (record VARCHAR, time__seconds_ INTEGER) <</SYS>> SELECT record FROM table_name_45 WHERE time__seconds_ < 5.22[/INST] Tell me the record for a time in seconds smaller than 5.22.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_98 (opponent VARCHAR, record VARCHAR) <</SYS>> SELECT opponent FROM table_name_98 WHERE record = "17-44"[/INST] What is Opponent, when Record is 17-44?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1342249_32 (first_elected VARCHAR, result VARCHAR) <</SYS>> SELECT first_elected FROM table_1342249_32 WHERE result = "Lost renomination Democratic loss"[/INST] Name the first elected for lost renomination democratic loss</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_46 (rating INTEGER, air_date VARCHAR) <</SYS>> SELECT AVG(rating) FROM table_name_46 WHERE air_date = "november 23, 2007"[/INST] what is the average rating when the air date is november 23, 2007?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1341897_42 (first_elected INTEGER) <</SYS>> SELECT MIN(first_elected) FROM table_1341897_42[/INST] What is the earliest year that a candidate was first elected?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1277350_7 (friday_day_six VARCHAR, thursday_day_five VARCHAR) <</SYS>> SELECT friday_day_six FROM table_1277350_7 WHERE thursday_day_five = "پچھمبے pachhambey"[/INST] What is friday day six when thursday day five is پچھمبے pachhambey?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2637317_1 (change_in_population_since_1993 VARCHAR, _percentage_of_countrys_population VARCHAR) <</SYS>> SELECT COUNT(change_in_population_since_1993) FROM table_2637317_1 WHERE _percentage_of_countrys_population = "4.2"[/INST] What is the change in population since 1993 in the region where the % of country's population was 4.2? </s>
<s>[INST] <<SYS>> CREATE TABLE table_14003108_1 (highest VARCHAR, team VARCHAR) <</SYS>> SELECT COUNT(highest) FROM table_14003108_1 WHERE team = "Forfar Athletic"[/INST] how many highest with team being forfar athletic</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_7 (opponent VARCHAR, date VARCHAR) <</SYS>> SELECT opponent FROM table_name_7 WHERE date = "december 18, 1988"[/INST] What is Opponent, when Date is December 18, 1988?</s>
<s>[INST] <<SYS>> CREATE TABLE table_12161822_5 (fastest_lap VARCHAR, grand_prix VARCHAR) <</SYS>> SELECT fastest_lap FROM table_12161822_5 WHERE grand_prix = "European grand_prix"[/INST] who is the the fastest lap with grand prix being european grand prix</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_9 (score VARCHAR, player VARCHAR) <</SYS>> SELECT score FROM table_name_9 WHERE player = "bob murphy"[/INST] What is Score, when Player is "Bob Murphy"?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_46 (venue VARCHAR, away_team VARCHAR) <</SYS>> SELECT venue FROM table_name_46 WHERE away_team = "hawthorn"[/INST] Where was the game held where Hawthorn was the away team?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_38 (points INTEGER, drawn VARCHAR, lost VARCHAR) <</SYS>> SELECT AVG(points) FROM table_name_38 WHERE drawn > 0 AND lost > 1[/INST] Which Points have a Drawn larger than 0, and a Lost larger than 1?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1342370_41 (candidates VARCHAR, district VARCHAR) <</SYS>> SELECT candidates FROM table_1342370_41 WHERE district = "Tennessee 9"[/INST] Who were the candidates in the election in the Tennessee 9 district? </s>
<s>[INST] <<SYS>> CREATE TABLE table_name_95 (chassis VARCHAR, pts VARCHAR, year VARCHAR, engine VARCHAR) <</SYS>> SELECT chassis FROM table_name_95 WHERE year > 1964 AND engine = "ford" AND pts = 13[/INST] Which chassis has a year later than 1964, a Ford engine, and 13 points?</s>
<s>[INST] <<SYS>> CREATE TABLE table_18365784_3 (calling_at VARCHAR, departure VARCHAR) <</SYS>> SELECT calling_at FROM table_18365784_3 WHERE departure = "18.16"[/INST] What was the 'calling at' station of the train that departed on 18.16?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_70 (date INTEGER, catalog VARCHAR) <</SYS>> SELECT MAX(date) FROM table_name_70 WHERE catalog = "486553.4"[/INST] WHAT DATE HAS A CATALOG OF 486553.4?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_74 (score VARCHAR, game VARCHAR, team VARCHAR) <</SYS>> SELECT score FROM table_name_74 WHERE game < 20 AND team = "portland"[/INST] What was the score against Portland in game numbers under 20?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_43 (region VARCHAR, format VARCHAR, catalog VARCHAR) <</SYS>> SELECT region FROM table_name_43 WHERE format = "cd" AND catalog = "alca-9203"[/INST] Name the region for cd with catalog of alca-9203</s>
<s>[INST] <<SYS>> CREATE TABLE table_21486890_1 (innings VARCHAR, runs_scored VARCHAR) <</SYS>> SELECT COUNT(innings) FROM table_21486890_1 WHERE runs_scored = 5088[/INST] Name the innings for 5088 runs scored</s>
<s>[INST] <<SYS>> CREATE TABLE table_22347090_4 (us_viewers__million_ VARCHAR, no_in_season VARCHAR) <</SYS>> SELECT us_viewers__million_ FROM table_22347090_4 WHERE no_in_season = 2[/INST] How many viewers tuned in for season 2?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_16 (country VARCHAR, start_source VARCHAR, name VARCHAR) <</SYS>> SELECT country FROM table_name_16 WHERE start_source = "bbc sport" AND name = "feeney"[/INST] What is the country named feeney with a bbc sport start source?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_9 (li_fes_2 VARCHAR, type VARCHAR) <</SYS>> SELECT li_fes_2 FROM table_name_9 WHERE type = "nominal voltage"[/INST] What is Li-FeS 2, when Type is Nominal Voltage?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_32 (attendance INTEGER, opponent VARCHAR, date VARCHAR) <</SYS>> SELECT AVG(attendance) FROM table_name_32 WHERE opponent = "pittsburgh pirates" AND date = "may 5"[/INST] Which Attendance has an Opponent of pittsburgh pirates, and a Date of may 5?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_5 (away_team VARCHAR, venue VARCHAR) <</SYS>> SELECT away_team FROM table_name_5 WHERE venue = "punt road oval"[/INST] Who was the away team at punt road oval?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_28 (first_elected VARCHAR, party VARCHAR, incumbent VARCHAR) <</SYS>> SELECT first_elected FROM table_name_28 WHERE party = "republican" AND incumbent = "joseph mckenna"[/INST] When was republican incumbent Joseph McKenna first elected?</s>
<s>[INST] <<SYS>> CREATE TABLE table_21058823_1 (result VARCHAR, record VARCHAR) <</SYS>> SELECT result FROM table_21058823_1 WHERE record = "3-2-1"[/INST] What did they do in the game when their record was 3-2-1?</s>
<s>[INST] <<SYS>> CREATE TABLE player (POSITION VARCHAR, Points INTEGER) <</SYS>> SELECT POSITION FROM player WHERE Points > 20 INTERSECT SELECT POSITION FROM player WHERE Points < 10[/INST] What are the positions with both players having more than 20 points and less than 10 points.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_85 (goals_for INTEGER, wins VARCHAR, goals_against VARCHAR) <</SYS>> SELECT MIN(goals_for) FROM table_name_85 WHERE wins = 18 AND goals_against < 38[/INST] What is the smallest number of "goals for" out of the clubs where there were 18 wins and fewer than 38 "goals against"?</s>
<s>[INST] <<SYS>> CREATE TABLE songs (title VARCHAR) <</SYS>> SELECT title FROM songs WHERE title LIKE '% the %'[/INST] Find all the songs whose name contains the word "the".</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_25 (event VARCHAR, method VARCHAR, res VARCHAR, time VARCHAR) <</SYS>> SELECT event FROM table_name_25 WHERE res = "win" AND time = "n/a" AND method = "submission (triangle choke)"[/INST] Which event did he win with a method of submission (triangle choke) and a time of n/a?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_69 (name VARCHAR, hometown VARCHAR) <</SYS>> SELECT name FROM table_name_69 WHERE hometown = "albuquerque, new mexico"[/INST] What is the Name of the Player from Albuquerque, New Mexico?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_14 (competition VARCHAR, date VARCHAR) <</SYS>> SELECT competition FROM table_name_14 WHERE date = "16 january 1996"[/INST] what is the competition when the date is 16 january 1996?</s>
<s>[INST] <<SYS>> CREATE TABLE table_15409403_1 (year VARCHAR, playoffs VARCHAR) <</SYS>> SELECT year FROM table_15409403_1 WHERE playoffs = "Conference Finals"[/INST] When did the playoffs reached Conference Finals?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_79 (event VARCHAR, year VARCHAR, athlete VARCHAR) <</SYS>> SELECT event FROM table_name_79 WHERE year < 1964 AND athlete = "lászló tábori gunnar nielsen"[/INST] What event is before 1964 and has an athlete of lászló tábori gunnar nielsen?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_31 (population_density__per_km²_ VARCHAR, gdp__ppp__$m_usd VARCHAR) <</SYS>> SELECT population_density__per_km²_ FROM table_name_31 WHERE gdp__ppp__$m_usd = "$188,112"[/INST] How much is the population density with a GDP at $188,112?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_80 (result VARCHAR, year VARCHAR, awards VARCHAR) <</SYS>> SELECT result FROM table_name_80 WHERE year > 1987 AND awards = "berlin international film festival"[/INST] What was the result at the Berlin International Film Festival in a year greater than 1987?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR) <</SYS>> SELECT score FROM table_name_76 WHERE date = "june 12"[/INST] What was the score on June 12?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_19 (year VARCHAR, llws VARCHAR, city VARCHAR) <</SYS>> SELECT COUNT(year) FROM table_name_19 WHERE llws = "4th place" AND city = "westport"[/INST] What is the total number of Years when the LLWS is 4th place, and when the City is Westport?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1013129_8 (nhl_team VARCHAR, player VARCHAR) <</SYS>> SELECT nhl_team FROM table_1013129_8 WHERE player = "Peter Strom"[/INST] What is the NHL team that has Peter Strom?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_52 (Id VARCHAR) <</SYS>> SELECT 2009 FROM table_name_52 WHERE 2010 = "0"[/INST] What were the 2009 results that has 0 in 2010?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_14 (round INTEGER, position VARCHAR) <</SYS>> SELECT MAX(round) FROM table_name_14 WHERE position = "running back"[/INST] Which Round is the highest one that has a Position of running back?</s>
<s>[INST] <<SYS>> CREATE TABLE table_29486189_4 (party VARCHAR, residence VARCHAR) <</SYS>> SELECT party FROM table_29486189_4 WHERE residence = "Newark"[/INST] which party is the newark representative from</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_27 (team VARCHAR, matches VARCHAR, balls VARCHAR, inns VARCHAR) <</SYS>> SELECT team FROM table_name_27 WHERE balls < 258 AND inns = 10 AND matches < 12[/INST] Which Team has Balls smaller than 258, and Inns of 10, and Matches smaller than 12?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_53 (entered VARCHAR, eliminated VARCHAR) <</SYS>> SELECT COUNT(entered) FROM table_name_53 WHERE eliminated = "3"[/INST] What is the total number of Entered when the eliminated number is 3?</s>
<s>[INST] <<SYS>> CREATE TABLE table_14342480_7 (points VARCHAR, player VARCHAR) <</SYS>> SELECT points FROM table_14342480_7 WHERE player = "Rolla Bigelow"[/INST] How many points were scored by Rolla Bigelow?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_34 (points_difference VARCHAR, points_against VARCHAR) <</SYS>> SELECT points_difference FROM table_name_34 WHERE points_against = "767"[/INST] When there were 767 points, what was the point difference?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_77 (white__both_hispanic_and_non_hispanic_ VARCHAR, black__both_hispanic_and_non_hispanic_ VARCHAR, hispanic__of_any_race_ VARCHAR) <</SYS>> SELECT COUNT(white__both_hispanic_and_non_hispanic_) FROM table_name_77 WHERE black__both_hispanic_and_non_hispanic_ = 9.9 AND hispanic__of_any_race_ < 99.5[/INST] What is the total number of white (Hispanic/Non-Hispanic) having a black (Hispanic/Non-Hispanic) of 9.9 and Hispanic under 99.5?</s>
<s>[INST] <<SYS>> CREATE TABLE table_23289934_1 (no_in_series INTEGER, production_code VARCHAR) <</SYS>> SELECT MAX(no_in_series) FROM table_23289934_1 WHERE production_code = "3ABC11"[/INST] Name the most number in series for production code of 3abc11</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_2 (number_of_electorates__2009_ INTEGER, name VARCHAR) <</SYS>> SELECT MIN(number_of_electorates__2009_) FROM table_name_2 WHERE name = "churai"[/INST] Churai has what as the fewest number of electorates?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_6 (partner VARCHAR, championship VARCHAR, score VARCHAR) <</SYS>> SELECT partner FROM table_name_6 WHERE championship = "australian open, melbourne" AND score = "2–6, 7–5, 6–2, 4–6, 3–6"[/INST] Who was the partner at the Australian Open, Melbourne when the score was 2–6, 7–5, 6–2, 4–6, 3–6?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_14 (name VARCHAR, event VARCHAR) <</SYS>> SELECT name FROM table_name_14 WHERE event = "500 metres"[/INST] Who set the record in the 500 metres event?</s>
<s>[INST] <<SYS>> CREATE TABLE customers (customer_name VARCHAR, customer_address VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_status_code VARCHAR) <</SYS>> SELECT T1.customer_name, T1.customer_address FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = "New" INTERSECT SELECT T1.customer_name, T1.customer_address FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = "Pending"[/INST] Find the name and address of the customers who have both New and Pending orders.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_77 (Id VARCHAR) <</SYS>> SELECT 2008 FROM table_name_77 WHERE 2007 = "wta premier mandatory tournaments"[/INST] Name the 2008 for wta premier mandatory tournaments of 2007</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_19 (pl_gp INTEGER, rd__number VARCHAR, pick__number VARCHAR) <</SYS>> SELECT AVG(pl_gp) FROM table_name_19 WHERE rd__number = 5 AND pick__number > 151[/INST] What is the average PI GP of the player from round 5 with a pick # larger than 151?</s>
<s>[INST] <<SYS>> CREATE TABLE table_29747178_2 (title VARCHAR, series__number VARCHAR) <</SYS>> SELECT title FROM table_29747178_2 WHERE series__number = 7[/INST] What is the title when the series # is 7?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_50 (voting_order INTEGER, commentator VARCHAR) <</SYS>> SELECT SUM(voting_order) FROM table_name_50 WHERE commentator = "bunny carr"[/INST] What was the voting order when bunny carr was the commentator?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_62 (player VARCHAR, place VARCHAR) <</SYS>> SELECT player FROM table_name_62 WHERE place = "t4"[/INST] Which player had a place of T4?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_41 (block VARCHAR, name VARCHAR, spike VARCHAR, weight VARCHAR) <</SYS>> SELECT COUNT(block) FROM table_name_41 WHERE spike < 341 AND weight > 82 AND name = "theodoros baev"[/INST] What is the total number of Block(s), when Spike is less than 341, when Weight is greater than 82, and when Name is Theodoros Baev?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_45 (livery VARCHAR, wheel_arrangement VARCHAR, locomotive_type VARCHAR, year_built VARCHAR) <</SYS>> SELECT livery FROM table_name_45 WHERE locomotive_type = "steam" AND year_built > 1950 AND wheel_arrangement = "2-6-2"[/INST] What is the livery of the steam locomotive built after 1950 with a wheel arrangement of 2-6-2?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_80 (score VARCHAR, date VARCHAR) <</SYS>> SELECT score FROM table_name_80 WHERE date = "17 december 1979"[/INST] Name the Score on 17 december 1979?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_70 (home VARCHAR, visitor VARCHAR) <</SYS>> SELECT home FROM table_name_70 WHERE visitor = "trail blazers"[/INST] Who was the home team where Trail Blazers were the visitor?</s>
<s>[INST] <<SYS>> CREATE TABLE vocals (TYPE VARCHAR) <</SYS>> SELECT TYPE FROM vocals GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1[/INST] Which vocal type is the most frequently appearring type?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_8 (team_1 VARCHAR, team_2 VARCHAR) <</SYS>> SELECT team_1 FROM table_name_8 WHERE team_2 = "lomé i"[/INST] Who played as Team 1 against Lomé i?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_23 (drew VARCHAR, played VARCHAR, lost VARCHAR) <</SYS>> SELECT drew FROM table_name_23 WHERE played = "9" AND lost = "3"[/INST] What is the number of draws when the played 9 and lost 3?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_80 (area__km_2__ INTEGER, code VARCHAR, population VARCHAR) <</SYS>> SELECT AVG(area__km_2__) FROM table_name_80 WHERE code = 98030 AND population > 312[/INST] What is the average area for code 98030 with population over 312?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_67 (place VARCHAR, to_par VARCHAR, player VARCHAR) <</SYS>> SELECT place FROM table_name_67 WHERE to_par < 13 AND player = "jacky cupit"[/INST] What place did jacky cupit take when his To par was under 13?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_73 (crowd VARCHAR, home_team VARCHAR) <</SYS>> SELECT COUNT(crowd) FROM table_name_73 WHERE home_team = "melbourne"[/INST] What was the crowd attendance when the home team was Melbourne?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_81 (date_from VARCHAR, position VARCHAR, name VARCHAR) <</SYS>> SELECT date_from FROM table_name_81 WHERE position = "mf" AND name = "toumani diagouraga"[/INST] What date did Toumani Diagouraga, who played position MF, start?</s>
<s>[INST] <<SYS>> CREATE TABLE table_27902171_9 (score VARCHAR, record VARCHAR) <</SYS>> SELECT score FROM table_27902171_9 WHERE record = "47-34"[/INST] What were the scores of the games with a record of 47-34?</s>
<s>[INST] <<SYS>> CREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_name VARCHAR, region_id VARCHAR) <</SYS>> SELECT region_name FROM region WHERE NOT region_id IN (SELECT region_id FROM affected_region)[/INST] Show the name for regions not affected.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_64 (episode VARCHAR, viewers VARCHAR) <</SYS>> SELECT episode FROM table_name_64 WHERE viewers = "183,000"[/INST] what is the episode with the 183,000 viewers?</s>
<s>[INST] <<SYS>> CREATE TABLE products (product_type_code VARCHAR) <</SYS>> SELECT product_type_code FROM products GROUP BY product_type_code HAVING COUNT(*) >= 2[/INST] Show the product type codes which have at least two products.</s>
<s>[INST] <<SYS>> CREATE TABLE table_19072602_3 (team_europe VARCHAR, team_usa VARCHAR) <</SYS>> SELECT COUNT(team_europe) FROM table_19072602_3 WHERE team_usa = "Chris Barnes"[/INST] When chris barnes is on team usa how many europe teams are there?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_82 (label VARCHAR, format VARCHAR, region VARCHAR) <</SYS>> SELECT label FROM table_name_82 WHERE format = "cd" AND region = "argentina"[/INST] What was the label in the region of Argentina and had a format of CD?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_74 (played VARCHAR, points_against VARCHAR) <</SYS>> SELECT played FROM table_name_74 WHERE points_against = "271"[/INST] For which play was the points 271?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_99 (match INTEGER, lost VARCHAR, team VARCHAR) <</SYS>> SELECT MIN(match) FROM table_name_99 WHERE lost > 3 AND team = "kolejarz rawicz"[/INST] What is the lowest match that has a lost greater than 3, and kolejarz rawicz as the team?</s>