training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_name_76 (opponent VARCHAR, venue VARCHAR, date VARCHAR) ###human: What opponent played on the 28th with a venue of away? ###assistant: SELECT opponent FROM table_name_76 WHERE venue = "away" AND date = "28th"
###context:CREATE TABLE table_name_29 (venue VARCHAR, date VARCHAR) ###human: What was the venue on the 20th? ###assistant: SELECT venue FROM table_name_29 WHERE date = "20th"
###context:CREATE TABLE table_name_25 (date VARCHAR, venue VARCHAR, opponent VARCHAR) ###human: When did the peterborough phantoms play at a venue of home? ###assistant: SELECT date FROM table_name_25 WHERE venue = "home" AND opponent = "peterborough phantoms"
###context:CREATE TABLE table_name_10 (opponent VARCHAR, result VARCHAR) ###human: Which opponent has a result of 2-0 l? ###assistant: SELECT opponent FROM table_name_10 WHERE result = "2-0 l"
###context:CREATE TABLE table_name_73 (opponent VARCHAR, competition VARCHAR, result VARCHAR) ###human: Which opponent completed a challenge competition with a result of 8-2 w? ###assistant: SELECT opponent FROM table_name_73 WHERE competition = "challenge" AND result = "8-2 w"
###context:CREATE TABLE table_name_43 (round VARCHAR, race VARCHAR) ###human: What shows for round when the race was Int. Adac Preis Von Zweibrücken? ###assistant: SELECT round FROM table_name_43 WHERE race = "int. adac preis von zweibrücken"
###context:CREATE TABLE table_name_43 (round INTEGER, circuit VARCHAR) ###human: What is the round for the Norisring circuit? ###assistant: SELECT AVG(round) FROM table_name_43 WHERE circuit = "norisring"
###context:CREATE TABLE table_name_45 (race VARCHAR, round VARCHAR, date VARCHAR) ###human: What race was a round smaller than 8, on 6 july? ###assistant: SELECT race FROM table_name_45 WHERE round < 8 AND date = "6 july"
###context:CREATE TABLE table_name_92 (round VARCHAR, race VARCHAR) ###human: What is the round for the Int. Adac-Preis Der Tourenwagen Von Sachsen-Anhalt? ###assistant: SELECT round FROM table_name_92 WHERE race = "int. adac-preis der tourenwagen von sachsen-anhalt"
###context:CREATE TABLE table_name_29 (week VARCHAR, attendance VARCHAR) ###human: What week were there 56,023 people in attendance? ###assistant: SELECT COUNT(week) FROM table_name_29 WHERE attendance = 56 OFFSET 023
###context:CREATE TABLE table_name_45 (attendance VARCHAR, week VARCHAR, date VARCHAR) ###human: What is the attendance number later than week 9 on November 20, 1983? ###assistant: SELECT COUNT(attendance) FROM table_name_45 WHERE week > 9 AND date = "november 20, 1983"
###context:CREATE TABLE table_name_45 (surface VARCHAR, date VARCHAR, opponent_in_the_final VARCHAR) ###human: What is Surface, when Date is less than 1979, and when Opponent in the Final is "Bill Scanlon"? ###assistant: SELECT surface FROM table_name_45 WHERE date < 1979 AND opponent_in_the_final = "bill scanlon"
###context:CREATE TABLE table_name_98 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR) ###human: What is Score in The Final, when Opponent in The Final is "John McEnroe", and when Championship is "Los Angeles , U.S."? ###assistant: SELECT score_in_the_final FROM table_name_98 WHERE opponent_in_the_final = "john mcenroe" AND championship = "los angeles , u.s."
###context:CREATE TABLE table_name_98 (outcome VARCHAR, opponent_in_the_final VARCHAR) ###human: What is Outcome, when Opponent in The Final is "Bill Scanlon"? ###assistant: SELECT outcome FROM table_name_98 WHERE opponent_in_the_final = "bill scanlon"
###context:CREATE TABLE table_name_34 (to_par VARCHAR, player VARCHAR) ###human: Which To par has a Player of bernhard langer? ###assistant: SELECT to_par FROM table_name_34 WHERE player = "bernhard langer"
###context:CREATE TABLE table_name_33 (score VARCHAR, country VARCHAR, player VARCHAR) ###human: Which Score has a Country of united states, and a Player of raymond floyd? ###assistant: SELECT score FROM table_name_33 WHERE country = "united states" AND player = "raymond floyd"
###context:CREATE TABLE table_name_56 (to_par VARCHAR, place VARCHAR, player VARCHAR) ###human: Which To par has a Place of t6, and a Player of nick faldo? ###assistant: SELECT to_par FROM table_name_56 WHERE place = "t6" AND player = "nick faldo"
###context:CREATE TABLE table_name_59 (to_par VARCHAR, place VARCHAR, player VARCHAR) ###human: Which To par has a Place of t2, and a Player of mark james? ###assistant: SELECT to_par FROM table_name_59 WHERE place = "t2" AND player = "mark james"
###context:CREATE TABLE table_name_2 (country VARCHAR, place VARCHAR, player VARCHAR) ###human: Which Country has a Place of t10, and a Player of tony jacklin? ###assistant: SELECT country FROM table_name_2 WHERE place = "t10" AND player = "tony jacklin"
###context:CREATE TABLE table_name_37 (country VARCHAR, score VARCHAR) ###human: Which Country has a Score of 71-74-70=215? ###assistant: SELECT country FROM table_name_37 WHERE score = 71 - 74 - 70 = 215
###context:CREATE TABLE table_name_39 (losses INTEGER, byes VARCHAR, wins VARCHAR, against VARCHAR) ###human: How many losses for the team with less than 4 wins, more than 0 byes and 2510 against? ###assistant: SELECT AVG(losses) FROM table_name_39 WHERE wins < 4 AND against = 2510 AND byes > 0
###context:CREATE TABLE table_name_64 (wins INTEGER, against VARCHAR, draws VARCHAR) ###human: How many wins for team with 1800 Against and more than 0 byes? ###assistant: SELECT MAX(wins) FROM table_name_64 WHERE against = 1800 AND draws > 0
###context:CREATE TABLE table_name_42 (wins INTEGER, against INTEGER) ###human: What is the least wins for a team with against less than 814? ###assistant: SELECT MIN(wins) FROM table_name_42 WHERE against < 814
###context:CREATE TABLE table_name_28 (losses INTEGER, wins VARCHAR, against VARCHAR) ###human: How many losses for the team with 3 wins and more than 1919 against? ###assistant: SELECT MIN(losses) FROM table_name_28 WHERE wins = 3 AND against > 1919
###context:CREATE TABLE table_name_22 (Id VARCHAR) ###human: What is the 2002 result where 2011 and 2000 are 1R? ###assistant: SELECT 2002 FROM table_name_22 WHERE 2011 = "1r" AND 2000 = "1r"
###context:CREATE TABLE table_name_34 (Id VARCHAR) ###human: What is the 2008 result where 2003 is 325? ###assistant: SELECT 2008 FROM table_name_34 WHERE 2003 = "325"
###context:CREATE TABLE table_name_38 (Id VARCHAR) ###human: What is the 2002 result when 2006 is A and 2010 is Q1? ###assistant: SELECT 2002 FROM table_name_38 WHERE 2006 = "a" AND 2010 = "q1"
###context:CREATE TABLE table_name_31 (year_completed INTEGER, dam_type VARCHAR, impounded_body_of_water VARCHAR) ###human: Which Year completed has a Dam type of concrete gravity, and an Impounded body of water of deep creek reservoir? ###assistant: SELECT MIN(year_completed) FROM table_name_31 WHERE dam_type = "concrete gravity" AND impounded_body_of_water = "deep creek reservoir"
###context:CREATE TABLE table_name_90 (dam_type VARCHAR, year_completed VARCHAR) ###human: Which dam type was completed in 1961? ###assistant: SELECT dam_type FROM table_name_90 WHERE year_completed = 1961
###context:CREATE TABLE table_name_25 (year_completed INTEGER, dam_type VARCHAR, dam_constructed VARCHAR) ###human: Which Year completed has a Dam type of earthfill embankment, and a Dam constructed of khancoban dam? ###assistant: SELECT MAX(year_completed) FROM table_name_25 WHERE dam_type = "earthfill embankment" AND dam_constructed = "khancoban dam"
###context:CREATE TABLE table_name_41 (reservoir_capacity VARCHAR, impounded_body_of_water VARCHAR) ###human: Which Reservoir capacity has an Impounded body of water of tumut two pondage? ###assistant: SELECT reservoir_capacity FROM table_name_41 WHERE impounded_body_of_water = "tumut two pondage"
###context:CREATE TABLE table_name_58 (companion__in_order_from_star_ VARCHAR, semimajor_axis___au__ VARCHAR) ###human: What Companion (in order from star) has a Semimajor axis (AU) of 0.1886 +0.083 −0.0104? ###assistant: SELECT companion__in_order_from_star_ FROM table_name_58 WHERE semimajor_axis___au__ = "0.1886 +0.083 −0.0104"
###context:CREATE TABLE table_name_81 (inclination VARCHAR, eccentricity VARCHAR) ###human: What Inclination has Eccentricity of 0.06 +0.06 −0.11? ###assistant: SELECT inclination FROM table_name_81 WHERE eccentricity = "0.06 +0.06 −0.11"
###context:CREATE TABLE table_name_10 (companion__in_order_from_star_ VARCHAR, orbital_period___s_day__ VARCHAR) ###human: What Companion (in order from star) has an Orbital period (s day) of 9.6184 +0.0050 −0.0049? ###assistant: SELECT companion__in_order_from_star_ FROM table_name_10 WHERE orbital_period___s_day__ = "9.6184 +0.0050 −0.0049"
###context:CREATE TABLE table_name_9 (inclination VARCHAR, mass VARCHAR) ###human: What Inclination has a Mass of ≥ 6.6 +1.1 −1.0 m⊕? ###assistant: SELECT inclination FROM table_name_9 WHERE mass = "≥ 6.6 +1.1 −1.0 m⊕"
###context:CREATE TABLE table_name_86 (semimajor_axis___au__ VARCHAR, companion__in_order_from_star_ VARCHAR) ###human: What Semimajor axis (AU) has a Companion (in order from star) of g? ###assistant: SELECT semimajor_axis___au__ FROM table_name_86 WHERE companion__in_order_from_star_ = "g"
###context:CREATE TABLE table_name_73 (semimajor_axis___au__ VARCHAR, mass VARCHAR) ###human: What Semimajor axis (AU) has a Mass of ≥ 3.5 ± 1.4 m⊕? ###assistant: SELECT semimajor_axis___au__ FROM table_name_73 WHERE mass = "≥ 3.5 ± 1.4 m⊕"
###context:CREATE TABLE table_name_2 (slalom VARCHAR, country VARCHAR) ###human: What Slalom was Switzerland in? ###assistant: SELECT slalom FROM table_name_2 WHERE country = "switzerland"
###context:CREATE TABLE table_name_74 (package_version VARCHAR, carrier VARCHAR) ###human: WHAT IS THE PACKAGE VERSION WITH TELUS MOBILITY? ###assistant: SELECT package_version FROM table_name_74 WHERE carrier = "telus mobility"
###context:CREATE TABLE table_name_9 (package_version VARCHAR, carrier VARCHAR, device VARCHAR, applications VARCHAR) ###human: WHAT IS THE PACKAGE VERSION FOR blackberry storm 9530, APPLICATION 5.0.0.419, AND MTS MOBILITY? ###assistant: SELECT package_version FROM table_name_9 WHERE device = "blackberry storm 9530" AND applications = "5.0.0.419" AND carrier = "mts mobility"
###context:CREATE TABLE table_name_37 (carrier VARCHAR, package_version VARCHAR) ###human: WHAT IS THE CARRIER WITH 5.0.0.742 VERSION? ###assistant: SELECT carrier FROM table_name_37 WHERE package_version = "5.0.0.742"
###context:CREATE TABLE table_name_25 (carrier VARCHAR, package_version VARCHAR) ###human: WHAT IS THE CARRIER FOR 4.7.0.208 VERSION? ###assistant: SELECT carrier FROM table_name_25 WHERE package_version = "4.7.0.208"
###context:CREATE TABLE table_name_18 (device VARCHAR, carrier VARCHAR) ###human: WHAT IS THE DEVICE WITH MTS MOBILITY? ###assistant: SELECT device FROM table_name_18 WHERE carrier = "mts mobility"
###context:CREATE TABLE table_name_93 (money___ INTEGER, to_par VARCHAR) ###human: How much money was there when the to par was 15? ###assistant: SELECT SUM(money___) AS $__ FROM table_name_93 WHERE to_par = 15
###context:CREATE TABLE table_name_97 (years VARCHAR, model VARCHAR) ###human: What are the years for the 250 model? ###assistant: SELECT years FROM table_name_97 WHERE model = "250"
###context:CREATE TABLE table_name_67 (power VARCHAR, chassis_code VARCHAR) ###human: What is the power of the Chassis code w123.130? ###assistant: SELECT power FROM table_name_67 WHERE chassis_code = "w123.130"
###context:CREATE TABLE table_name_53 (engine VARCHAR, chassis_code VARCHAR) ###human: What Engine does the w123.026 chassis have? ###assistant: SELECT engine FROM table_name_53 WHERE chassis_code = "w123.026"
###context:CREATE TABLE table_name_63 (chassis_code VARCHAR, power VARCHAR, model VARCHAR) ###human: What Chassis code has a 200d model and a Power of ps (kw; hp) @ 4200? ###assistant: SELECT chassis_code FROM table_name_63 WHERE power = "ps (kw; hp) @ 4200" AND model = "200d"
###context:CREATE TABLE table_name_90 (height_ft__m_ VARCHAR, name VARCHAR) ###human: What is the height in ft and m of the regions bank building? ###assistant: SELECT height_ft__m_ FROM table_name_90 WHERE name = "regions bank building"
###context:CREATE TABLE table_name_9 (street_address VARCHAR, name VARCHAR) ###human: What is the street address of the van antwerp building? ###assistant: SELECT street_address FROM table_name_9 WHERE name = "van antwerp building"
###context:CREATE TABLE table_name_12 (height_ft__m_ VARCHAR, floors INTEGER) ###human: What is the hight in ft and m of the building with less than 11 floors? ###assistant: SELECT height_ft__m_ FROM table_name_12 WHERE floors < 11
###context:CREATE TABLE table_name_54 (against VARCHAR, opposing_teams VARCHAR) ###human: What is the against when the opposing team is Italy? ###assistant: SELECT COUNT(against) FROM table_name_54 WHERE opposing_teams = "italy"
###context:CREATE TABLE table_name_12 (goals_per_match VARCHAR, name VARCHAR) ###human: What is Cha Bum-Kun's average number of goals per match? ###assistant: SELECT COUNT(goals_per_match) FROM table_name_12 WHERE name = "cha bum-kun"
###context:CREATE TABLE table_name_97 (caps VARCHAR, name VARCHAR, goals_per_match VARCHAR) ###human: How many caps does Jon Dahl Tomasson, who has less than 0.46 goals per match, have? ###assistant: SELECT COUNT(caps) FROM table_name_97 WHERE name = "jon dahl tomasson" AND goals_per_match < 0.46
###context:CREATE TABLE table_name_61 (club VARCHAR, city VARCHAR) ###human: What is the club from Vila Do Conde? ###assistant: SELECT club FROM table_name_61 WHERE city = "vila do conde"
###context:CREATE TABLE table_name_88 (stadium VARCHAR, city VARCHAR) ###human: What is the stadium for the city of Braga? ###assistant: SELECT stadium FROM table_name_88 WHERE city = "braga"
###context:CREATE TABLE table_name_16 (round VARCHAR, player VARCHAR) ###human: In what round was Kelsey Tessier drafted? ###assistant: SELECT round FROM table_name_16 WHERE player = "kelsey tessier"
###context:CREATE TABLE table_name_8 (Local VARCHAR, mission VARCHAR) ###human: What is Local Mission, when Mission is "Mauritius"? ###assistant: SELECT Local AS mission FROM table_name_8 WHERE mission = "mauritius"
###context:CREATE TABLE table_name_92 (local_position VARCHAR, mission VARCHAR) ###human: What is Local Position, when Mission is "Paraguay"? ###assistant: SELECT local_position FROM table_name_92 WHERE mission = "paraguay"
###context:CREATE TABLE table_name_68 (local_location VARCHAR, resident_country VARCHAR, mission VARCHAR) ###human: What is Local Location, when Resident Country is "Belgium", and when Mission is "Poland"? ###assistant: SELECT local_location FROM table_name_68 WHERE resident_country = "belgium" AND mission = "poland"
###context:CREATE TABLE table_name_79 (resident_country VARCHAR, local_location VARCHAR) ###human: What is Resident Country, when Local Location is "Copenhagen"? ###assistant: SELECT resident_country FROM table_name_79 WHERE local_location = "copenhagen"
###context:CREATE TABLE table_name_66 (player VARCHAR, place VARCHAR) ###human: What is Player, when Place is "1"? ###assistant: SELECT player FROM table_name_66 WHERE place = "1"
###context:CREATE TABLE table_name_10 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) ###human: What is Score, when Country is "United States", when Place is "T3", and when Player is "Phil Blackmar"? ###assistant: SELECT score FROM table_name_10 WHERE country = "united states" AND place = "t3" AND player = "phil blackmar"
###context:CREATE TABLE table_name_25 (to_par VARCHAR, country VARCHAR) ###human: What is To Par, when Country is "Australia"? ###assistant: SELECT to_par FROM table_name_25 WHERE country = "australia"
###context:CREATE TABLE table_name_41 (score VARCHAR, player VARCHAR) ###human: What is Score, when Player is "Vijay Singh"? ###assistant: SELECT score FROM table_name_41 WHERE player = "vijay singh"
###context:CREATE TABLE table_name_67 (surface VARCHAR, date VARCHAR) ###human: What type of surface did they play on 23 October 2000? ###assistant: SELECT surface FROM table_name_67 WHERE date = "23 october 2000"
###context:CREATE TABLE table_name_14 (surface VARCHAR, date VARCHAR) ###human: What type of surface did they play on 21 July 1997 ###assistant: SELECT surface FROM table_name_14 WHERE date = "21 july 1997"
###context:CREATE TABLE table_name_92 (score_in_the_final VARCHAR, championship VARCHAR) ###human: what was the score of the Championship match played in Estoril, Portugal? ###assistant: SELECT score_in_the_final FROM table_name_92 WHERE championship = "estoril, portugal"
###context:CREATE TABLE table_name_31 (championship VARCHAR, opponent_in_the_final VARCHAR) ###human: What was the name of the opponent Tommy Haas played in the Championship? ###assistant: SELECT championship FROM table_name_31 WHERE opponent_in_the_final = "tommy haas"
###context:CREATE TABLE table_name_48 (outcome VARCHAR, date VARCHAR) ###human: What was the score of the match played on 18 January 1999? ###assistant: SELECT outcome FROM table_name_48 WHERE date = "18 january 1999"
###context:CREATE TABLE table_name_15 (season VARCHAR, opponent VARCHAR) ###human: What season has roma as the opponent? ###assistant: SELECT season FROM table_name_15 WHERE opponent = "roma"
###context:CREATE TABLE table_name_47 (ship_type VARCHAR, disposition_of_ship VARCHAR, tonnage VARCHAR) ###human: What is the Ship Type of the Prize Disposition of ship and a tonnage less than 151? ###assistant: SELECT ship_type FROM table_name_47 WHERE disposition_of_ship = "prize" AND tonnage < 151
###context:CREATE TABLE table_name_35 (tonnage INTEGER, ship_type VARCHAR, disposition_of_ship VARCHAR) ###human: What is the highest tonnage of the Brig Ship Type and the disposition of Ship of Prize? ###assistant: SELECT MAX(tonnage) FROM table_name_35 WHERE ship_type = "brig" AND disposition_of_ship = "prize"
###context:CREATE TABLE table_name_34 (to_par VARCHAR, country VARCHAR, score VARCHAR) ###human: What's the to par for england when the score is less than 71? ###assistant: SELECT to_par FROM table_name_34 WHERE country = "england" AND score < 71
###context:CREATE TABLE table_name_33 (total_points VARCHAR) ###human: What is the lowest total for 1985-1986 when the total points are 124? ###assistant: SELECT MIN(1985 AS _1986) FROM table_name_33 WHERE total_points = 124
###context:CREATE TABLE table_name_41 (year_born__age_ VARCHAR, current_club VARCHAR, position VARCHAR) ###human: Which Year born (Age) has a Current Club of sporting al riyadi beirut, and a Position of pf? ###assistant: SELECT year_born__age_ FROM table_name_41 WHERE current_club = "sporting al riyadi beirut" AND position = "pf"
###context:CREATE TABLE table_name_97 (current_club VARCHAR, player VARCHAR) ###human: Which Current Club has a Player of bassem balaa? ###assistant: SELECT current_club FROM table_name_97 WHERE player = "bassem balaa"
###context:CREATE TABLE table_name_43 (round VARCHAR, year VARCHAR) ###human: What was the round in 1968? ###assistant: SELECT round FROM table_name_43 WHERE year = 1968
###context:CREATE TABLE table_name_19 (round VARCHAR, year INTEGER) ###human: What is the round for a year earlier than 1987? ###assistant: SELECT round FROM table_name_19 WHERE year < 1987
###context:CREATE TABLE table_name_92 (round VARCHAR, grand_slam VARCHAR) ###human: What is the round when Grand Slam was the Davis Cup? ###assistant: SELECT round FROM table_name_92 WHERE grand_slam = "davis cup"
###context:CREATE TABLE table_name_35 (grand_slam VARCHAR, winner VARCHAR, year VARCHAR, round VARCHAR) ###human: What is the grand slam in 1987, when round shows first round, and Ivan Lendl won? ###assistant: SELECT grand_slam FROM table_name_35 WHERE year = 1987 AND round = "first round" AND winner = "ivan lendl"
###context:CREATE TABLE table_name_40 (win__percentage INTEGER, manager VARCHAR, lost VARCHAR) ###human: What is the highes win % that manager juan carlos chávez's team had when they lost less than 4 times? ###assistant: SELECT MAX(win__percentage) FROM table_name_40 WHERE manager = "juan carlos chávez" AND lost < 4
###context:CREATE TABLE table_name_33 (district VARCHAR, party VARCHAR, first_elected VARCHAR) ###human: In which district is the incumbent a republican first elected in 1998? ###assistant: SELECT district FROM table_name_33 WHERE party = "republican" AND first_elected = 1998
###context:CREATE TABLE table_name_57 (party VARCHAR, incumbent VARCHAR) ###human: What is the party affiliation of Virginia Foxx? ###assistant: SELECT party FROM table_name_57 WHERE incumbent = "virginia foxx"
###context:CREATE TABLE table_name_29 (event VARCHAR, circuit VARCHAR, winning_driver VARCHAR, round VARCHAR) ###human: What is Event, when Winning Driver is "Laurent Aiello Laurent Aiello", when Round is greater than 1, and when Circuit is "Wunstorf"? ###assistant: SELECT event FROM table_name_29 WHERE winning_driver = "laurent aiello laurent aiello" AND round > 1 AND circuit = "wunstorf"
###context:CREATE TABLE table_name_38 (date VARCHAR, round VARCHAR) ###human: What is Date, when Round is "2"? ###assistant: SELECT date FROM table_name_38 WHERE round = 2
###context:CREATE TABLE table_name_62 (event VARCHAR, round VARCHAR) ###human: What is Event, when Round is "10"? ###assistant: SELECT event FROM table_name_62 WHERE round = 10
###context:CREATE TABLE table_name_18 (date VARCHAR, round VARCHAR, circuit VARCHAR) ###human: What is Date, when Round is less than 10, and when Circuit is "Norisring"? ###assistant: SELECT date FROM table_name_18 WHERE round < 10 AND circuit = "norisring"
###context:CREATE TABLE table_name_54 (goal_difference INTEGER, played INTEGER) ###human: What is the highest goal difference of the club with more than 34 played? ###assistant: SELECT MAX(goal_difference) FROM table_name_54 WHERE played > 34
###context:CREATE TABLE table_name_76 (points VARCHAR, goal_difference VARCHAR, played VARCHAR) ###human: What is the total number of points of the club with a goal difference greater than 17 and more than 34 played? ###assistant: SELECT COUNT(points) FROM table_name_76 WHERE goal_difference > 17 AND played > 34
###context:CREATE TABLE table_name_10 (goal_difference INTEGER, club VARCHAR, wins VARCHAR) ###human: What is the lowest goal difference of club real betis, who has less than 18 wins? ###assistant: SELECT MIN(goal_difference) FROM table_name_10 WHERE club = "real betis" AND wins < 18
###context:CREATE TABLE table_name_68 (points INTEGER, played INTEGER) ###human: What is the sum of the points of the club with more than 34 played? ###assistant: SELECT SUM(points) FROM table_name_68 WHERE played > 34
###context:CREATE TABLE table_name_59 (played INTEGER, wins VARCHAR, goals_against VARCHAR) ###human: What is the lowest number played of the club with more than 15 wins and less than 42 goals against? ###assistant: SELECT MIN(played) FROM table_name_59 WHERE wins > 15 AND goals_against < 42
###context:CREATE TABLE table_name_81 (wins VARCHAR, losses VARCHAR, goal_difference VARCHAR, draws VARCHAR) ###human: What is the total number of wins of the club with a goal difference less than 21, 4 draws, and less than 21 losses? ###assistant: SELECT COUNT(wins) FROM table_name_81 WHERE goal_difference < 21 AND draws = 4 AND losses < 21
###context:CREATE TABLE table_name_42 (round VARCHAR, phase VARCHAR, draw_date VARCHAR) ###human: What is the round for the qualifying phase with a draw date on 16 July 2010? ###assistant: SELECT round FROM table_name_42 WHERE phase = "qualifying" AND draw_date = "16 july 2010"
###context:CREATE TABLE table_name_18 (finish VARCHAR, player VARCHAR) ###human: Jack Nicklaus finished in what place? ###assistant: SELECT finish FROM table_name_18 WHERE player = "jack nicklaus"
###context:CREATE TABLE table_name_5 (year_s__won VARCHAR, to_par VARCHAR, finish VARCHAR) ###human: What year (s) won was +2 the To par, and t22 the finish? ###assistant: SELECT year_s__won FROM table_name_5 WHERE to_par = "+2" AND finish = "t22"
###context:CREATE TABLE table_name_73 (to_par VARCHAR, player VARCHAR, total VARCHAR, country VARCHAR) ###human: Lee Trevino of the United States with a total greater than 294 had what To par? ###assistant: SELECT to_par FROM table_name_73 WHERE total > 294 AND country = "united states" AND player = "lee trevino"
###context:CREATE TABLE table_name_20 (year_s__won VARCHAR, total VARCHAR, country VARCHAR) ###human: The golfer from Spain with a total less than 294 won in what year (s)? ###assistant: SELECT year_s__won FROM table_name_20 WHERE total < 294 AND country = "spain"
###context:CREATE TABLE table_name_13 (nationality VARCHAR, pick__number VARCHAR, player VARCHAR) ###human: Which Nationality has a Pick # smaller than 130 and a Player of tyler bunz? Question 1 ###assistant: SELECT nationality FROM table_name_13 WHERE pick__number < 130 AND player = "tyler bunz"