training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_name_99 (against VARCHAR, result VARCHAR) ###human: Who was played against with a result of 3–6, 2–6? ###assistant: SELECT against FROM table_name_99 WHERE result = "3–6, 2–6"
###context:CREATE TABLE table_name_92 (year INTEGER, venue VARCHAR) ###human: Name the least year for paris, france venue ###assistant: SELECT MIN(year) FROM table_name_92 WHERE venue = "paris, france"
###context:CREATE TABLE table_name_72 (pick INTEGER, school VARCHAR) ###human: What's the total number of picks for mckinney high school? ###assistant: SELECT SUM(pick) FROM table_name_72 WHERE school = "mckinney high school"
###context:CREATE TABLE table_name_31 (pick INTEGER, player VARCHAR) ###human: What was the highest pick for the player Adam Jones? ###assistant: SELECT MAX(pick) FROM table_name_31 WHERE player = "adam jones"
###context:CREATE TABLE table_name_25 (pick INTEGER, player VARCHAR) ###human: What's the total number of picks for the player Matt Murton? ###assistant: SELECT SUM(pick) FROM table_name_25 WHERE player = "matt murton"
###context:CREATE TABLE table_name_86 (position VARCHAR, pick VARCHAR) ###human: What position was pick 32? ###assistant: SELECT position FROM table_name_86 WHERE pick = 32
###context:CREATE TABLE table_name_49 (winner VARCHAR, circuit VARCHAR) ###human: Who won at the Barbagallo Raceway circuit? ###assistant: SELECT winner FROM table_name_49 WHERE circuit = "barbagallo raceway"
###context:CREATE TABLE table_name_72 (race_title VARCHAR, circuit VARCHAR) ###human: What was the title of the race at Oran Park Raceway? ###assistant: SELECT race_title FROM table_name_72 WHERE circuit = "oran park raceway"
###context:CREATE TABLE table_name_17 (winner VARCHAR, circuit VARCHAR) ###human: Who won at the Oran Park Raceway? ###assistant: SELECT winner FROM table_name_17 WHERE circuit = "oran park raceway"
###context:CREATE TABLE table_name_70 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR) ###human: When Jim Richards won at the Winton Motor Raceway circuit, what was the city and state listed? ###assistant: SELECT city___state FROM table_name_70 WHERE winner = "jim richards" AND circuit = "winton motor raceway"
###context:CREATE TABLE table_name_83 (capacity__thousands_of_metric_tons_ VARCHAR, operator VARCHAR) ###human: What is the capacity of the mine that is operated by Cyprus Amax minerals? ###assistant: SELECT capacity__thousands_of_metric_tons_ FROM table_name_83 WHERE operator = "cyprus amax minerals"
###context:CREATE TABLE table_name_56 (rank VARCHAR, county VARCHAR, mine VARCHAR) ###human: What rank is the Silver Bell mine of Pima county? ###assistant: SELECT rank FROM table_name_56 WHERE county = "pima" AND mine = "silver bell"
###context:CREATE TABLE table_name_67 (capacity__thousands_of_metric_tons_ VARCHAR, county VARCHAR, mine VARCHAR) ###human: What is the capacity of the Pinto Valley mine in Gila county? ###assistant: SELECT capacity__thousands_of_metric_tons_ FROM table_name_67 WHERE county = "gila" AND mine = "pinto valley"
###context:CREATE TABLE table_name_31 (agg VARCHAR) ###human: What is the first leg with an agg of 10-2? ###assistant: SELECT 1 AS st_leg FROM table_name_31 WHERE agg = "10-2"
###context:CREATE TABLE table_name_38 (agg VARCHAR, team_2 VARCHAR) ###human: What is the agg of team 2 for Vantour Club Mangoungou? ###assistant: SELECT agg FROM table_name_38 WHERE team_2 = "vantour club mangoungou"
###context:CREATE TABLE table_name_19 (team_1 VARCHAR) ###human: What is the first leg of team 1 for Hardware stars? ###assistant: SELECT 1 AS st_leg FROM table_name_19 WHERE team_1 = "hardware stars"
###context:CREATE TABLE table_name_58 (date VARCHAR, opponent VARCHAR, ground VARCHAR) ###human: On what date was the game played at home against the opponent Siena? ###assistant: SELECT date FROM table_name_58 WHERE opponent = "siena" AND ground = "home"
###context:CREATE TABLE table_name_32 (time VARCHAR, opponent VARCHAR, round VARCHAR) ###human: What time was the game played against Cagliari that lasted 16 rounds? ###assistant: SELECT time FROM table_name_32 WHERE opponent = "cagliari" AND round = "16"
###context:CREATE TABLE table_name_7 (ground VARCHAR, score VARCHAR, time VARCHAR) ###human: Where was the game played that had a score of 3-2 and a time of 15:00 cet? ###assistant: SELECT ground FROM table_name_7 WHERE score = "3-2" AND time = "15:00 cet"
###context:CREATE TABLE table_name_49 (score VARCHAR, date VARCHAR) ###human: What was the score on April 18? ###assistant: SELECT score FROM table_name_49 WHERE date = "april 18"
###context:CREATE TABLE table_name_77 (attendance VARCHAR, loss VARCHAR) ###human: What was the attendance when Nakamura (0-1) lost? ###assistant: SELECT attendance FROM table_name_77 WHERE loss = "nakamura (0-1)"
###context:CREATE TABLE table_name_6 (record VARCHAR, loss VARCHAR) ###human: What was their record when they lost with Lilly (0-1) pitching? ###assistant: SELECT record FROM table_name_6 WHERE loss = "lilly (0-1)"
###context:CREATE TABLE table_name_51 (record VARCHAR, attendance VARCHAR) ###human: What was their record when the attendance was 26,827? ###assistant: SELECT record FROM table_name_51 WHERE attendance = "26,827"
###context:CREATE TABLE table_name_76 (december VARCHAR, february VARCHAR) ###human: Who is the December playmate with a February playmate Anne-Marie Fox? ###assistant: SELECT december FROM table_name_76 WHERE february = "anne-marie fox"
###context:CREATE TABLE table_name_51 (august VARCHAR, october VARCHAR) ###human: Who is the August playmate with the October playmate Shannon Long? ###assistant: SELECT august FROM table_name_51 WHERE october = "shannon long"
###context:CREATE TABLE table_name_72 (december VARCHAR, november VARCHAR) ###human: Who is the December playmate with a November playmate Marlene Janssen? ###assistant: SELECT december FROM table_name_72 WHERE november = "marlene janssen"
###context:CREATE TABLE table_name_66 (november VARCHAR, july VARCHAR) ###human: Who is the November playmate with the July playmate Hope Marie Carlton? ###assistant: SELECT november FROM table_name_66 WHERE july = "hope marie carlton"
###context:CREATE TABLE table_name_53 (march VARCHAR, august VARCHAR) ###human: Who is the March playmate with an August playmate Gianna Amore? ###assistant: SELECT march FROM table_name_53 WHERE august = "gianna amore"
###context:CREATE TABLE table_name_66 (january VARCHAR, november VARCHAR) ###human: Who is the January playmate with the November playmate Donna Edmondson? ###assistant: SELECT january FROM table_name_66 WHERE november = "donna edmondson"
###context:CREATE TABLE table_name_10 (stadium VARCHAR, host_team VARCHAR) ###human: What is the home stadium of the Tennessee Titans? ###assistant: SELECT stadium FROM table_name_10 WHERE host_team = "tennessee titans"
###context:CREATE TABLE table_name_29 (week INTEGER, visiting_team VARCHAR) ###human: When were the Houston Texans the visiting team later in the season? ###assistant: SELECT MAX(week) FROM table_name_29 WHERE visiting_team = "houston texans"
###context:CREATE TABLE table_name_18 (date VARCHAR, final_score VARCHAR) ###human: The final score was 24-34 on what date? ###assistant: SELECT date FROM table_name_18 WHERE final_score = "24-34"
###context:CREATE TABLE table_name_24 (gold INTEGER, silver VARCHAR, total VARCHAR) ###human: What is the total number of gold medals won by nations that won 2 silver medals but fewer than 7 in total? ###assistant: SELECT SUM(gold) FROM table_name_24 WHERE silver = 2 AND total < 7
###context:CREATE TABLE table_name_26 (total INTEGER, bronze VARCHAR, gold VARCHAR) ###human: What is the total number of medals won by nations that had 7 bronze medals and more than 18 gold medals? ###assistant: SELECT SUM(total) FROM table_name_26 WHERE bronze = 7 AND gold > 18
###context:CREATE TABLE table_name_47 (gold INTEGER, bronze VARCHAR, silver VARCHAR, rank VARCHAR) ###human: What nation with Rank 1 won the fewest gold medals while winning more than 11 silver but fewer than 7 bronze medals? ###assistant: SELECT MIN(gold) FROM table_name_47 WHERE silver > 11 AND rank = "1" AND bronze < 7
###context:CREATE TABLE table_name_43 (total INTEGER, bronze VARCHAR, silver VARCHAR) ###human: What is the highest total medals won by a nation that had 7 bronze but more than 12 silver medals? ###assistant: SELECT MAX(total) FROM table_name_43 WHERE bronze = 7 AND silver > 12
###context:CREATE TABLE table_name_4 (gold INTEGER, bronze VARCHAR, total VARCHAR, rank VARCHAR) ###human: What nation won the fewest gold medals while being in Rank 1, with a total of 37 medals and more than 7 bronze medals? ###assistant: SELECT MIN(gold) FROM table_name_4 WHERE total = 37 AND rank = "1" AND bronze > 7
###context:CREATE TABLE table_name_84 (score VARCHAR, opponent VARCHAR) ###human: Name the score for yuliya ustyuzhanina ###assistant: SELECT score FROM table_name_84 WHERE opponent = "yuliya ustyuzhanina"
###context:CREATE TABLE table_name_84 (date VARCHAR, surface VARCHAR, tournament VARCHAR) ###human: Name the date for hard surface and tournament of fort walton beach ###assistant: SELECT date FROM table_name_84 WHERE surface = "hard" AND tournament = "fort walton beach"
###context:CREATE TABLE table_name_7 (opponent VARCHAR, score VARCHAR) ###human: Name the opponent with score of 1–6, 6–4, 6–4 ###assistant: SELECT opponent FROM table_name_7 WHERE score = "1–6, 6–4, 6–4"
###context:CREATE TABLE table_name_43 (score VARCHAR, date VARCHAR, opponent VARCHAR) ###human: Name the score for 10 april 2007 and opponent of selima sfar ###assistant: SELECT score FROM table_name_43 WHERE date = "10 april 2007" AND opponent = "selima sfar"
###context:CREATE TABLE table_name_34 (runners VARCHAR, placing INTEGER) ###human: How many runners had placings over 8? ###assistant: SELECT COUNT(runners) FROM table_name_34 WHERE placing > 8
###context:CREATE TABLE table_name_22 (course VARCHAR, jockey VARCHAR) ###human: Which course had a jockey of Royston FFrench? ###assistant: SELECT course FROM table_name_22 WHERE jockey = "royston ffrench"
###context:CREATE TABLE table_name_33 (prize__ INTEGER, race VARCHAR) ###human: What is the average prize for the Buttercross Limited Stakes? ###assistant: SELECT AVG(prize__) AS Β£k_ FROM table_name_33 WHERE race = "buttercross limited stakes"
###context:CREATE TABLE table_name_81 (runners INTEGER, jockey VARCHAR, placing VARCHAR) ###human: How many total runners had jockeys of Olivier Peslier with placings under 2? ###assistant: SELECT SUM(runners) FROM table_name_81 WHERE jockey = "olivier peslier" AND placing < 2
###context:CREATE TABLE table_name_71 (games VARCHAR, marks VARCHAR) ###human: Name the games with marks of 21 ###assistant: SELECT games FROM table_name_71 WHERE marks = "21"
###context:CREATE TABLE table_name_40 (kicks VARCHAR, goals VARCHAR) ###human: Name the kicks with goals of 1 ###assistant: SELECT kicks FROM table_name_40 WHERE goals = "1"
###context:CREATE TABLE table_name_65 (goals VARCHAR, games VARCHAR) ###human: Name the goals with games of 6 ###assistant: SELECT goals FROM table_name_65 WHERE games = "6"
###context:CREATE TABLE table_name_35 (date VARCHAR, final_score VARCHAR) ###human: What game had the date was it with the final score of 7-23 ###assistant: SELECT date FROM table_name_35 WHERE final_score = "7-23"
###context:CREATE TABLE table_name_74 (final_score VARCHAR, stadium VARCHAR) ###human: What was the final score of the game at the astrodome? ###assistant: SELECT final_score FROM table_name_74 WHERE stadium = "astrodome"
###context:CREATE TABLE table_name_99 (final_score VARCHAR, date VARCHAR) ###human: What was the final score for the date of December 30? ###assistant: SELECT final_score FROM table_name_99 WHERE date = "december 30"
###context:CREATE TABLE table_name_90 (visiting_team VARCHAR, stadium VARCHAR) ###human: What was the name of the Visiting team at Jack Murphy Stadium? ###assistant: SELECT visiting_team FROM table_name_90 WHERE stadium = "jack murphy stadium"
###context:CREATE TABLE table_name_1 (host_team VARCHAR, stadium VARCHAR) ###human: What was the name of the host team at Texas stadium? ###assistant: SELECT host_team FROM table_name_1 WHERE stadium = "texas stadium"
###context:CREATE TABLE table_name_39 (host_team VARCHAR, date VARCHAR) ###human: What was the name of the host team dated December 16? ###assistant: SELECT host_team FROM table_name_39 WHERE date = "december 16"
###context:CREATE TABLE table_name_21 (team VARCHAR, year INTEGER) ###human: Are there any Teams after 1997? ###assistant: SELECT team FROM table_name_21 WHERE year > 1997
###context:CREATE TABLE table_name_85 (class VARCHAR, laps INTEGER) ###human: Which class has laps under 77? ###assistant: SELECT class FROM table_name_85 WHERE laps < 77
###context:CREATE TABLE table_name_48 (boarded VARCHAR, class VARCHAR) ###human: Who boarded first class? ###assistant: SELECT boarded FROM table_name_48 WHERE class = "first"
###context:CREATE TABLE table_name_80 (attendance INTEGER, away_fans VARCHAR, opponent VARCHAR) ###human: What was the lowest attendance at a game when there were fewer than 151 away fans and an opponent of Bury? ###assistant: SELECT MIN(attendance) FROM table_name_80 WHERE away_fans < 151 AND opponent = "bury"
###context:CREATE TABLE table_name_15 (points INTEGER, year VARCHAR, chassis VARCHAR) ###human: What are the lowest number of points with a Year of 1978, and a Chassis of ensign n177? ###assistant: SELECT MIN(points) FROM table_name_15 WHERE year = 1978 AND chassis = "ensign n177"
###context:CREATE TABLE table_name_8 (points INTEGER, entrant VARCHAR) ###human: What are the highest number of points with an Entrant of warsteiner brewery? ###assistant: SELECT MAX(points) FROM table_name_8 WHERE entrant = "warsteiner brewery"
###context:CREATE TABLE table_name_68 (d_43 VARCHAR, d_46 VARCHAR) ###human: What is the D 43 when D 46 is R 6? ###assistant: SELECT d_43 FROM table_name_68 WHERE d_46 = "r 6"
###context:CREATE TABLE table_name_64 (d_44 VARCHAR, d_43 VARCHAR) ###human: What is the D44 when D43 is R 14? ###assistant: SELECT d_44 FROM table_name_64 WHERE d_43 = "r 14"
###context:CREATE TABLE table_name_27 (d_48 VARCHAR, d_43 VARCHAR) ###human: What is the D48 when D 43 is plurality ↑?? ###assistant: SELECT d_48 FROM table_name_27 WHERE d_43 = "plurality ↑"
###context:CREATE TABLE table_name_70 (d_44 VARCHAR, d_41 VARCHAR) ###human: What is the D44 when D41 is D 16? ###assistant: SELECT d_44 FROM table_name_70 WHERE d_41 = "d 16"
###context:CREATE TABLE table_name_95 (gender VARCHAR, decile VARCHAR, area VARCHAR) ###human: What gender is the team that has a decile of 5 and in the Dalefield area? ###assistant: SELECT gender FROM table_name_95 WHERE decile = 5 AND area = "dalefield"
###context:CREATE TABLE table_name_61 (name VARCHAR, roll VARCHAR, area VARCHAR) ###human: What school in Dalefield has a roll less than 81? ###assistant: SELECT name FROM table_name_61 WHERE roll < 81 AND area = "dalefield"
###context:CREATE TABLE table_name_22 (height__m_ INTEGER, island VARCHAR) ###human: What is the lowest Height (m) on the island of Burray? ###assistant: SELECT MIN(height__m_) FROM table_name_22 WHERE island = "burray"
###context:CREATE TABLE table_name_99 (group VARCHAR, island VARCHAR, height__m_ VARCHAR, population VARCHAR) ###human: What group on the island of Faray has a Height (m) of 32 and a Population of 0? ###assistant: SELECT group FROM table_name_99 WHERE height__m_ = 32 AND population = "0" AND island = "faray"
###context:CREATE TABLE table_name_23 (group VARCHAR, population VARCHAR) ###human: What group has a Population of see hoy? ###assistant: SELECT group FROM table_name_23 WHERE population = "see hoy"
###context:CREATE TABLE table_name_49 (group VARCHAR, population VARCHAR, island VARCHAR) ###human: What group on the island of Muckle Green Holm has a population of 0? ###assistant: SELECT group FROM table_name_49 WHERE population = "0" AND island = "muckle green holm"
###context:CREATE TABLE table_name_31 (area___ha__ VARCHAR, height__m_ VARCHAR, island VARCHAR) ###human: What is the area (ha) of the group on the island of Linga Holm that has a Height (m) larger than 7? ###assistant: SELECT area___ha__ FROM table_name_31 WHERE height__m_ > 7 AND island = "linga holm"
###context:CREATE TABLE table_name_30 (population VARCHAR, height__m_ VARCHAR, area___ha__ VARCHAR) ###human: What is the Population of the group that has a Height (m) of 15 and an Area (ha) of 00017 17? ###assistant: SELECT population FROM table_name_30 WHERE height__m_ = 15 AND area___ha__ = "00017 17"
###context:CREATE TABLE table_name_86 (roll VARCHAR, area VARCHAR, decile VARCHAR) ###human: What is the roll number of the school in Aramoho with a decile of 1? ###assistant: SELECT roll FROM table_name_86 WHERE area = "aramoho" AND decile = 1
###context:CREATE TABLE table_name_54 (area VARCHAR, name VARCHAR) ###human: What is the area of Mangamahu primary school? ###assistant: SELECT area FROM table_name_54 WHERE name = "mangamahu primary school"
###context:CREATE TABLE table_name_17 (area VARCHAR, roll VARCHAR, authority VARCHAR, gender VARCHAR) ###human: What is the area of the coed school with a state authority and a roll number of 122? ###assistant: SELECT area FROM table_name_17 WHERE authority = "state" AND gender = "coed" AND roll = 122
###context:CREATE TABLE table_name_18 (result___category VARCHAR, year INTEGER) ###human: Which result is older than 2007? ###assistant: SELECT result___category FROM table_name_18 WHERE year < 2007
###context:CREATE TABLE table_name_39 (year INTEGER, album___song VARCHAR) ###human: What year was the Album/Song Speaking louder than before? ###assistant: SELECT SUM(year) FROM table_name_39 WHERE album___song = "speaking louder than before"
###context:CREATE TABLE table_name_19 (year INTEGER, album___song VARCHAR) ###human: What is the most recent year with the Album/Song "the best worst-case scenario"? ###assistant: SELECT MAX(year) FROM table_name_19 WHERE album___song = "the best worst-case scenario"
###context:CREATE TABLE table_name_23 (score VARCHAR, surface VARCHAR, partner VARCHAR) ###human: What was the score of the final in which Melanie South played with partner Remi Tezuka on a clay surface? ###assistant: SELECT score FROM table_name_23 WHERE surface = "clay" AND partner = "remi tezuka"
###context:CREATE TABLE table_name_59 (score VARCHAR, partner VARCHAR, tournament VARCHAR) ###human: What was the score of the final in which Melanie South played with partner Ksenia Lykina during the Kurume Cup tournament? ###assistant: SELECT score FROM table_name_59 WHERE partner = "ksenia lykina" AND tournament = "kurume"
###context:CREATE TABLE table_name_27 (score VARCHAR, partner VARCHAR) ###human: What was the score of the final in which Melanie South played with partner Katie O'Brien? ###assistant: SELECT score FROM table_name_27 WHERE partner = "katie o'brien"
###context:CREATE TABLE table_name_82 (outcome VARCHAR, tournament VARCHAR) ###human: What was the outcome of the tournament in Edinburgh? ###assistant: SELECT outcome FROM table_name_82 WHERE tournament = "edinburgh"
###context:CREATE TABLE table_name_66 (decile INTEGER, authority VARCHAR, name VARCHAR) ###human: What is the total decile with an Authority of state, and a Name of newfield park school? ###assistant: SELECT SUM(decile) FROM table_name_66 WHERE authority = "state" AND name = "newfield park school"
###context:CREATE TABLE table_name_47 (decile INTEGER, area VARCHAR, authority VARCHAR, roll VARCHAR, gender VARCHAR) ###human: What is the largest decile with a Roll larger than 34, a Gender of coed, and an Authority of state integrated, and an Area of georgetown? ###assistant: SELECT MAX(decile) FROM table_name_47 WHERE roll > 34 AND gender = "coed" AND authority = "state integrated" AND area = "georgetown"
###context:CREATE TABLE table_name_97 (roll INTEGER, decile VARCHAR, authority VARCHAR, name VARCHAR) ###human: What is the smallest roll with an Authority of state, a Name of newfield park school, and a Decile smaller than 2? ###assistant: SELECT MIN(roll) FROM table_name_97 WHERE authority = "state" AND name = "newfield park school" AND decile < 2
###context:CREATE TABLE table_name_65 (name VARCHAR, area VARCHAR) ###human: Which name has an Area of makarewa? ###assistant: SELECT name FROM table_name_65 WHERE area = "makarewa"
###context:CREATE TABLE table_name_35 (name VARCHAR, roll VARCHAR, gender VARCHAR, decile VARCHAR) ###human: Which name has a Gender of coed, and a Decile larger than 5, and a Roll of 131? ###assistant: SELECT name FROM table_name_35 WHERE gender = "coed" AND decile > 5 AND roll = 131
###context:CREATE TABLE table_name_65 (ends INTEGER, goals INTEGER) ###human: Add up all the Ends columns that have goals smaller than 0. ###assistant: SELECT SUM(ends) FROM table_name_65 WHERE goals < 0
###context:CREATE TABLE table_name_43 (competition VARCHAR, year VARCHAR) ###human: What was the competition in 2003? ###assistant: SELECT competition FROM table_name_43 WHERE year = 2003
###context:CREATE TABLE table_name_76 (competition VARCHAR, year VARCHAR) ###human: What was the competition in 2003? ###assistant: SELECT competition FROM table_name_76 WHERE year = 2003
###context:CREATE TABLE table_name_92 (position INTEGER, points VARCHAR, draws VARCHAR) ###human: Which position has 50+12 points and fewer than 10 draws? ###assistant: SELECT MAX(position) FROM table_name_92 WHERE points = "50+12" AND draws < 10
###context:CREATE TABLE table_name_62 (position VARCHAR, goals_for VARCHAR, played VARCHAR) ###human: How many positions have goals of fewer than 40 and more than 38 played? ###assistant: SELECT COUNT(position) FROM table_name_62 WHERE goals_for < 40 AND played > 38
###context:CREATE TABLE table_name_26 (losses INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR) ###human: How many losses are there in the CD Sabadell club with a goal difference less than -2, and more than 38 played? ###assistant: SELECT SUM(losses) FROM table_name_26 WHERE goal_difference < -2 AND club = "cd sabadell" AND played > 38
###context:CREATE TABLE table_name_64 (played INTEGER, points VARCHAR, position VARCHAR, goals_for VARCHAR, draws VARCHAR) ###human: What are the average number of played with goals of less than 43, more than 9 draws, a higher position than 17 and 30-8 points? ###assistant: SELECT AVG(played) FROM table_name_64 WHERE goals_for < 43 AND draws > 9 AND position > 17 AND points = "30-8"
###context:CREATE TABLE table_name_86 (loss VARCHAR, avg_g VARCHAR, gain VARCHAR) ###human: What is the total number of losses of the player with an avg/g smaller than -3.3 and a gain larger than 126? ###assistant: SELECT COUNT(loss) FROM table_name_86 WHERE avg_g < -3.3 AND gain > 126
###context:CREATE TABLE table_name_41 (loss VARCHAR, long VARCHAR, name VARCHAR, gain VARCHAR, avg_g VARCHAR) ###human: What is the total number of losses Jackson, T., who had more than 27 gain, an avg/g smaller than 55.9, and a long less than 34, had? ###assistant: SELECT COUNT(loss) FROM table_name_41 WHERE gain > 27 AND avg_g < 55.9 AND name = "jackson, t." AND long < 34
###context:CREATE TABLE table_name_45 (long VARCHAR, name VARCHAR, avg_g VARCHAR, loss VARCHAR, gain VARCHAR) ###human: What is the total number of long Dubose, E., who had 0 losses, a gain less than 17, and an avg/g bigger than 0, had? ###assistant: SELECT COUNT(long) FROM table_name_45 WHERE loss = 0 AND gain < 17 AND avg_g > 0 AND name = "dubose, e."
###context:CREATE TABLE table_name_38 (date VARCHAR, record VARCHAR) ###human: What date was the record 20–16? ###assistant: SELECT date FROM table_name_38 WHERE record = "20–16"
###context:CREATE TABLE table_name_43 (attendance VARCHAR, opponent VARCHAR, score VARCHAR) ###human: What was the attendance in the gave versus the Brewers with a score of 9–6? ###assistant: SELECT attendance FROM table_name_43 WHERE opponent = "brewers" AND score = "9–6"
###context:CREATE TABLE table_name_90 (attendance VARCHAR, date VARCHAR) ###human: What was the attendance on May 26? ###assistant: SELECT attendance FROM table_name_90 WHERE date = "may 26"