training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_name_43 (silver INTEGER, total VARCHAR, rank VARCHAR) ###human: What is the sum of silver medals for the entry with rank 3 and a total of 4 medals? ###assistant: SELECT SUM(silver) FROM table_name_43 WHERE total = 4 AND rank = "3"
###context:CREATE TABLE table_name_98 (season VARCHAR, goals VARCHAR) ###human: What season had a goal of 1? ###assistant: SELECT season FROM table_name_98 WHERE goals = "1"
###context:CREATE TABLE table_name_82 (club VARCHAR, country VARCHAR, goals VARCHAR) ###human: What club was in Netherlands and had 22 goals? ###assistant: SELECT club FROM table_name_82 WHERE country = "netherlands" AND goals = "22"
###context:CREATE TABLE table_name_29 (season VARCHAR, country VARCHAR, goals VARCHAR) ###human: What season had Belgium and 1 goal? ###assistant: SELECT season FROM table_name_29 WHERE country = "belgium" AND goals = "1"
###context:CREATE TABLE table_name_66 (year INTEGER, category VARCHAR) ###human: Which Year has a Category of best film? ###assistant: SELECT MAX(year) FROM table_name_66 WHERE category = "best film"
###context:CREATE TABLE table_name_35 (incumbent VARCHAR, party VARCHAR, district VARCHAR) ###human: Who is the incumbent from the democratic party in the washington 7 district? ###assistant: SELECT incumbent FROM table_name_35 WHERE party = "democratic" AND district = "washington 7"
###context:CREATE TABLE table_name_86 (first_elected INTEGER, incumbent VARCHAR) ###human: When was the earliest incumbent dave reichert was first elected? ###assistant: SELECT MIN(first_elected) FROM table_name_86 WHERE incumbent = "dave reichert"
###context:CREATE TABLE table_name_29 (first_elected VARCHAR, incumbent VARCHAR) ###human: What is the total of the first elected year of incumbent norm dicks? ###assistant: SELECT COUNT(first_elected) FROM table_name_29 WHERE incumbent = "norm dicks"
###context:CREATE TABLE table_name_91 (first_elected VARCHAR, district VARCHAR) ###human: What is the total of the first elected year of the incumbent from the washington 8 district? ###assistant: SELECT COUNT(first_elected) FROM table_name_91 WHERE district = "washington 8"
###context:CREATE TABLE table_name_83 (start INTEGER, year VARCHAR, finish VARCHAR, manufacturer VARCHAR) ###human: WHAT IS THE START THAT HAS A FINISH BIGGER THAN 3, FROM FORD, AFTER 1969? ###assistant: SELECT MAX(start) FROM table_name_83 WHERE finish > 3 AND manufacturer = "ford" AND year > 1969
###context:CREATE TABLE table_name_5 (manufacturer VARCHAR, finish VARCHAR, team VARCHAR, year VARCHAR, start VARCHAR) ###human: WHAT MANUFACTURER AFTER 1966 HAD A START SMALLER THAN 5, A WOOD TEAM AND FINISHED 35? ###assistant: SELECT manufacturer FROM table_name_5 WHERE year > 1966 AND start < 5 AND team = "wood" AND finish = 35
###context:CREATE TABLE table_name_6 (finish VARCHAR, start VARCHAR, year VARCHAR) ###human: WHAT WAS THE FINISH NUMBER WITH A START SMALLER THAN 20 IN 1969? ###assistant: SELECT COUNT(finish) FROM table_name_6 WHERE start < 20 AND year = 1969
###context:CREATE TABLE table_name_69 (pleasure VARCHAR, psychological_dependence VARCHAR, drug VARCHAR) ###human: What is the total number of Pleasure(s), when Psychological Dependence is greater than 1.9, and when Drug is "Benzodiazepines"? ###assistant: SELECT COUNT(pleasure) FROM table_name_69 WHERE psychological_dependence > 1.9 AND drug = "benzodiazepines"
###context:CREATE TABLE table_name_55 (psychological_dependence INTEGER, physical_dependence VARCHAR, pleasure VARCHAR, drug VARCHAR) ###human: What is the highest Psychological Dependence, when Pleasure is less than 2.3, when Drug is "Cannabis", and when Physical Dependence is less than 0.8? ###assistant: SELECT MAX(psychological_dependence) FROM table_name_55 WHERE pleasure < 2.3 AND drug = "cannabis" AND physical_dependence < 0.8
###context:CREATE TABLE table_name_98 (mean INTEGER, drug VARCHAR, psychological_dependence VARCHAR) ###human: What is the average Mean, when Drug is "Alcohol", and when Psychological Dependence is greater than 1.9? ###assistant: SELECT AVG(mean) FROM table_name_98 WHERE drug = "alcohol" AND psychological_dependence > 1.9
###context:CREATE TABLE table_name_91 (psychological_dependence VARCHAR, pleasure VARCHAR, mean VARCHAR) ###human: What is the total number of Psychological Dependence, when Pleasure is "2.3", and when Mean is less than 1.9300000000000002? ###assistant: SELECT COUNT(psychological_dependence) FROM table_name_91 WHERE pleasure = 2.3 AND mean < 1.9300000000000002
###context:CREATE TABLE table_name_57 (pleasure INTEGER, drug VARCHAR, psychological_dependence VARCHAR) ###human: What is the sum of Pleasure, when Drug is "LSD", and when Psychological Dependence is greater than 1.1? ###assistant: SELECT SUM(pleasure) FROM table_name_57 WHERE drug = "lsd" AND psychological_dependence > 1.1
###context:CREATE TABLE table_name_87 (country VARCHAR, domestic_tournament VARCHAR, team VARCHAR) ###human: What Country's team is Rajasthan Royals at the 2008 Indian Premier League? ###assistant: SELECT country FROM table_name_87 WHERE domestic_tournament = "2008 indian premier league" AND team = "rajasthan royals"
###context:CREATE TABLE table_name_42 (domestic_tournament VARCHAR, team VARCHAR) ###human: What is the Domestic Tournament with Chennai Super Kings Team? ###assistant: SELECT domestic_tournament FROM table_name_42 WHERE team = "chennai super kings"
###context:CREATE TABLE table_name_42 (group VARCHAR, team VARCHAR) ###human: What is the Dolphins Group? ###assistant: SELECT group FROM table_name_42 WHERE team = "dolphins"
###context:CREATE TABLE table_name_81 (player VARCHAR, year_s__won VARCHAR) ###human: Who is the player that won in the year 1978? ###assistant: SELECT player FROM table_name_81 WHERE year_s__won = "1978"
###context:CREATE TABLE table_name_58 (country VARCHAR, score VARCHAR) ###human: What is the Country of the Player with a Score of 73-71-76-70=290? ###assistant: SELECT country FROM table_name_58 WHERE score = 73 - 71 - 76 - 70 = 290
###context:CREATE TABLE table_name_30 (money___$__ VARCHAR, player VARCHAR) ###human: What is Lawson Little's Money ($) amount? ###assistant: SELECT money___$__ FROM table_name_30 WHERE player = "lawson little"
###context:CREATE TABLE table_name_2 (money___$__ VARCHAR, to_par VARCHAR) ###human: What is the Money ($) amount of the Player with a To par of e? ###assistant: SELECT money___$__ FROM table_name_2 WHERE to_par = "e"
###context:CREATE TABLE table_name_8 (country VARCHAR, money___$__ VARCHAR, score VARCHAR) ###human: What Country has a Player with Playoff Money with a Score of 72-69-73-73=287? ###assistant: SELECT country FROM table_name_8 WHERE money___$__ = "playoff" AND score = 72 - 69 - 73 - 73 = 287
###context:CREATE TABLE table_name_25 (place VARCHAR, player VARCHAR) ###human: What is Ben Hogan's Place? ###assistant: SELECT place FROM table_name_25 WHERE player = "ben hogan"
###context:CREATE TABLE table_name_32 (place VARCHAR, score VARCHAR) ###human: What is the Place of the Player with a Score of 73-75-71-73=292? ###assistant: SELECT place FROM table_name_32 WHERE score = 73 - 75 - 71 - 73 = 292
###context:CREATE TABLE table_name_63 (byes INTEGER, wins VARCHAR, losses VARCHAR) ###human: How many byes when there are 11 wins and fewer than 5 losses? ###assistant: SELECT SUM(byes) FROM table_name_63 WHERE wins = 11 AND losses < 5
###context:CREATE TABLE table_name_90 (losses VARCHAR, wins INTEGER) ###human: How many losses when there are less than 0 wins? ###assistant: SELECT COUNT(losses) FROM table_name_90 WHERE wins < 0
###context:CREATE TABLE table_name_83 (against INTEGER, central_murray VARCHAR, losses VARCHAR) ###human: What are the most againsts with more than 11 losses and central murray is Nyah Nyah West Utd? ###assistant: SELECT MAX(against) FROM table_name_83 WHERE central_murray = "nyah nyah west utd" AND losses > 11
###context:CREATE TABLE table_name_19 (to_par VARCHAR, money___£__ INTEGER) ###human: What is the To par of the player with Money of 7,750 or more? ###assistant: SELECT to_par FROM table_name_19 WHERE money___£__ > 7 OFFSET 750
###context:CREATE TABLE table_name_10 (provider VARCHAR, up__up_to_kbit_s_ VARCHAR) ###human: who is the provider when up (up to kbit/s) is 1180? ###assistant: SELECT provider FROM table_name_10 WHERE up__up_to_kbit_s_ = 1180
###context:CREATE TABLE table_name_26 (down__up_to_kbit_s_ INTEGER, provider VARCHAR, resale VARCHAR, up__up_to_kbit_s_ VARCHAR) ###human: what is the highest down (up to kbits/s) when resale is yes, up ( up to kbit/s) is 1180 and provider is 1&1? ###assistant: SELECT MAX(down__up_to_kbit_s_) FROM table_name_26 WHERE resale = "yes" AND up__up_to_kbit_s_ = 1180 AND provider = "1&1"
###context:CREATE TABLE table_name_41 (resale VARCHAR, down__up_to_kbit_s_ VARCHAR) ###human: what is the resale when the down (up to kbit/s) is 24000? ###assistant: SELECT resale FROM table_name_41 WHERE down__up_to_kbit_s_ = 24000
###context:CREATE TABLE table_name_73 (down__up_to_kbit_s_ INTEGER, provider VARCHAR, up__up_to_kbit_s_ VARCHAR) ###human: What is the average down (up to kbit/s) when the provider is willy.tel and the up (kbit/s) is more than 1984? ###assistant: SELECT AVG(down__up_to_kbit_s_) FROM table_name_73 WHERE provider = "willy.tel" AND up__up_to_kbit_s_ > 1984
###context:CREATE TABLE table_name_62 (total VARCHAR, gold VARCHAR, bronze VARCHAR) ###human: How many totals have a Gold larger than 0, and a Bronze smaller than 0? ###assistant: SELECT COUNT(total) FROM table_name_62 WHERE gold > 0 AND bronze < 0
###context:CREATE TABLE table_name_57 (total INTEGER, bronze VARCHAR, gold VARCHAR) ###human: Which Total has a Bronze larger than 1, and a Gold larger than 0? ###assistant: SELECT MAX(total) FROM table_name_57 WHERE bronze > 1 AND gold > 0
###context:CREATE TABLE table_name_22 (nationality VARCHAR, player VARCHAR) ###human: What country is Eugene McDowell from? ###assistant: SELECT nationality FROM table_name_22 WHERE player = "eugene mcdowell"
###context:CREATE TABLE table_name_75 (pick INTEGER, player VARCHAR, round VARCHAR) ###human: When was Mario Elie picked in a round before 7? ###assistant: SELECT MAX(pick) FROM table_name_75 WHERE player = "mario elie" AND round < 7
###context:CREATE TABLE table_name_99 (round VARCHAR, school_club_team VARCHAR, pick VARCHAR) ###human: In what round did someone from North Carolina State get picked larger than 91? ###assistant: SELECT COUNT(round) FROM table_name_99 WHERE school_club_team = "north carolina state" AND pick > 91
###context:CREATE TABLE table_name_32 (results VARCHAR, category VARCHAR) ###human: Which Results have a Category of the best new actor in lead role(female)? ###assistant: SELECT results FROM table_name_32 WHERE category = "best new actor in lead role(female)"
###context:CREATE TABLE table_name_72 (category VARCHAR, year VARCHAR) ###human: What was the category in 2008? ###assistant: SELECT category FROM table_name_72 WHERE year = 2008
###context:CREATE TABLE table_name_68 (character VARCHAR, category VARCHAR) ###human: Which Character has a Category of favourite naya sadasya? ###assistant: SELECT character FROM table_name_68 WHERE category = "favourite naya sadasya"
###context:CREATE TABLE table_name_77 (show VARCHAR, award VARCHAR) ###human: Which Show has an Award of indian television academy awards? ###assistant: SELECT show FROM table_name_77 WHERE award = "indian television academy awards"
###context:CREATE TABLE table_name_77 (award VARCHAR, year INTEGER) ###human: What award was won after 2008? ###assistant: SELECT award FROM table_name_77 WHERE year > 2008
###context:CREATE TABLE table_name_73 (date VARCHAR, injured VARCHAR) ###human: On what Date did the massacre result with 21 Injured? ###assistant: SELECT date FROM table_name_73 WHERE injured = "21"
###context:CREATE TABLE table_name_20 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR) ###human: What is City / State, when Winner is "Rohan Onslow", and when Circuit is "Oran Park Raceway"? ###assistant: SELECT city___state FROM table_name_20 WHERE winner = "rohan onslow" AND circuit = "oran park raceway"
###context:CREATE TABLE table_name_92 (winner VARCHAR, city___state VARCHAR, team VARCHAR) ###human: What is Winner, when City / State is "Mallala , South Australia", and when Team is "Elfin Sports Cars"? ###assistant: SELECT winner FROM table_name_92 WHERE city___state = "mallala , south australia" AND team = "elfin sports cars"
###context:CREATE TABLE table_name_54 (circuit VARCHAR, team VARCHAR, city___state VARCHAR) ###human: What is Circuit, when Team is "R.J.MacArthur Onslow", and when City / State is "Sydney , New South Wales"? ###assistant: SELECT circuit FROM table_name_54 WHERE team = "r.j.macarthur onslow" AND city___state = "sydney , new south wales"
###context:CREATE TABLE table_name_29 (winner VARCHAR, team VARCHAR, circuit VARCHAR) ###human: What is Winner, when Team is "R.J.MacArthur Onslow", and when Circuit is "Oran Park Raceway"? ###assistant: SELECT winner FROM table_name_29 WHERE team = "r.j.macarthur onslow" AND circuit = "oran park raceway"
###context:CREATE TABLE table_name_19 (date VARCHAR, city___state VARCHAR, team VARCHAR) ###human: What is Date, when City / State is "Mallala , South Australia", and when Team is "R.J.MacArthur Onslow"? ###assistant: SELECT date FROM table_name_19 WHERE city___state = "mallala , south australia" AND team = "r.j.macarthur onslow"
###context:CREATE TABLE table_name_50 (winner VARCHAR, date VARCHAR) ###human: What is Winner, when Date is "20 August"? ###assistant: SELECT winner FROM table_name_50 WHERE date = "20 august"
###context:CREATE TABLE table_name_45 (actor VARCHAR, result VARCHAR, category VARCHAR) ###human: What actor was nominated for best actress? ###assistant: SELECT actor FROM table_name_45 WHERE result = "nominated" AND category = "best actress"
###context:CREATE TABLE table_name_80 (year VARCHAR, actor VARCHAR, film VARCHAR, category VARCHAR) ###human: What year was Jennifer Tilly's Film of Bullets Over Broadway up in the best supporting actress category? ###assistant: SELECT year FROM table_name_80 WHERE film = "bullets over broadway" AND category = "best supporting actress" AND actor = "jennifer tilly"
###context:CREATE TABLE table_name_78 (result VARCHAR, actor VARCHAR, year VARCHAR, category VARCHAR) ###human: What is the result of Samantha Morton being up for best supporting actress in a year later than 1989? ###assistant: SELECT result FROM table_name_78 WHERE year > 1989 AND category = "best supporting actress" AND actor = "samantha morton"
###context:CREATE TABLE table_name_56 (film VARCHAR, actor VARCHAR) ###human: What film was Dianne Wiest in? ###assistant: SELECT film FROM table_name_56 WHERE actor = "dianne wiest"
###context:CREATE TABLE table_name_84 (class VARCHAR, quantity VARCHAR, number_s_ VARCHAR) ###human: Which class has fewer than 10 and number(s) names? ###assistant: SELECT class FROM table_name_84 WHERE quantity < 10 AND number_s_ = "names"
###context:CREATE TABLE table_name_88 (type VARCHAR, quantity VARCHAR, number_s_ VARCHAR) ###human: What is the type with a quantity of fewer than 6 and number(s) 5201? ###assistant: SELECT type FROM table_name_88 WHERE quantity < 6 AND number_s_ = "5201"
###context:CREATE TABLE table_name_13 (byes INTEGER, against INTEGER) ###human: How many byes were then when there were less than 737 against? ###assistant: SELECT SUM(byes) FROM table_name_13 WHERE against < 737
###context:CREATE TABLE table_name_27 (wins VARCHAR, byes INTEGER) ###human: How many wins were there when the byes were more than 3? ###assistant: SELECT COUNT(wins) FROM table_name_27 WHERE byes > 3
###context:CREATE TABLE table_name_5 (wins INTEGER, draws INTEGER) ###human: How many wins were there when draws were more than 0? ###assistant: SELECT MIN(wins) FROM table_name_5 WHERE draws > 0
###context:CREATE TABLE table_name_93 (wins VARCHAR, glenelg_fl VARCHAR, byes VARCHAR) ###human: How many wins did Glenelg FL of bahgallah have when there were more than 3 byes? ###assistant: SELECT COUNT(wins) FROM table_name_93 WHERE glenelg_fl = "bahgallah" AND byes > 3
###context:CREATE TABLE table_name_64 (date VARCHAR, opponent_in_final VARCHAR) ###human: What is Date, when Opponent in Final is "Guy Forget"? ###assistant: SELECT date FROM table_name_64 WHERE opponent_in_final = "guy forget"
###context:CREATE TABLE table_name_12 (opponent_in_final VARCHAR, date VARCHAR) ###human: What is Opponent in Final, when Date is "13 January 1992"? ###assistant: SELECT opponent_in_final FROM table_name_12 WHERE date = "13 january 1992"
###context:CREATE TABLE table_name_31 (opponent_in_final VARCHAR, surface VARCHAR, date VARCHAR) ###human: What is Opponent in Final, when Surface is "Hard", and when Date is "13 January 1992"? ###assistant: SELECT opponent_in_final FROM table_name_31 WHERE surface = "hard" AND date = "13 january 1992"
###context:CREATE TABLE table_name_23 (height VARCHAR, date_of_birth VARCHAR) ###human: What is the Height of the Player with a Date of Birth of 1979-06-12? ###assistant: SELECT height FROM table_name_23 WHERE date_of_birth = "1979-06-12"
###context:CREATE TABLE table_name_19 (height VARCHAR, date_of_birth VARCHAR) ###human: What is the Height of the Player with a Date of Birth of 1982-07-05? ###assistant: SELECT height FROM table_name_19 WHERE date_of_birth = "1982-07-05"
###context:CREATE TABLE table_name_38 (height VARCHAR, date_of_birth VARCHAR) ###human: What is the Height of the Player with a Date of Birth of 1982-07-05? ###assistant: SELECT height FROM table_name_38 WHERE date_of_birth = "1982-07-05"
###context:CREATE TABLE table_name_54 (weight VARCHAR, date_of_birth VARCHAR) ###human: What is the Weight of the Player with a Date of Birth of 1979-09-26? ###assistant: SELECT weight FROM table_name_54 WHERE date_of_birth = "1979-09-26"
###context:CREATE TABLE table_name_41 (pos VARCHAR, name VARCHAR) ###human: What is Elise Norwood's Pos.? ###assistant: SELECT pos FROM table_name_41 WHERE name = "elise norwood"
###context:CREATE TABLE table_name_61 (club VARCHAR, date_of_birth VARCHAR) ###human: What is the Club of the Player with a Date of Birth of 1977-02-03? ###assistant: SELECT club FROM table_name_61 WHERE date_of_birth = "1977-02-03"
###context:CREATE TABLE table_name_69 (home VARCHAR, away VARCHAR) ###human: What home has 1-5 as the away? ###assistant: SELECT home FROM table_name_69 WHERE away = "1-5"
###context:CREATE TABLE table_name_18 (league VARCHAR, away VARCHAR) ###human: What league has 2-3 as the away? ###assistant: SELECT league FROM table_name_18 WHERE away = "2-3"
###context:CREATE TABLE table_name_82 (away VARCHAR, home VARCHAR) ###human: What away has 1-4 as the home? ###assistant: SELECT away FROM table_name_82 WHERE home = "1-4"
###context:CREATE TABLE table_name_96 (teams VARCHAR, away VARCHAR) ###human: What teams has 1-5 as the away? ###assistant: SELECT teams FROM table_name_96 WHERE away = "1-5"
###context:CREATE TABLE table_name_28 (date VARCHAR, series VARCHAR) ###human: What Date had a Series of ATCC Round 6? ###assistant: SELECT date FROM table_name_28 WHERE series = "atcc round 6"
###context:CREATE TABLE table_name_96 (winner VARCHAR, circuit VARCHAR, series VARCHAR) ###human: Who was the Winner in the AMC Round 4 at Lakeside International Raceway? ###assistant: SELECT winner FROM table_name_96 WHERE circuit = "lakeside international raceway" AND series = "amc round 4"
###context:CREATE TABLE table_name_98 (week_15__final__dec_9 VARCHAR, week_9_oct_29 VARCHAR) ###human: What is the week 15 result for the team that had a week 9 result of Washington (6-1)? ###assistant: SELECT week_15__final__dec_9 FROM table_name_98 WHERE week_9_oct_29 = "washington (6-1)"
###context:CREATE TABLE table_name_71 (week_10_nov_5 VARCHAR, week_15__final__dec_9 VARCHAR) ###human: What is the week 10 result for the tean when the week 15 result is Illinois (10-1)? ###assistant: SELECT week_10_nov_5 FROM table_name_71 WHERE week_15__final__dec_9 = "illinois (10-1)"
###context:CREATE TABLE table_name_13 (week_10_nov_5 VARCHAR, week_9_oct_29 VARCHAR) ###human: What is the week 10 result where the week 9 result was Dropped: Maryland South Carolina? ###assistant: SELECT week_10_nov_5 FROM table_name_13 WHERE week_9_oct_29 = "dropped: maryland south carolina"
###context:CREATE TABLE table_name_18 (week_13_nov_26 VARCHAR, week_14_dec_3 VARCHAR) ###human: What is the week 13 result where the week 14 resulted in Maryland (10-1)? ###assistant: SELECT week_13_nov_26 FROM table_name_18 WHERE week_14_dec_3 = "maryland (10-1)"
###context:CREATE TABLE table_name_17 (week_14_dec_3 VARCHAR, week_11_nov_12 VARCHAR) ###human: What happened in week 14 when week 11's result was Michigan (7-2)? ###assistant: SELECT week_14_dec_3 FROM table_name_17 WHERE week_11_nov_12 = "michigan (7-2)"
###context:CREATE TABLE table_name_20 (week_12_nov_19 VARCHAR, week_13_nov_26 VARCHAR) ###human: What happened in week 12 when week 13 resulted in Tennessee (9-1)? ###assistant: SELECT week_12_nov_19 FROM table_name_20 WHERE week_13_nov_26 = "tennessee (9-1)"
###context:CREATE TABLE table_name_16 (bronze INTEGER, total VARCHAR, gold VARCHAR) ###human: What is the fewest bronze medals when the total medals is less than 10, and the gold medals less than 0? ###assistant: SELECT MIN(bronze) FROM table_name_16 WHERE total < 10 AND gold < 0
###context:CREATE TABLE table_name_34 (bronze INTEGER, rank VARCHAR, total VARCHAR) ###human: With 8 as the rank, and a total of more than 2 medals what is the average bronze medals? ###assistant: SELECT AVG(bronze) FROM table_name_34 WHERE rank = "8" AND total > 2
###context:CREATE TABLE table_name_64 (total INTEGER, rank VARCHAR) ###human: What is the maximum total medals when the rank is 8? ###assistant: SELECT MAX(total) FROM table_name_64 WHERE rank = "8"
###context:CREATE TABLE table_name_25 (gold INTEGER, total VARCHAR, bronze VARCHAR, silver VARCHAR) ###human: What is the largest number of gold medals when the bronze medals is less than 49, and there is 22 silver medals, and the total is less than 60? ###assistant: SELECT MAX(gold) FROM table_name_25 WHERE bronze < 49 AND silver = 22 AND total < 60
###context:CREATE TABLE table_name_89 (bronze INTEGER, rank VARCHAR, gold VARCHAR) ###human: When the number of gold medals is greater than 59, and the rank is total, what is the average bronze medals? ###assistant: SELECT AVG(bronze) FROM table_name_89 WHERE rank = "total" AND gold > 59
###context:CREATE TABLE table_name_78 (total INTEGER, silver INTEGER) ###human: What is the smallest number of medals a country with more than 14 silver has? ###assistant: SELECT MIN(total) FROM table_name_78 WHERE silver > 14
###context:CREATE TABLE table_name_67 (rank INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR) ###human: What is the rank of a country with more than 2 gold, less than 5 silver, and less than 31 total medals? ###assistant: SELECT SUM(rank) FROM table_name_67 WHERE gold > 2 AND total < 31 AND silver < 5
###context:CREATE TABLE table_name_60 (score VARCHAR, place VARCHAR, player VARCHAR) ###human: WHat was the score for Phil Mickelson when he placed t3? ###assistant: SELECT score FROM table_name_60 WHERE place = "t3" AND player = "phil mickelson"
###context:CREATE TABLE table_name_72 (place VARCHAR, country VARCHAR) ###human: What place did the golfer take whose country is South Africa? ###assistant: SELECT place FROM table_name_72 WHERE country = "south africa"
###context:CREATE TABLE table_name_95 (result VARCHAR, game_site VARCHAR) ###human: What was the result of the game played at Jeppesen Stadium? ###assistant: SELECT result FROM table_name_95 WHERE game_site = "jeppesen stadium"
###context:CREATE TABLE table_name_71 (week INTEGER, date VARCHAR, attendance VARCHAR) ###human: What week was the game played on November 12, 1961, with an attendance of 7,859 played? ###assistant: SELECT MIN(week) FROM table_name_71 WHERE date = "november 12, 1961" AND attendance < 7 OFFSET 859
###context:CREATE TABLE table_name_92 (decade VARCHAR, artist VARCHAR) ###human: What decade is the artist the replacements? ###assistant: SELECT decade FROM table_name_92 WHERE artist = "the replacements"
###context:CREATE TABLE table_name_76 (number_of_households INTEGER, median_family_income VARCHAR, population VARCHAR) ###human: What is the number of households in the county with median income of $65,240 and population greater than 744,344? ###assistant: SELECT SUM(number_of_households) FROM table_name_76 WHERE median_family_income = "$65,240" AND population > 744 OFFSET 344
###context:CREATE TABLE table_name_93 (population VARCHAR, county VARCHAR) ###human: What is the population of Tioga county? ###assistant: SELECT population FROM table_name_93 WHERE county = "tioga"
###context:CREATE TABLE table_name_7 (constructor VARCHAR, laps VARCHAR, grid VARCHAR) ###human: Which Constructor has Laps larger than 9, and a Grid smaller than 2? ###assistant: SELECT constructor FROM table_name_7 WHERE laps > 9 AND grid < 2
###context:CREATE TABLE table_name_54 (height VARCHAR, player VARCHAR) ###human: What's filiberto rivera's height? ###assistant: SELECT COUNT(height) FROM table_name_54 WHERE player = "filiberto rivera"
###context:CREATE TABLE table_name_86 (player VARCHAR, position VARCHAR) ###human: Who has a position of sg? ###assistant: SELECT player FROM table_name_86 WHERE position = "sg"