training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_name_66 (total INTEGER, player VARCHAR) ###human: What is the average total for Dave Stockton? ###assistant: SELECT AVG(total) FROM table_name_66 WHERE player = "dave stockton"
###context:CREATE TABLE table_name_38 (to_par INTEGER, total VARCHAR, country VARCHAR, year_s__won VARCHAR) ###human: What is the sum of the to par for the United States in the winning year of 1967, and has a total of more than 146? ###assistant: SELECT SUM(to_par) FROM table_name_38 WHERE country = "united states" AND year_s__won = "1967" AND total > 146
###context:CREATE TABLE table_name_42 (score VARCHAR, away_team VARCHAR) ###human: What is the score for the game in which Arsenal was the away team? ###assistant: SELECT score FROM table_name_42 WHERE away_team = "arsenal"
###context:CREATE TABLE table_name_13 (score VARCHAR, tie_no VARCHAR) ###human: What is the score for the tie number 15? ###assistant: SELECT score FROM table_name_13 WHERE tie_no = "15"
###context:CREATE TABLE table_name_78 (outgoing_manager VARCHAR, manner_of_departure VARCHAR, replaced_by VARCHAR) ###human: What Outgoing manager left at his end of tenure as caretaker and was Replaced by Jesper Hansen? ###assistant: SELECT outgoing_manager FROM table_name_78 WHERE manner_of_departure = "end of tenure as caretaker" AND replaced_by = "jesper hansen"
###context:CREATE TABLE table_name_52 (team VARCHAR, position_in_table VARCHAR, manner_of_departure VARCHAR) ###human: What Team's Pre-Season Manager's manner of departure was the end of tenure as caretaker? ###assistant: SELECT team FROM table_name_52 WHERE position_in_table = "pre-season" AND manner_of_departure = "end of tenure as caretaker"
###context:CREATE TABLE table_name_87 (place VARCHAR, player VARCHAR) ###human: What place is Fredrik Jacobson from? ###assistant: SELECT place FROM table_name_87 WHERE player = "fredrik jacobson"
###context:CREATE TABLE table_name_98 (to_par VARCHAR, player VARCHAR, score VARCHAR, place VARCHAR) ###human: What is the to par of Tiger Woods, where his score was less than 67, and he was in t1 place? ###assistant: SELECT to_par FROM table_name_98 WHERE score < 67 AND place = "t1" AND player = "tiger woods"
###context:CREATE TABLE table_name_33 (place VARCHAR, player VARCHAR) ###human: What place is player Brad Faxon from? ###assistant: SELECT place FROM table_name_33 WHERE player = "brad faxon"
###context:CREATE TABLE table_name_90 (score INTEGER, country VARCHAR) ###human: What is Sweden's lowest score? ###assistant: SELECT MIN(score) FROM table_name_90 WHERE country = "sweden"
###context:CREATE TABLE table_name_92 (sub_parish__sogn_ VARCHAR, year_built VARCHAR, parish__prestegjeld_ VARCHAR) ###human: Which Sub-Parish (Sogn) was built after 1894 in the Parish (Prestegjeld) of jostedal parish? ###assistant: SELECT sub_parish__sogn_ FROM table_name_92 WHERE year_built > 1894 AND parish__prestegjeld_ = "jostedal parish"
###context:CREATE TABLE table_name_30 (sub_parish__sogn_ VARCHAR, parish__prestegjeld_ VARCHAR, church_name VARCHAR) ###human: Which Sub-Parish (Sogn) is in the Parish (Prestegjeld) of hafslo parish and has a church called Hafslo Kyrkje? ###assistant: SELECT sub_parish__sogn_ FROM table_name_30 WHERE parish__prestegjeld_ = "hafslo parish" AND church_name = "hafslo kyrkje"
###context:CREATE TABLE table_name_52 (sub_parish__sogn_ VARCHAR, parish__prestegjeld_ VARCHAR, location_of_the_church VARCHAR) ###human: Which Sub-Parish (Sogn) is in the Parish (Prestegjeld) of hafslo parish and is located in the Church of Urnes? ###assistant: SELECT sub_parish__sogn_ FROM table_name_52 WHERE parish__prestegjeld_ = "hafslo parish" AND location_of_the_church = "urnes"
###context:CREATE TABLE table_name_66 (sub_parish__sogn_ VARCHAR, location_of_the_church VARCHAR, year_built VARCHAR, parish__prestegjeld_ VARCHAR) ###human: Which Sub-Parish (Sogn) was built before 1883 in the Parish (Prestegjeld) of jostedal parish and is located in the Church of Gaupne? ###assistant: SELECT sub_parish__sogn_ FROM table_name_66 WHERE year_built < 1883 AND parish__prestegjeld_ = "jostedal parish" AND location_of_the_church = "gaupne"
###context:CREATE TABLE table_name_99 (sub_parish__sogn_ VARCHAR, church_name VARCHAR) ###human: Which Sub-Parish (Sogn) has a church named Jostedal Kyrkje? ###assistant: SELECT sub_parish__sogn_ FROM table_name_99 WHERE church_name = "jostedal kyrkje"
###context:CREATE TABLE table_name_11 (national_title VARCHAR, miss_international VARCHAR) ###human: What's the national title of miss international ikumi yoshimatsu? ###assistant: SELECT national_title FROM table_name_11 WHERE miss_international = "ikumi yoshimatsu"
###context:CREATE TABLE table_name_6 (year INTEGER, country_territory VARCHAR) ###human: What's the earliest year the philippines won? ###assistant: SELECT MIN(year) FROM table_name_6 WHERE country_territory = "philippines"
###context:CREATE TABLE table_name_51 (year INTEGER, country_territory VARCHAR) ###human: What's the average year lebanon won? ###assistant: SELECT AVG(year) FROM table_name_51 WHERE country_territory = "lebanon"
###context:CREATE TABLE table_name_33 (country_territory VARCHAR, miss_international VARCHAR) ###human: What country or territory is małgorzata rożniecka from? ###assistant: SELECT country_territory FROM table_name_33 WHERE miss_international = "małgorzata rożniecka"
###context:CREATE TABLE table_name_84 (teams VARCHAR, league VARCHAR) ###human: Which team had a league of regionalliga süd? ###assistant: SELECT teams FROM table_name_84 WHERE league = "regionalliga süd"
###context:CREATE TABLE table_name_79 (home VARCHAR, season VARCHAR) ###human: What was the home for season 1949-50? ###assistant: SELECT home FROM table_name_79 WHERE season = "1949-50"
###context:CREATE TABLE table_name_2 (season VARCHAR, home VARCHAR) ###human: Which season had a home 2-3? ###assistant: SELECT season FROM table_name_2 WHERE home = "2-3"
###context:CREATE TABLE table_name_80 (teams VARCHAR, season VARCHAR) ###human: Which team had a season 1954-55? ###assistant: SELECT teams FROM table_name_80 WHERE season = "1954-55"
###context:CREATE TABLE table_name_33 (season VARCHAR, away VARCHAR) ###human: What season has an away 2-0? ###assistant: SELECT season FROM table_name_33 WHERE away = "2-0"
###context:CREATE TABLE table_name_75 (teams VARCHAR, home VARCHAR) ###human: What team has a home of 2-3? ###assistant: SELECT teams FROM table_name_75 WHERE home = "2-3"
###context:CREATE TABLE table_name_35 (total INTEGER, nation VARCHAR, silver VARCHAR) ###human: What is the total that wehn Lithuania is the nation, and Silver is more than 0? ###assistant: SELECT MIN(total) FROM table_name_35 WHERE nation = "lithuania" AND silver > 0
###context:CREATE TABLE table_name_73 (rank INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, gold VARCHAR) ###human: What is the rank when bronze was more than 0, gold more than 1, Nation is japan, and silver less than 0? ###assistant: SELECT AVG(rank) FROM table_name_73 WHERE bronze > 0 AND gold > 1 AND nation = "japan" AND silver < 0
###context:CREATE TABLE table_name_24 (rank INTEGER, total INTEGER) ###human: What is the rank when the total is less than 1? ###assistant: SELECT MIN(rank) FROM table_name_24 WHERE total < 1
###context:CREATE TABLE table_name_89 (total INTEGER, silver VARCHAR, bronze VARCHAR) ###human: What is the total when silver is more than 0, and bronze less than 0? ###assistant: SELECT MAX(total) FROM table_name_89 WHERE silver > 0 AND bronze < 0
###context:CREATE TABLE table_name_10 (rank INTEGER, nation VARCHAR, gold VARCHAR) ###human: What is the rank that when Serbia is the nation, and gold is larger than 0? ###assistant: SELECT SUM(rank) FROM table_name_10 WHERE nation = "serbia" AND gold > 0
###context:CREATE TABLE table_name_50 (year_s__won VARCHAR, to_par VARCHAR, player VARCHAR) ###human: Which Year(s) won has a To par smaller than 12, and a Player of john daly? ###assistant: SELECT year_s__won FROM table_name_50 WHERE to_par < 12 AND player = "john daly"
###context:CREATE TABLE table_name_21 (player VARCHAR, to_par VARCHAR, country VARCHAR) ###human: Which Player has a To par of 12, and a Country of fiji? ###assistant: SELECT player FROM table_name_21 WHERE to_par = 12 AND country = "fiji"
###context:CREATE TABLE table_name_17 (total INTEGER, to_par INTEGER) ###human: Which Total has a To par larger than 12? ###assistant: SELECT MIN(total) FROM table_name_17 WHERE to_par > 12
###context:CREATE TABLE table_name_32 (to_par INTEGER, year_s__won VARCHAR, total VARCHAR, country VARCHAR) ###human: How much To par has a Total larger than 149, and a Country of united states, and a Year(s) won of 1997? ###assistant: SELECT SUM(to_par) FROM table_name_32 WHERE total > 149 AND country = "united states" AND year_s__won = "1997"
###context:CREATE TABLE table_name_34 (network VARCHAR, rank VARCHAR, show VARCHAR) ###human: Which Network has a Rank larger than 5, a Show of 2012 summer olympics closing ceremony in london? ###assistant: SELECT network FROM table_name_34 WHERE rank > 5 AND show = "2012 summer olympics closing ceremony in london"
###context:CREATE TABLE table_name_20 (rank INTEGER, network VARCHAR, number_of_viewers VARCHAR) ###human: Which Rank has a Network of bbc one, and a Number of Viewers of 30.15million? Question 2 ###assistant: SELECT SUM(rank) FROM table_name_20 WHERE network = "bbc one" AND number_of_viewers = "30.15million"
###context:CREATE TABLE table_name_13 (date VARCHAR, rank VARCHAR, network VARCHAR) ###human: When has a Rank larger than 2 and a Network of itv? ###assistant: SELECT date FROM table_name_13 WHERE rank > 2 AND network = "itv"
###context:CREATE TABLE table_name_1 (term_of_office VARCHAR, state VARCHAR, member VARCHAR) ###human: What is the Term of office for Leonard Reynolds of NSW? ###assistant: SELECT term_of_office FROM table_name_1 WHERE state = "nsw" AND member = "leonard reynolds"
###context:CREATE TABLE table_name_3 (state VARCHAR, electorate VARCHAR) ###human: What state shows for Cunningham? ###assistant: SELECT state FROM table_name_3 WHERE electorate = "cunningham"
###context:CREATE TABLE table_name_16 (electorate VARCHAR, term_of_office VARCHAR, member VARCHAR) ###human: What is the Electorate when the term of office was 1955–1972, for Peter Howson? ###assistant: SELECT electorate FROM table_name_16 WHERE term_of_office = "1955–1972" AND member = "peter howson"
###context:CREATE TABLE table_name_29 (party VARCHAR, term_of_office VARCHAR, state VARCHAR) ###human: What party has a term of office of 1951–1966, and a State of sa? ###assistant: SELECT party FROM table_name_29 WHERE term_of_office = "1951–1966" AND state = "sa"
###context:CREATE TABLE table_name_48 (attendance VARCHAR, arena VARCHAR) ###human: What was the Attendance at Jobing.com Arena? ###assistant: SELECT COUNT(attendance) FROM table_name_48 WHERE arena = "jobing.com arena"
###context:CREATE TABLE table_name_75 (date VARCHAR, loss VARCHAR) ###human: What is the Date of the game with a Loss of Leneveu (1–0–1)? ###assistant: SELECT date FROM table_name_75 WHERE loss = "leneveu (1–0–1)"
###context:CREATE TABLE table_name_68 (date VARCHAR, record VARCHAR) ###human: What is the Date with a game with a Record of 2–1–1? ###assistant: SELECT date FROM table_name_68 WHERE record = "2–1–1"
###context:CREATE TABLE table_name_30 (score VARCHAR, arena VARCHAR) ###human: What is the Score at Jobing.com Arena? ###assistant: SELECT score FROM table_name_30 WHERE arena = "jobing.com arena"
###context:CREATE TABLE table_name_40 (opponent VARCHAR, date VARCHAR) ###human: What is the Opponent of the game on September 26? ###assistant: SELECT opponent FROM table_name_40 WHERE date = "september 26"
###context:CREATE TABLE table_name_68 (label VARCHAR, region VARCHAR, format VARCHAR) ###human: What Label has a Region of united states, and a Format of cassette? ###assistant: SELECT label FROM table_name_68 WHERE region = "united states" AND format = "cassette"
###context:CREATE TABLE table_name_25 (date VARCHAR, label VARCHAR) ###human: What Date has a Label of grilled cheese? ###assistant: SELECT date FROM table_name_25 WHERE label = "grilled cheese"
###context:CREATE TABLE table_name_5 (catalog VARCHAR, label VARCHAR) ###human: What Catalog has a Label of geffen records / universal music special markets? ###assistant: SELECT catalog FROM table_name_5 WHERE label = "geffen records / universal music special markets"
###context:CREATE TABLE table_name_88 (label VARCHAR, format VARCHAR, catalog VARCHAR) ###human: What Label has a Format of cd, and a Catalog of crgd 86136? ###assistant: SELECT label FROM table_name_88 WHERE format = "cd" AND catalog = "crgd 86136"
###context:CREATE TABLE table_name_47 (region VARCHAR, catalog VARCHAR) ###human: What Region has a Catalog of crgd 86136? ###assistant: SELECT region FROM table_name_47 WHERE catalog = "crgd 86136"
###context:CREATE TABLE table_name_13 (label VARCHAR, catalog VARCHAR) ###human: What Label has a Catalog of 486 136-2? ###assistant: SELECT label FROM table_name_13 WHERE catalog = "486 136-2"
###context:CREATE TABLE table_name_98 (opponent VARCHAR, result VARCHAR) ###human: Which Opponent has a Result of 0-3? ###assistant: SELECT opponent FROM table_name_98 WHERE result = "0-3"
###context:CREATE TABLE table_name_35 (attendance INTEGER, round VARCHAR, result VARCHAR, venue VARCHAR) ###human: What is the total attendance with a 1-0 result, at Venue H, and Round SF? ###assistant: SELECT SUM(attendance) FROM table_name_35 WHERE result = "1-0" AND venue = "h" AND round = "sf"
###context:CREATE TABLE table_name_27 (attendance INTEGER, venue VARCHAR, round VARCHAR) ###human: What is the lowest attendance at Venue H in Round R2? ###assistant: SELECT MIN(attendance) FROM table_name_27 WHERE venue = "h" AND round = "r2"
###context:CREATE TABLE table_name_64 (attendance INTEGER, opponent VARCHAR, venue VARCHAR) ###human: What is the highest attendance for the opponents Club Brugge in Venue A? ###assistant: SELECT MAX(attendance) FROM table_name_64 WHERE opponent = "club brugge" AND venue = "a"
###context:CREATE TABLE table_name_67 (round VARCHAR, opponent VARCHAR, venue VARCHAR) ###human: What is the round for the opponent CSKA Sofia in Venue A? ###assistant: SELECT round FROM table_name_67 WHERE opponent = "cska sofia" AND venue = "a"
###context:CREATE TABLE table_name_17 (player VARCHAR, place VARCHAR) ###human: What player placed t10? ###assistant: SELECT player FROM table_name_17 WHERE place = "t10"
###context:CREATE TABLE table_name_93 (score INTEGER, player VARCHAR) ###human: What was Bernhard Langer's highest score? ###assistant: SELECT MAX(score) FROM table_name_93 WHERE player = "bernhard langer"
###context:CREATE TABLE table_name_35 (score INTEGER, country VARCHAR, player VARCHAR) ###human: What was Craig Stadler's lowest score for United states? ###assistant: SELECT MIN(score) FROM table_name_35 WHERE country = "united states" AND player = "craig stadler"
###context:CREATE TABLE table_name_96 (money___£__ VARCHAR, country VARCHAR) ###human: What Money (£) has a Country of ireland? ###assistant: SELECT money___£__ FROM table_name_96 WHERE country = "ireland"
###context:CREATE TABLE table_name_2 (player VARCHAR, place VARCHAR) ###human: What Player has a Place of t10? ###assistant: SELECT player FROM table_name_2 WHERE place = "t10"
###context:CREATE TABLE table_name_85 (to_par VARCHAR, score VARCHAR) ###human: What To par has a Score of 71-73-71-71=286? ###assistant: SELECT to_par FROM table_name_85 WHERE score = 71 - 73 - 71 - 71 = 286
###context:CREATE TABLE table_name_92 (place VARCHAR, to_par VARCHAR) ###human: What Place has a To par of –4? ###assistant: SELECT place FROM table_name_92 WHERE to_par = "–4"
###context:CREATE TABLE table_name_86 (score VARCHAR, place VARCHAR, country VARCHAR) ###human: What Score has a Place of t8, and a Country of scotland? ###assistant: SELECT score FROM table_name_86 WHERE place = "t8" AND country = "scotland"
###context:CREATE TABLE table_name_52 (to_par VARCHAR, country VARCHAR, score VARCHAR) ###human: What To par has a Country of united states, and a Score of 67-66-78-77=288? ###assistant: SELECT to_par FROM table_name_52 WHERE country = "united states" AND score = 67 - 66 - 78 - 77 = 288
###context:CREATE TABLE table_name_14 (money___ INTEGER, country VARCHAR, to_par VARCHAR) ###human: What is the average Money ( $ ), when Country is "United States", and when To par is "+3"? ###assistant: SELECT AVG(money___) AS $__ FROM table_name_14 WHERE country = "united states" AND to_par = "+3"
###context:CREATE TABLE table_name_4 (money___$__ VARCHAR, player VARCHAR) ###human: What is Money ( $ ), when Player is "Morgan Pressel"? ###assistant: SELECT money___$__ FROM table_name_4 WHERE player = "morgan pressel"
###context:CREATE TABLE table_name_94 (place VARCHAR, player VARCHAR) ###human: What is Place, when Player is "Mi Hyun Kim"? ###assistant: SELECT place FROM table_name_94 WHERE player = "mi hyun kim"
###context:CREATE TABLE table_name_78 (tonnage INTEGER, date VARCHAR) ###human: What was the tonnage on 30 march 1943? ###assistant: SELECT AVG(tonnage) FROM table_name_78 WHERE date = "30 march 1943"
###context:CREATE TABLE table_name_44 (fate VARCHAR, date VARCHAR) ###human: What was the fate on 27 june 1942? ###assistant: SELECT fate FROM table_name_44 WHERE date = "27 june 1942"
###context:CREATE TABLE table_name_91 (tonnage VARCHAR, date VARCHAR) ###human: What was the tonnage on 12 september 1942? ###assistant: SELECT tonnage FROM table_name_91 WHERE date = "12 september 1942"
###context:CREATE TABLE table_name_56 (fate VARCHAR, nationality VARCHAR) ###human: What was Yugoslavia's fate? ###assistant: SELECT fate FROM table_name_56 WHERE nationality = "yugoslavia"
###context:CREATE TABLE table_name_95 (status VARCHAR, name VARCHAR) ###human: What is the status of the ship INS Ranvir? ###assistant: SELECT status FROM table_name_95 WHERE name = "ins ranvir"
###context:CREATE TABLE table_name_69 (builder VARCHAR, name VARCHAR) ###human: Who was the builder of the ship INS Rana? ###assistant: SELECT builder FROM table_name_69 WHERE name = "ins rana"
###context:CREATE TABLE table_name_70 (year VARCHAR, points VARCHAR) ###human: What year shows 248 (sf: 217) points? ###assistant: SELECT COUNT(year) FROM table_name_70 WHERE points = "248 (sf: 217)"
###context:CREATE TABLE table_name_98 (place VARCHAR, year VARCHAR, points VARCHAR) ###human: What is the place later than 2007, with 141 (sf:83) points? ###assistant: SELECT place FROM table_name_98 WHERE year > 2007 AND points = "141 (sf:83)"
###context:CREATE TABLE table_name_31 (artist VARCHAR, year VARCHAR, composer VARCHAR) ###human: What artist shows 2007 and composer of Hayko? ###assistant: SELECT artist FROM table_name_31 WHERE year = 2007 AND composer = "hayko"
###context:CREATE TABLE table_name_31 (place VARCHAR, player VARCHAR) ###human: What place is Corey Pavin in? ###assistant: SELECT place FROM table_name_31 WHERE player = "corey pavin"
###context:CREATE TABLE table_name_73 (points INTEGER, team VARCHAR, average VARCHAR, played VARCHAR) ###human: How many Points have an Average smaller than 1, a Played larger than 38, and a Team of gimnasia de la plata? ###assistant: SELECT SUM(points) FROM table_name_73 WHERE average < 1 AND played > 38 AND team = "gimnasia de la plata"
###context:CREATE TABLE table_name_57 (atomic_property VARCHAR, helium VARCHAR) ###human: Which Atomic property has Helium of 4.16? ###assistant: SELECT atomic_property FROM table_name_57 WHERE helium = "4.16"
###context:CREATE TABLE table_name_4 (krypton VARCHAR, neon VARCHAR) ###human: Which Krypton has Neon of 10? ###assistant: SELECT krypton FROM table_name_4 WHERE neon = "10"
###context:CREATE TABLE table_name_62 (radon VARCHAR, neon VARCHAR) ###human: Which Radon has Neon of 4.79? ###assistant: SELECT radon FROM table_name_62 WHERE neon = "4.79"
###context:CREATE TABLE table_name_91 (neon VARCHAR, atomic_property VARCHAR) ###human: Which Neon has Atomic property of average valence electron energy (avee)? ###assistant: SELECT neon FROM table_name_91 WHERE atomic_property = "average valence electron energy (avee)"
###context:CREATE TABLE table_name_65 (radon VARCHAR, atomic_property VARCHAR) ###human: Which Radon has Atomic property of outer shell electron configuration? ###assistant: SELECT radon FROM table_name_65 WHERE atomic_property = "outer shell electron configuration"
###context:CREATE TABLE table_name_25 (xenon VARCHAR, neon VARCHAR) ###human: Which Xenon has Neon of 20.1797(6)? ###assistant: SELECT xenon FROM table_name_25 WHERE neon = "20.1797(6)"
###context:CREATE TABLE table_name_46 (attendance INTEGER, away_team VARCHAR) ###human: What is the highest attendance of the game with eastwood town as the away team? ###assistant: SELECT MAX(attendance) FROM table_name_46 WHERE away_team = "eastwood town"
###context:CREATE TABLE table_name_4 (place VARCHAR, player VARCHAR) ###human: What place is Scott McCarron in? ###assistant: SELECT place FROM table_name_4 WHERE player = "scott mccarron"
###context:CREATE TABLE table_name_59 (weight VARCHAR, name VARCHAR) ###human: What is Alexandr Elke's Weight? ###assistant: SELECT weight FROM table_name_59 WHERE name = "alexandr elke"
###context:CREATE TABLE table_name_76 (name VARCHAR, club VARCHAR, pos VARCHAR) ###human: What is the Name of the D Player from the Dinamo Moscow Club? ###assistant: SELECT name FROM table_name_76 WHERE club = "dinamo moscow" AND pos = "d"
###context:CREATE TABLE table_name_50 (date_of_birth VARCHAR, club VARCHAR) ###human: What is the Date of Birth of the Player from the CSK VMF Moscow Club? ###assistant: SELECT date_of_birth FROM table_name_50 WHERE club = "csk vmf moscow"
###context:CREATE TABLE table_name_31 (weight VARCHAR, club VARCHAR, height VARCHAR) ###human: What is the Weight of the Player from DSHNK Almaty Club with a Height of m (ft 6in)? ###assistant: SELECT weight FROM table_name_31 WHERE club = "dshnk almaty" AND height = "m (ft 6in)"
###context:CREATE TABLE table_name_28 (position INTEGER, played VARCHAR, goals_against VARCHAR, wins VARCHAR) ###human: Which Position has Goals against smaller than 43, and Wins larger than 14, and Played larger than 38? ###assistant: SELECT SUM(position) FROM table_name_28 WHERE goals_against < 43 AND wins > 14 AND played > 38
###context:CREATE TABLE table_name_17 (goals_for INTEGER, goals_against VARCHAR, position VARCHAR, wins VARCHAR) ###human: Which Goals for has a Position smaller than 16, and Wins smaller than 19, and Goals against smaller than 32? ###assistant: SELECT MIN(goals_for) FROM table_name_17 WHERE position < 16 AND wins < 19 AND goals_against < 32
###context:CREATE TABLE table_name_30 (points INTEGER, goals_against VARCHAR, played VARCHAR) ###human: Which Points have Goals against of 32, and Played larger than 38? ###assistant: SELECT MAX(points) FROM table_name_30 WHERE goals_against = 32 AND played > 38
###context:CREATE TABLE table_name_90 (position INTEGER, points VARCHAR, draws VARCHAR, goals_against VARCHAR, goals_for VARCHAR) ###human: Which Position has Goals against smaller than 59, and Goals for larger than 32, and Draws larger than 9, and Points larger than 35? ###assistant: SELECT AVG(position) FROM table_name_90 WHERE goals_against < 59 AND goals_for > 32 AND draws > 9 AND points > 35
###context:CREATE TABLE table_name_21 (district VARCHAR, party VARCHAR, results VARCHAR) ###human: What district re-elected a Republican? ###assistant: SELECT district FROM table_name_21 WHERE party = "republican" AND results = "re-elected"
###context:CREATE TABLE table_name_84 (incumbent VARCHAR, first_elected VARCHAR) ###human: Which incumbent was first elected in 1987? ###assistant: SELECT incumbent FROM table_name_84 WHERE first_elected = 1987
###context:CREATE TABLE table_name_63 (country VARCHAR, money___$__ INTEGER) ###human: From which country is the player who made less than $216? ###assistant: SELECT country FROM table_name_63 WHERE money___$__ < 216
###context:CREATE TABLE table_name_71 (place VARCHAR, country VARCHAR, money___$__ VARCHAR, score VARCHAR) ###human: Where did the player place who is from the United States, who made more than $216, and whose score was 74-70-71-69=284? ###assistant: SELECT place FROM table_name_71 WHERE country = "united states" AND money___$__ > 216 AND score = 74 - 70 - 71 - 69 = 284