query
stringlengths
24
325
positive
stringlengths
1
580
negative_1
stringlengths
6
580
negative_2
stringlengths
1
576
negative_3
stringlengths
1
576
negative_4
stringlengths
1
580
negative_5
stringlengths
1
580
negative_6
stringlengths
1
580
negative_7
stringlengths
5
576
negative_8
stringlengths
1
576
negative_9
stringlengths
1
580
negative_10
stringlengths
1
580
Tell the host city of the 1968 Winter Olympic Games.
host city refers to city_name; the 1968 Winter Olympic Games refer to games_name = '1968 Winter';
people who are below 30 refer to person_id where age < 30; the summer season refers to season = 'Summer';
years refer to games_year; only have summer games refer to games_year where COUNT(games_name) = 1 and season = 'Summer';
age is the most numerous refers to age where MAX(COUNT(person_id));
sport refers to sport_name; event "Shooting Women's Trap" refers to event_name = 'Shooting Women''s Trap';
name of the sport with the most events refers to sport_name where MAX(COUNT(id));
DIVIDE(COUNT(person_id where gender = 'F), COUNT(person_id)) as percentage where event_name = 'Equestrianism Mixed Three-Day Event, Individual';
At what age join the Olympics refers to MIN(age);
hockey's sport refers to sport_name = 'hockey';
city refers to city_name; 1992 Summer Olympic refers to games_name = '1992 Summer';
over the age of 59 refers to age > 59; the 2016 Summer Olympics refer to games_name = '2016 Summer';
From 1900 to 1992, how many games did London host?
From 1900 to 1992 refers to games_year BETWEEN 1900 AND 1992; London refers to city_name = 'London'; games refer to games_name;
athletes from China refer to person_id where region_name = 'China'; the 2016 Summer Olympics refer to games_name = '2016 Summer';
athletes refer to person_id; 2014 Winter Olympics refer to games_name = '2014 Winter';
DIVIDE(COUNT(id where height > 175), COUNT(id)) as percentage where region_name = 'Vanuatu';
age is the most numerous refers to age where MAX(COUNT(person_id));
names of competitors refer to full_name; from Finland refers to region_name = 'Finland';
DIVIDE(COUNT(age < 35) / COUNT(person_id)) as percentage where season = 'Summer';
the gold medal refers to medal_name = 'Gold';
24 years old competitors refer to id where age = 24; Men's Basketball refers to event_name = 'Basketball Men''s Basketball';
name refers to full_name; Greece refers to region_name = 'Greece';
fall into overweight BMI category refers to DIVIDE(weight), MULTIPLY(height, height) < 30; Canoeing refers to a sport name; the 2008 Summer games refer to games_name = '2008 Summer';
How many gold medals does Henk Jan Zwolle have?
gold medals refer to medal_name = 'Gold';
20 years old athletes refer to person_id where age = 20; 1984 Summer Olympic Games refer to games_name = '1984 Summer';
years refer to games_year; only have summer games refer to games_year where COUNT(games_name) = 1 and season = 'Summer';
events refer to event_name; football refers to sport_name = 'Football';
Where competitor is from refers to region_name;
Roma refers to city_name = 'Roma'; When host refers to games_year;
London refers to city_name = 'London';
hockey's sport refers to sport_name = 'hockey';
At what age join the Olympics refers to MIN(age);
London refers to city_name = 'London'; how many times refer to COUNT(games_id);
name of the sport with the most events refers to sport_name where MAX(COUNT(id));
Calculate the percentage of women who have participated in Equestrianism Mixed Three-Day Event, Individual.
DIVIDE(COUNT(person_id where gender = 'F), COUNT(person_id)) as percentage where event_name = 'Equestrianism Mixed Three-Day Event, Individual';
over the age of 59 refers to age > 59; the 2016 Summer Olympics refer to games_name = '2016 Summer';
name refers to full_name; the oldest refers to MAX(age);
name of city refers to city_name
From 1900 to 1992 refers to games_year BETWEEN 1900 AND 1992; London refers to city_name = 'London'; games refer to games_name;
how old was he refers to age; 1994 Winter refers to games_name = '1994 Winter';
competitors from Finland refer to id where region_name = 'Finland'; female refers to gender = 'F';
DIVIDE(SUM(age), COUNT(person_id)) where games_name = '1992 Summer';
DIVIDE(COUNT(id where region_name = 'Finland'), COUNT(id)) as percentage where games_name = '1994 Winter';
London refers to city_name = 'London'; how many times refer to COUNT(games_id);
DIVIDE(weight), MULTIPLY(height, height) where id = 147420;
How many male competitors were there who participated in 1948 Summer?
male competitors refers to id where gender = 'M'; in 1948 Summer refers to games_name = '1948 Summer';
DIVIDE(COUNT(id where region_name = 'Finland'), COUNT(id)) as percentage where games_name = '1994 Winter';
Belgian men refer to gender = 'M' where region_name = 'Belgium';
name of his/her region refers to region_name;
name refers to full_name; the youngest refers to MIN(age);
competitors refer to person_id; from Finland refers to region_name = 'Finland';
Barcelona refers to city_name = 'Barcelona'; the most competitors refer to MAX(COUNT(games_name)); name of game refers to games_name;
name of medal refers to medal_name;
the highest number of participants refers to MAX(COUNT(person_id)); the lowest number of participants refers to MIN(COUNT(person_id)); Which summer Olympic refers to games_name where season = 'Summer';
London refers to city_name = 'London'; how many times refer to COUNT(games_id);
the largest number of women participation refers to MAX(COUNT(gender = 'F')); In which Olympic Games refer to games_year;
When did Roma host the Olympic Games?
Roma refers to city_name = 'Roma'; When host refers to games_year;
Rio de Janeiro refers to city_name = 'Rio de Janeiro';
the gold medal refers to medal_name = 'Gold';
cities beginning with the letter M refer to city_name LIKE 'M%';
DIVIDE(weight), MULTIPLY(height, height) where id = 147420;
Gymnastics Women's Individual All-Around refers to event_name = 'Gymnastics Women''s Individual All-Around'; declared as champion refers to medal_name = 'Gold' or medal_id = 1;
DIVIDE(COUNT(age = 28), COUNT(id)) as percentage where games_name = '2014 Winter';
hockey's sport refers to sport_name = 'hockey';
Where competitor is from refers to region_name;
female competitors refer to person_id where gender = 'F'; from Iran refers to region_name = 'Iran';
how old was he refers to age; 1994 Winter refers to games_name = '1994 Winter';
How many Summer games are there that were held in Paris?
Summer games refer to games_id where season = 'Summer'; Paris refers to city_name = 'Paris';
years refer to games_year; only have summer games refer to games_year where COUNT(games_name) = 1 and season = 'Summer';
Rio de Janeiro refers to city_name = 'Rio de Janeiro';
the highest number of participants refers to MAX(COUNT(person_id)); the lowest number of participants refers to MIN(COUNT(person_id)); Which summer Olympic refers to games_name where season = 'Summer';
where it was held refers to city_name; the 1920 Summer refers to games_name = '1920 Summer';
male competitors refers to id where gender = 'M'; in 1948 Summer refers to games_name = '1948 Summer';
region refers to region_name; the majority of the athletes from refer to MAX(COUNT(region_name));
AVG(age) where games_name = '1988 Winter';
city refers to city_name; in 1992 refers to games_year = 1992;
Where it was held refers to city_name; the first Olympic game refers to id where MIN(games_year);
DIVIDE(SUM(age), COUNT(person_id)) where games_name = '1992 Summer';
Compute the average height of competitors whose age ranges from 22 to 28.
AVG(height) where age BETWEEN 22 AND 28;
Barcelona refers to city_name = 'Barcelona'; the most competitors refer to MAX(COUNT(games_name)); name of game refers to games_name;
people who are below 30 refer to person_id where age < 30; the summer season refers to season = 'Summer';
20 years old athletes refer to person_id where age = 20; 1984 Summer Olympic Games refer to games_name = '1984 Summer';
how old was he refers to age; 1994 Winter refers to games_name = '1994 Winter';
hockey's sport refers to sport_name = 'hockey';
name of the cities refers to city_name
Summer games refer to id where season = 'Summer'; in Stockholm refers to city_name = 'Stockholm';
In which year refers to games_year; London refers to city_name = 'London'; earliest Olympic game refers to MIN(games_year);
female competitors refer to person_id where gender = 'F'; from Iran refers to region_name = 'Iran';
won the gold medal refers to medal_name = 'Gold'; event "Rowing Women's Coxed Eights" refers to event_name = 'Rowing Women''s Coxed Eights';
Which region does the NOC code "COL" stand for?
region refers to region_name; NOC code "COL" refers to noc = 'COL';
Modern Pentathlon refers to sport_name = 'Modern Pentathlon';
where it was held refers to city_name; the 1920 Summer refers to games_name = '1920 Summer';
Roma refers to city_name = 'Roma'; When host refers to games_year;
in which city refers to city_name; the oldest refers to MAX(age);
Summer games refer to id where season = 'Summer'; in Stockholm refers to city_name = 'Stockholm';
2012 Summer refers to games_name = '2012 Summer';
events refer to event_name; football refers to sport_name = 'Football';
DIVIDE(COUNT(person_id where gender = 'F), COUNT(person_id)) as percentage where event_name = 'Equestrianism Mixed Three-Day Event, Individual';
kinds of events refer to event_name; sport of cycling refers to sport_name = 'Cycling';
name of the sport with the most events refers to sport_name where MAX(COUNT(id));
List out the name of the game that the people participated in games id 13.
name of games refers to games_name;
24 years old competitors refer to id where age = 24; Men's Basketball refers to event_name = 'Basketball Men''s Basketball';
Rio de Janeiro refers to city_name = 'Rio de Janeiro';
name refers to full_name; the oldest refers to MAX(age);
name of sport refers to sport_name
names of competitors refer to full_name; from Finland refers to region_name = 'Finland';
Gymnastics Women's Individual All-Around refers to event_name = 'Gymnastics Women''s Individual All-Around'; declared as champion refers to medal_name = 'Gold' or medal_id = 1;
DIVIDE(COUNT(person_id where gender = 'F), COUNT(person_id)) as percentage where event_name = 'Equestrianism Mixed Three-Day Event, Individual';
competitors refer to person_id; from Finland refers to region_name = 'Finland';
female competitors refer to person_id where gender = 'F'; from Iran refers to region_name = 'Iran';
cities beginning with the letter M refer to city_name LIKE 'M%';
Please list the birth date of the player who has won the most MVPs.
won the most MVP refers to Max(Count(award = 'Most Valuable Player'))
team with 90% games won refers to Divide (won, games) > 0.9
2001 refers to year = 2001; rebounds leader refers to max(rebounds); birthday refers to birthDate
full attendance refers to GP = 82; in 1995 refers to year = 1995; the most turnovers refers to max(turnovers); full name refers to first_name, last_name
NBA refers to lgID = 'NBA'; didn't play in the playoffs refers to PostGP = 0; 2000 refers to year = 2000; the most winning rate refers to max(divide(won, add(won, lost)))
player refers to playerID; the most game presentations refers to max(GP); in 2020 refers to year = 2020; NBA season refers to lgID = 'NBA'
more than 2 different teams refers to count(tmID) > 2
player name refers to playerID; the youngest refers to max(birthDate); won "Rookie of the Year" refers to award = 'Rookie of the Year'
more than 50 games won refers to won > 50
high school in Chicago refers to hsCity = 'Chicago'; belong to the west conference refers to divID = 'WE'
average BMI refers to AVG (Multiply(Divide(weight, Multiply(height, height)), 703))
What is the birth date of the player with the most assists during the 1985 All-Star season?
most assist refers to Max(assists); in 1985 All Star season refers to season_id = 1985
NBA refers to lgID = 'NBA'; didn't play in the playoffs refers to PostGP = 0; 2000 refers to year = 2000; the most winning rate refers to max(divide(won, add(won, lost)))
from 1962 to 2011 refers to year between 1960 and 2011; received both NBA and ABA award refers to coachID where award LIKE 'NBA%' and 'ABA%'
from 1937 to 1940 refers to year between 1937 and 1940; player with highest point refers to Max(points)
the 'NBA coach of the year' award refers to award = 'NBA coach of the year'; from 1971 - 1975 refers to year between 1971 and 1975; 'POR' team refers to tmID = 'POR'
team refers to tmID; quarterfinal refers to round = 'QF'; score 3,513 defensive points refers to d_pts > = 3513
"Rookie of the Year" is the award; average weight = Divide (Sum(weight), Count(playerID))
born in Winter Haven refers to birthCity = 'Winter Haven'; during the 1980s in All-Stars refers to season_id = 1980; played in 12 minutes  per season refers to minutes = 12
more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name
1973 season refers to season_id = 1973; black refers to race = 'B'
the latest passing refers to max(season_id); play all the positions refers to pos like '%C%' or pos like '%F%' or pos like '%G%'
Among the Most improved Players awarded from 1985-1990, how many player whose country is USA?
the Most improved Player refers to award = 'Most Improved Player'; from 1985-1990 refers to year between 1985 and 1990; country is USA refers to birthCountry = 'USA'
more than 50 games won refers to won > 50
Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5
name of team refers to teams.name; between 1980 and 2000 refers to year between 1980 and 2000; ranked first five or more times refers to count(rank = 1) > = 5; lost a league two or more times refers to lost > 2
didn't play in playoffs refers to PostGP = 0; in the year 1997 refers to year = 1997; the most total rebounds refers to max(o_tmRebound)
team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010
1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID
"Denver Nuggets" is the name of team; since 1980 refers to year > 1980; tallest player = Max(height)
NBA refers to lgID = 'NBA'; 'LAL' team refers to tmID = 'LAL'; performed steals movement refers to steals > 0; percent = divide(count(playerID where steals > 0), count(playerID)) where lgID = 'NBA' and tmID = 'LAL' * 100%
in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name
from 1960 to 1970 refers to season_id between 1960 and 1970; still alive refers to deathDate = '0000-00-00'
What is the percentage of offense rebounds from the total rebounds of the players in year 2000.
in year 2000 refers to year = 2000; percentage = divide(sum(o_rebounds), sum(rebounds)) * 100%
full name refers to teams.name
"Rookie of the Year" is the award; average weight = Divide (Sum(weight), Count(playerID))
the 'NBA coach of the year' award refers to award = 'NBA coach of the year'; from 1971 - 1975 refers to year between 1971 and 1975; 'POR' team refers to tmID = 'POR'
completed in the Western conference refers to conference = 'West'; in season 2006 refers to season_id = 2006; total of two blocks refers to blocks = 2; nickname refers to nameNick
drafted in the 1st round refers to draftRound = 1; 6th position refers to draftSelection = 6; in 1976 refers to year = 1976; team refers to tmID
in 1969 refers to year = 1969; awarded "NBA Coach of the Year" refers to award = 'NBA Coach of the Year'; percentage = divide(count(coachID where year = 1969 and award = 'NBA Coach of the Year'), count(coachID)) * 100%
in 1998 refers to year = 1998; 1st round refers to draftRound = 1; 12th pick refers to draftSelection = 12; home win refers to homeWon
the Most improved Player refers to award = 'Most Improved Player'; from 1985-1990 refers to year between 1985 and 1990; country is USA refers to birthCountry = 'USA'
won the most MVP refers to Max(Count(award = 'Most Valuable Player'))
team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'
Please list the last names and first names of all-star players who are higher than 75 inch.
higher than 75 inch refers to height > 75
BMI = Multiply(Divide(weight, Multiply(height, height)), 703)
"All-Defensive First Team" is the award; ' NY' is the birthState; 1980 to 2000 refers to year between 1980 and 2000; percentage = Divide (Count(playerID where birthState = 'NY'), Count(playerID)) * 100
coach refers to coachID; Oklahoma City Thunder refers to name = 'Oklahoma City Thunder'
Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5
more than 2 different teams refers to count(tmID) > 2
team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'
"ABA Coach of the Year" is the award; highest number of won games refers to Max(Count(won))
"NBA Coach of the Year" is the award; in 1977 refers to year = 1977; in 1976 refers to year = 1976; division refers to divisionID
player name refers to playerID; the youngest refers to max(birthDate); won "Rookie of the Year" refers to award = 'Rookie of the Year'
NBA refers to lgID = 'NBA'; didn't play in the playoffs refers to PostGP = 0; 2000 refers to year = 2000; the most winning rate refers to max(divide(won, add(won, lost)))
Please list the name of the coach who has served more than 2 NBA teams.
"NBA" is the lgID; server more than 2 teams refers to Count(tmID) = 2
completed in the Western conference refers to conference = 'West'; in season 2006 refers to season_id = 2006; total of two blocks refers to blocks = 2; nickname refers to nameNick
in year 2000 refers to year = 2000; percentage = divide(sum(o_rebounds), sum(rebounds)) * 100%
"Rookie of the Year" is the award; average weight = Divide (Sum(weight), Count(playerID))
in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name
between 1951 and 1953 refers to season_id; field goal refers to fg_made
full attendance refers to GP = 82; in 1995 refers to year = 1995; the most turnovers refers to max(turnovers); full name refers to first_name, last_name
2001 refers to year = 2001; rebounds leader refers to max(rebounds); birthday refers to birthDate
most assist refers to Max(assists); in 1985 All Star season refers to season_id = 1985
in 1969 refers to year = 1969; awarded "NBA Coach of the Year" refers to award = 'NBA Coach of the Year'; percentage = divide(count(coachID where year = 1969 and award = 'NBA Coach of the Year'), count(coachID)) * 100%
"ABA Coach of the Year" is the award; highest number of won games refers to Max(Count(won))
Among the NBA All-star players in 1996 season , which have more than 70% free throw rate? Please give their player id.
NBA refers to lgID = 'NBA'; in 1996 season refers to season_id = 1996; more than 70% free throw rate refers to ft_made > = 0 AND ft_attempted > 0 AND divide(ft_made, ft_attempted) > 0.7
in 1990 refers to season_id = 1990; 50% or less of oRebounds than dRebounds refers to o_rebounds < = multiply(d_rebounds, 0.5)
team name refers to teams.name; drafted from 'Seattle' refers to draftFrom = 'Seattle'; between year 1965 to 1970 refers to draftYear between 1965 and 1970
in year 2000 refers to year = 2000; percentage = divide(sum(o_rebounds), sum(rebounds)) * 100%
the scoring champion refers to max(won); 2001 refers to year = 2001; NBA refers to lgID = 'NBA'
from 1960 to 1970 refers to season_id between 1960 and 1970; still alive refers to deathDate = '0000-00-00'
team refers to tmID; quarterfinal refers to round = 'QF'; score 3,513 defensive points refers to d_pts > = 3513
beat the Huston refers to tmIDLoser = 'HSM';  in final round of post season refers to round = 'DSF'
in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name
in 1937 refers to year = 1937; player got at least 500 points refers to Sum(points) > = 500
"Chicago Bull" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979
Which team that didn't play in playoffs had the most total rebounds in the year 1997?
didn't play in playoffs refers to PostGP = 0; in the year 1997 refers to year = 1997; the most total rebounds refers to max(o_tmRebound)
greater than 75% lost refers to Divide(lost, games) > 0.75; team refers to tmID
weigh 40% less than the heaviest player refers to weight = Multiply(Max (weight), 0.6); league refers to lgID
in year '1988' refers to year = 1988; the most 'won' than 'lost' refers to max(subtract(won, lost))
more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name
champion refers to round = 'F'; team name refers to teams.name; from year 1950 to 1960 refers to year between 1950 and 1960
Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5
team refers to tmID; quarterfinal refers to round = 'QF'; score 3,513 defensive points refers to d_pts > = 3513
the same starting player refers to GP = GS; full name of the team refers to teams.name
the most rebounds refers to max(rebounds)
higher than 75 inch refers to height > 75
State the name of teams ranked first five or more times and lost a league two or more times between 1980 and 2000?
name of team refers to teams.name; between 1980 and 2000 refers to year between 1980 and 2000; ranked first five or more times refers to count(rank = 1) > = 5; lost a league two or more times refers to lost > 2
the scoring champion refers to max(won); 2001 refers to year = 2001; NBA refers to lgID = 'NBA'
"UCLA" is the college; team with most players refers to tmID where Max(Count(playerID))
average height refers to avg(height)
the most turnovers refers to max(turnovers); missed the playoffs refers to PostGP = 0; in year 1988 refers to year = 1988
from 1937 to 1940 refers to year between 1937 and 1940; player with highest point refers to Max(points)
between 1951 and 1953 refers to season_id; field goal refers to fg_made
home won than home lost more than 80% refers to Divide(Subtract(homeWon, homeLost), games) > 0.8; offense point refers to o_fgm
the Most improved Player refers to award = 'Most Improved Player'; from 1985-1990 refers to year between 1985 and 1990; country is USA refers to birthCountry = 'USA'
year 1990-1995 refers to year between 1990 and 1995; 'adelmri01' is the coachID; offense point refers to o_fgm
team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010
What division did the team coached by the winner of the 1977 NBA Coach of the Year award play in in 1976?
"NBA Coach of the Year" is the award; in 1977 refers to year = 1977; in 1976 refers to year = 1976; division refers to divisionID
home won than home lost more than 80% refers to Divide(Subtract(homeWon, homeLost), games) > 0.8; offense point refers to o_fgm
team refers to tmID; the highest point per minute refers to max(divide(points, minutes)); NBA refers to lgID = 'NBA'; from 1991 to 2000 refers to year BETWEEN 1991 AND 2000
coach refers to coachID; Oklahoma City Thunder refers to name = 'Oklahoma City Thunder'
full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the "Finals MVP" refers to award = 'Finals MVP'; in 2003 refers to year = 2003
final round of post season refers to round = 'CSF'; won against LAL refers to tmIDLoser = 'LAL'; in the NBA league refers to lgID = 'NBA'; won more than 60 games refers to won > 60
the most turnovers refers to max(turnovers); missed the playoffs refers to PostGP = 0; in year 1988 refers to year = 1988
completed in the Western conference refers to conference = 'West'; in season 2006 refers to season_id = 2006; total of two blocks refers to blocks = 2; nickname refers to nameNick
from 1962 to 2011 refers to year between 1960 and 2011; received both NBA and ABA award refers to coachID where award LIKE 'NBA%' and 'ABA%'
greater than 75% lost refers to Divide(lost, games) > 0.75; team refers to tmID
didn't play in playoffs refers to PostGP = 0; in the year 1997 refers to year = 1997; the most total rebounds refers to max(o_tmRebound)
List the full name of players who are drafted from round 1 in 1973 but not born in USA.
full name refers to firstName, middleName, lastName; in 1973 refers to year = 1973; not born in USA refers to birthCountry <> 'USA'
born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3
player refers to playerID; the most game presentations refers to max(GP); in 2020 refers to year = 2020; NBA season refers to lgID = 'NBA'
"Chicago Bull" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979
full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the "Finals MVP" refers to award = 'Finals MVP'; in 2003 refers to year = 2003
the same starting player refers to GP = GS; full name of the team refers to teams.name
didn't play in playoffs refers to PostGP = 0; in the year 1997 refers to year = 1997; the most total rebounds refers to max(o_tmRebound)
higher than 75 inch refers to height > 75
born in Winter Haven refers to birthCity = 'Winter Haven'; during the 1980s in All-Stars refers to season_id = 1980; played in 12 minutes  per season refers to minutes = 12
No.1 draft pick refers to draftRound = 1; in the 2003 season refers to draftyear = 2003; increase = subtract(divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2004, divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2003)
NBA refers to lgID = 'NBA'; in 1996 season refers to season_id = 1996; more than 70% free throw rate refers to ft_made > = 0 AND ft_attempted > 0 AND divide(ft_made, ft_attempted) > 0.7
What is the percentage of players who attended Auburn University and won an "All-Defensive Second Team" award?
Auburn University refers to college = 'Auburn'; won an "All-Defensive Second Team" award refers to award = 'All-Defensive Second Team'; percentage = divide(count(playerID where award = 'All-Defensive Second Team'), count(playerID)) where college = 'Auburn' * 100%
served more than 2 NBA teams refers to count (tmID) > = 2; least number of game lost in post season refers to Min(post_losses)
played more than 3800 points refers to Sum(points) > = 3800
full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the "Finals MVP" refers to award = 'Finals MVP'; in 2003 refers to year = 2003
in 2010 refers to year = 2010; attended high school in Chicago refers to college = 'Chicago'
"NBL" is the lgID; 'Spencer' is the birthCity
1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID
NBA refers to lgID = 'NBA'; in 1996 season refers to season_id = 1996; more than 70% free throw rate refers to ft_made > = 0 AND ft_attempted > 0 AND divide(ft_made, ft_attempted) > 0.7
team with winning rate less than 50% refers to Divide (won, Sum(won, lost)) < 0.5
average height refers to avg(height)
full name refers to teams.name
Among the coaches who have served more than 2 NBA teams, during which coach's period of coaching, a team has the least numbers of games lost in the post-season games?
served more than 2 NBA teams refers to count (tmID) > = 2; least number of game lost in post season refers to Min(post_losses)
in 1998 refers to year = 1998; 1st round refers to draftRound = 1; 12th pick refers to draftSelection = 12; home win refers to homeWon
Auburn University refers to college = 'Auburn'; won an "All-Defensive Second Team" award refers to award = 'All-Defensive Second Team'; percentage = divide(count(playerID where award = 'All-Defensive Second Team'), count(playerID)) where college = 'Auburn' * 100%
team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010
1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID
the latest passing refers to max(season_id); play all the positions refers to pos like '%C%' or pos like '%F%' or pos like '%G%'
"All-Defensive First Team" is the award; ' NY' is the birthState; 1980 to 2000 refers to year between 1980 and 2000; percentage = Divide (Count(playerID where birthState = 'NY'), Count(playerID)) * 100
didn't play in playoffs refers to PostGP = 0; in the year 1997 refers to year = 1997; the most total rebounds refers to max(o_tmRebound)
year 1990-1995 refers to year between 1990 and 1995; 'adelmri01' is the coachID; offense point refers to o_fgm
from 1960 to 1970 refers to season_id between 1960 and 1970; still alive refers to deathDate = '0000-00-00'
born in Winter Haven refers to birthCity = 'Winter Haven'; during the 1980s in All-Stars refers to season_id = 1980; played in 12 minutes  per season refers to minutes = 12
What is the name of the team with the highest home lost rate?
highest home lost rate = Max(Divide(homelost, Sum(homeWon, homeLost)))
team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010
the scoring champion refers to max(won); 2001 refers to year = 2001; NBA refers to lgID = 'NBA'
more than 2 different teams refers to count(tmID) > 2
full name of the team refers to teams.name; in 2001 refers to year = 2001; didn't make the playoffs refers to PostGP = 0; won the most games refers to max(won)
in 1969 refers to year = 1969; awarded "NBA Coach of the Year" refers to award = 'NBA Coach of the Year'; percentage = divide(count(coachID where year = 1969 and award = 'NBA Coach of the Year'), count(coachID)) * 100%
in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID
"BLB" is the tmID
1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID
Auburn University refers to college = 'Auburn'; won an "All-Defensive Second Team" award refers to award = 'All-Defensive Second Team'; percentage = divide(count(playerID where award = 'All-Defensive Second Team'), count(playerID)) where college = 'Auburn' * 100%
the Most improved Player refers to award = 'Most Improved Player'; from 1985-1990 refers to year between 1985 and 1990; country is USA refers to birthCountry = 'USA'
List the team name and the total wins of the team in year 2005 which has greater winning from the previous year.
2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID
NBA refers to lgID = 'NBA'; didn't play in the playoffs refers to PostGP = 0; 2000 refers to year = 2000; the most winning rate refers to max(divide(won, add(won, lost)))
"Rookie of the Year" is the award; average weight = Divide (Sum(weight), Count(playerID))
team with 90% games won refers to Divide (won, games) > 0.9
2001 refers to year = 2001; rebounds leader refers to max(rebounds); birthday refers to birthDate
weigh 40% less than the heaviest player refers to weight = Multiply(Max (weight), 0.6); league refers to lgID
team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010
percentage of winning at the home = Divide(homeWon, won) * 100
team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'
final round of post season refers to round = 'CSF'; won against LAL refers to tmIDLoser = 'LAL'; in the NBA league refers to lgID = 'NBA'; won more than 60 games refers to won > 60
name of the university refers to highSchool; NBA refers to lgID = 'NBA'; Finals MVP refers to award = 'Finals MVP'; in 1990 refers to year = 1990
What is the nickname of the NBA player whose team competed in the Western Conference in the season 2006 and who had a total of two blocks?
completed in the Western conference refers to conference = 'West'; in season 2006 refers to season_id = 2006; total of two blocks refers to blocks = 2; nickname refers to nameNick
player name refers to playerID; the youngest refers to max(birthDate); won "Rookie of the Year" refers to award = 'Rookie of the Year'
"ABA" is the lgID; from 1972 to 1973 refers to year = 1972 and year = 1973; team with the fastest growth in winning rate = Max(Subtract(Divide(won where year = 1973, Sum(won, lost)),Divide(won where year = 1972, Sum(won, lost))))
in 1998 refers to year = 1998; 1st round refers to draftRound = 1; 12th pick refers to draftSelection = 12; home win refers to homeWon
champion refers to round = 'F'; team name refers to teams.name; from year 1950 to 1960 refers to year between 1950 and 1960
1973 season refers to season_id = 1973; black refers to race = 'B'
"ABA Coach of the Year" is the award; highest number of won games refers to Max(Count(won))
Auburn University refers to college = 'Auburn'; won an "All-Defensive Second Team" award refers to award = 'All-Defensive Second Team'; percentage = divide(count(playerID where award = 'All-Defensive Second Team'), count(playerID)) where college = 'Auburn' * 100%
"NBA" is the lgID; server more than 2 teams refers to Count(tmID) = 2
"Chicago Bull" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979
served more than 2 NBA teams refers to count (tmID) > = 2; least number of game lost in post season refers to Min(post_losses)
From 1960 to 1970, what is the total point of all-star players who are still alive?
from 1960 to 1970 refers to season_id between 1960 and 1970; still alive refers to deathDate = '0000-00-00'
in 1998 refers to year = 1998; 1st round refers to draftRound = 1; 12th pick refers to draftSelection = 12; home win refers to homeWon
from 1937 to 1940 refers to year between 1937 and 1940; player with highest point refers to Max(points)
"BLB" is the tmID
Auburn University refers to college = 'Auburn'; won an "All-Defensive Second Team" award refers to award = 'All-Defensive Second Team'; percentage = divide(count(playerID where award = 'All-Defensive Second Team'), count(playerID)) where college = 'Auburn' * 100%
full name of the team refers to teams.name; in 2001 refers to year = 2001; didn't make the playoffs refers to PostGP = 0; won the most games refers to max(won)
the same starting player refers to GP = GS; full name of the team refers to teams.name
team name refers to teams.name; drafted from 'Seattle' refers to draftFrom = 'Seattle'; between year 1965 to 1970 refers to draftYear between 1965 and 1970
player refers to playerID; the most game presentations refers to max(GP); in 2020 refers to year = 2020; NBA season refers to lgID = 'NBA'
beat the Huston refers to tmIDLoser = 'HSM';  in final round of post season refers to round = 'DSF'
from 1962 to 2011 refers to year between 1960 and 2011; received both NBA and ABA award refers to coachID where award LIKE 'NBA%' and 'ABA%'
What is the percentage of coaches in 1969 who were awarded "NBA Coach of the Year"?
in 1969 refers to year = 1969; awarded "NBA Coach of the Year" refers to award = 'NBA Coach of the Year'; percentage = divide(count(coachID where year = 1969 and award = 'NBA Coach of the Year'), count(coachID)) * 100%
Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5
year 1990-1995 refers to year between 1990 and 1995; 'adelmri01' is the coachID; offense point refers to o_fgm
in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name
"UCLA" is the college; team with most players refers to tmID where Max(Count(playerID))
team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010
the same starting player refers to GP = GS; full name of the team refers to teams.name
"ABA Coach of the Year" is the award; highest number of won games refers to Max(Count(won))
from 1937 to 1940 refers to year between 1937 and 1940; player with highest point refers to Max(points)
No.1 draft pick refers to draftRound = 1; in the 2003 season refers to draftyear = 2003; increase = subtract(divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2004, divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2003)
between 1951 and 1953 refers to season_id; field goal refers to fg_made
For all the full attendence players in 1995, which player had most turnovers? Give the full name of the player.
full attendance refers to GP = 82; in 1995 refers to year = 1995; the most turnovers refers to max(turnovers); full name refers to first_name, last_name
"Denver Nuggets" is the name of team; since 1980 refers to year > 1980; tallest player = Max(height)
served more than 2 NBA teams refers to count (tmID) > = 2; least number of game lost in post season refers to Min(post_losses)
NBA refers to lgID = 'NBA'; in 1996 season refers to season_id = 1996; more than 70% free throw rate refers to ft_made > = 0 AND ft_attempted > 0 AND divide(ft_made, ft_attempted) > 0.7
the most turnovers refers to max(turnovers); missed the playoffs refers to PostGP = 0; in year 1988 refers to year = 1988
full name refers to firstName, middleName, lastName; in 1973 refers to year = 1973; not born in USA refers to birthCountry <> 'USA'
Most Valuable Player award refers to award = 'Most Valuable Player'; from 1969 to 1975 refers to year between 1969 and 1975
"NBA Coach of the Year" is the award; in 1977 refers to year = 1977; in 1976 refers to year = 1976; division refers to divisionID
team with winning rate less than 50% refers to Divide (won, Sum(won, lost)) < 0.5
team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010
player refers to playerID; the most game presentations refers to max(GP); in 2020 refers to year = 2020; NBA season refers to lgID = 'NBA'
How many awards were given out in 2010 to players who attended high school in Chicago?
in 2010 refers to year = 2010; attended high school in Chicago refers to college = 'Chicago'
the latest passing refers to max(season_id); play all the positions refers to pos like '%C%' or pos like '%F%' or pos like '%G%'
full name refers to firstName, middleName, lastName; in 1973 refers to year = 1973; not born in USA refers to birthCountry <> 'USA'
team refers to tmID; quarterfinal refers to round = 'QF'; score 3,513 defensive points refers to d_pts > = 3513
in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name
didn't play in playoffs refers to PostGP = 0; in the year 1997 refers to year = 1997; the most total rebounds refers to max(o_tmRebound)
"ABA Coach of the Year" is the award; highest number of won games refers to Max(Count(won))
NBA refers to lgID = 'NBA'; 'LAL' team refers to tmID = 'LAL'; performed steals movement refers to steals > 0; percent = divide(count(playerID where steals > 0), count(playerID)) where lgID = 'NBA' and tmID = 'LAL' * 100%
most assist refers to Max(assists); in 1985 All Star season refers to season_id = 1985
college refers to highSchool; won the most award refers to max(count(award)); in 1970 refers to year = 1970
more than 2 different teams refers to count(tmID) > 2
Which winning team in the 1947 playoff quarterfinals managed to score 3,513 defensive points that same year?
team refers to tmID; quarterfinal refers to round = 'QF'; score 3,513 defensive points refers to d_pts > = 3513
highest home lost rate = Max(Divide(homelost, Sum(homeWon, homeLost)))
"UCLA" is the college; team with most players refers to tmID where Max(Count(playerID))
shortest player refers to Min(height); black players refers to race = 'B'
"Rookie of the Year" is the award; average weight = Divide (Sum(weight), Count(playerID))
didn't play in playoffs refers to PostGP = 0; in the year 1997 refers to year = 1997; the most total rebounds refers to max(o_tmRebound)
won the most MVP refers to Max(Count(award = 'Most Valuable Player'))
2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID
the Most improved Player refers to award = 'Most Improved Player'; from 1985-1990 refers to year between 1985 and 1990; country is USA refers to birthCountry = 'USA'
home won than home lost more than 80% refers to Divide(Subtract(homeWon, homeLost), games) > 0.8; offense point refers to o_fgm
coach refers to coachID; Oklahoma City Thunder refers to name = 'Oklahoma City Thunder'
For the player who was drafted in the 1st round, 6th position in 1976, which team did he play in that year?
drafted in the 1st round refers to draftRound = 1; 6th position refers to draftSelection = 6; in 1976 refers to year = 1976; team refers to tmID
completed in the Western conference refers to conference = 'West'; in season 2006 refers to season_id = 2006; total of two blocks refers to blocks = 2; nickname refers to nameNick
"Chicago Bull" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979
full attendance refers to GP = 82; in 1995 refers to year = 1995; the most turnovers refers to max(turnovers); full name refers to first_name, last_name
in 1973 refers to year = 1973; player with highest field goal made refers to Max(Divide(fgMade, fgAttempted))
in year 2000 refers to year = 2000; percentage = divide(sum(o_rebounds), sum(rebounds)) * 100%
"AFS" is the tmID; tallest height refers to Max(height)
average BMI refers to AVG (Multiply(Divide(weight, Multiply(height, height)), 703))
2001 refers to year = 2001; rebounds leader refers to max(rebounds); birthday refers to birthDate
full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the "Finals MVP" refers to award = 'Finals MVP'; in 2003 refers to year = 2003
name of team refers to teams.name; between 1980 and 2000 refers to year between 1980 and 2000; ranked first five or more times refers to count(rank = 1) > = 5; lost a league two or more times refers to lost > 2
What is the name of the university that was drafted from the player who won the NBA Finals MVP in 1990?
name of the university refers to highSchool; NBA refers to lgID = 'NBA'; Finals MVP refers to award = 'Finals MVP'; in 1990 refers to year = 1990
team name refers to teams.name; drafted from 'Seattle' refers to draftFrom = 'Seattle'; between year 1965 to 1970 refers to draftYear between 1965 and 1970
"All-Defensive First Team" is the award; ' NY' is the birthState; 1980 to 2000 refers to year between 1980 and 2000; percentage = Divide (Count(playerID where birthState = 'NY'), Count(playerID)) * 100
drafted in the 1st round refers to draftRound = 1; 6th position refers to draftSelection = 6; in 1976 refers to year = 1976; team refers to tmID
"AFS" is the tmID; tallest height refers to Max(height)
team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'
team refers to tmID; quarterfinal refers to round = 'QF'; score 3,513 defensive points refers to d_pts > = 3513
the 'NBA coach of the year' award refers to award = 'NBA coach of the year'; from 1971 - 1975 refers to year between 1971 and 1975; 'POR' team refers to tmID = 'POR'
"ABA" is the lgID; from 1972 to 1973 refers to year = 1972 and year = 1973; team with the fastest growth in winning rate = Max(Subtract(Divide(won where year = 1973, Sum(won, lost)),Divide(won where year = 1972, Sum(won, lost))))
served more than 2 NBA teams refers to count (tmID) > = 2; least number of game lost in post season refers to Min(post_losses)
NBA refers to lgID = 'NBA'; in 1996 season refers to season_id = 1996; more than 70% free throw rate refers to ft_made > = 0 AND ft_attempted > 0 AND divide(ft_made, ft_attempted) > 0.7
Player from which team has the highest point per minute in NBA from 1991 to 2000?
team refers to tmID; the highest point per minute refers to max(divide(points, minutes)); NBA refers to lgID = 'NBA'; from 1991 to 2000 refers to year BETWEEN 1991 AND 2000
"Chicago Bull" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979
player name refers to playerID; the youngest refers to max(birthDate); won "Rookie of the Year" refers to award = 'Rookie of the Year'
in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name
in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID
full name refers to firstName, middleName, lastName; in the year 1997 refers to year = 1997; the most steals refers to max(steals)
BMI = Multiply(Divide(weight, Multiply(height, height)), 703)
"AFS" is the tmID; tallest height refers to Max(height)
coach refers to coachID; Oklahoma City Thunder refers to name = 'Oklahoma City Thunder'
team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010
Wake Forest college refers to highSchool = 'Wake Forest college'; did the most offensive rebounds than defensive rebounds refers to max(subtract(sum(oRebounds), sum(dRebounds))); full name refers to first_name, middle_name, last_name
In 1937, how many teams whose players got at least 500 points?
in 1937 refers to year = 1937; player got at least 500 points refers to Sum(points) > = 500
champion refers to round = 'F'; team name refers to teams.name; from year 1950 to 1960 refers to year between 1950 and 1960
from 1960 to 1970 refers to season_id between 1960 and 1970; still alive refers to deathDate = '0000-00-00'
college refers to highSchool; won the most award refers to max(count(award)); in 1970 refers to year = 1970
served more than 2 NBA teams refers to count (tmID) > = 2; least number of game lost in post season refers to Min(post_losses)
full name refers to firstName, middleName, lastName; in 1973 refers to year = 1973; not born in USA refers to birthCountry <> 'USA'
Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5
the 'NBA coach of the year' award refers to award = 'NBA coach of the year'; from 1971 - 1975 refers to year between 1971 and 1975; 'POR' team refers to tmID = 'POR'
the scoring champion refers to max(won); 2001 refers to year = 2001; NBA refers to lgID = 'NBA'
team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'
"BLB" is the tmID
Which winning team in the final round of the postseason series games against the LAL won more than 60 games in the NBA league during the year 1996?
final round of post season refers to round = 'CSF'; won against LAL refers to tmIDLoser = 'LAL'; in the NBA league refers to lgID = 'NBA'; won more than 60 games refers to won > 60
more than 2 different teams refers to count(tmID) > 2
"Chicago Bull" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979
team refers to tmID; the highest point per minute refers to max(divide(points, minutes)); NBA refers to lgID = 'NBA'; from 1991 to 2000 refers to year BETWEEN 1991 AND 2000
full name refers to teams.name
"NBA" is the lgID; server more than 2 teams refers to Count(tmID) = 2
born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3
No.1 draft pick refers to draftRound = 1; in the 2003 season refers to draftyear = 2003; increase = subtract(divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2004, divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2003)
higher than 75 inch refers to height > 75
in 1990 refers to season_id = 1990; 50% or less of oRebounds than dRebounds refers to o_rebounds < = multiply(d_rebounds, 0.5)
full name refers to firstName, middleName, lastName; in 1973 refers to year = 1973; not born in USA refers to birthCountry <> 'USA'
Who is the tallest player in Denver Nuggets since 1980?
"Denver Nuggets" is the name of team; since 1980 refers to year > 1980; tallest player = Max(height)
1973 season refers to season_id = 1973; black refers to race = 'B'
2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID
champion refers to round = 'F'; team name refers to teams.name; from year 1950 to 1960 refers to year between 1950 and 1960
"UCLA" is the college; team with most players refers to tmID where Max(Count(playerID))
completed in the Western conference refers to conference = 'West'; in season 2006 refers to season_id = 2006; total of two blocks refers to blocks = 2; nickname refers to nameNick
from 1962 to 2011 refers to year between 1960 and 2011; received both NBA and ABA award refers to coachID where award LIKE 'NBA%' and 'ABA%'
the scoring champion refers to max(won); 2001 refers to year = 2001; NBA refers to lgID = 'NBA'
Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5
"BLB" is the tmID
"Chicago Bull" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979
From 1962 to 2011, how many coaches received both NBA and ABA awards?
from 1962 to 2011 refers to year between 1960 and 2011; received both NBA and ABA award refers to coachID where award LIKE 'NBA%' and 'ABA%'
average BMI refers to AVG (Multiply(Divide(weight, Multiply(height, height)), 703))
the most rebounds refers to max(rebounds)
more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name
in year '1988' refers to year = 1988; the most 'won' than 'lost' refers to max(subtract(won, lost))
in 1969 refers to year = 1969; awarded "NBA Coach of the Year" refers to award = 'NBA Coach of the Year'; percentage = divide(count(coachID where year = 1969 and award = 'NBA Coach of the Year'), count(coachID)) * 100%
most assist refers to Max(assists); in 1985 All Star season refers to season_id = 1985
the scoring champion refers to max(won); 2001 refers to year = 2001; NBA refers to lgID = 'NBA'
full name refers to teams.name
born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3
shortest player refers to Min(height); black players refers to race = 'B'
What is the minimum weight of all-star players coming from UCLA college?
minimum weight refers to Min(weight)
Wake Forest college refers to highSchool = 'Wake Forest college'; did the most offensive rebounds than defensive rebounds refers to max(subtract(sum(oRebounds), sum(dRebounds))); full name refers to first_name, middle_name, last_name
team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010
full name refers to firstName, middleName, lastName; in 1973 refers to year = 1973; not born in USA refers to birthCountry <> 'USA'
won the most MVP refers to Max(Count(award = 'Most Valuable Player'))
the most rebounds refers to max(rebounds)
Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5
more than 2 different teams refers to count(tmID) > 2
"Rookie of the Year" is the award; average weight = Divide (Sum(weight), Count(playerID))
Auburn University refers to college = 'Auburn'; won an "All-Defensive Second Team" award refers to award = 'All-Defensive Second Team'; percentage = divide(count(playerID where award = 'All-Defensive Second Team'), count(playerID)) where college = 'Auburn' * 100%
greater than 75% lost refers to Divide(lost, games) > 0.75; team refers to tmID
For team who has more home won than home lost more than 80%, list the team name and the offense points.
home won than home lost more than 80% refers to Divide(Subtract(homeWon, homeLost), games) > 0.8; offense point refers to o_fgm
most assist refers to Max(assists); in 1985 All Star season refers to season_id = 1985
"Denver Nuggets" is the name of team; since 1980 refers to year > 1980; tallest player = Max(height)
full attendance refers to GP = 82; in 1995 refers to year = 1995; the most turnovers refers to max(turnovers); full name refers to first_name, last_name
Most Valuable Player award refers to award = 'Most Valuable Player'; from 1969 to 1975 refers to year between 1969 and 1975
2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID
in 1969 refers to year = 1969; awarded "NBA Coach of the Year" refers to award = 'NBA Coach of the Year'; percentage = divide(count(coachID where year = 1969 and award = 'NBA Coach of the Year'), count(coachID)) * 100%
born in Winter Haven refers to birthCity = 'Winter Haven'; during the 1980s in All-Stars refers to season_id = 1980; played in 12 minutes  per season refers to minutes = 12
team name refers to teams.name; drafted from 'Seattle' refers to draftFrom = 'Seattle'; between year 1965 to 1970 refers to draftYear between 1965 and 1970
high school in Chicago refers to hsCity = 'Chicago'; belong to the west conference refers to divID = 'WE'
player name refers to playerID; the youngest refers to max(birthDate); won "Rookie of the Year" refers to award = 'Rookie of the Year'
List the champion (team name) and year from year 1950 to 1960.
champion refers to round = 'F'; team name refers to teams.name; from year 1950 to 1960 refers to year between 1950 and 1960
from 1937 to 1940 refers to year between 1937 and 1940; player with highest point refers to Max(points)
team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010
"UCLA" is the college; team with most players refers to tmID where Max(Count(playerID))
the Most improved Player refers to award = 'Most Improved Player'; from 1985-1990 refers to year between 1985 and 1990; country is USA refers to birthCountry = 'USA'
name of team refers to teams.name; between 1980 and 2000 refers to year between 1980 and 2000; ranked first five or more times refers to count(rank = 1) > = 5; lost a league two or more times refers to lost > 2
highest home lost rate = Max(Divide(homelost, Sum(homeWon, homeLost)))
more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name
"All-Defensive First Team" is the award; ' NY' is the birthState; 1980 to 2000 refers to year between 1980 and 2000; percentage = Divide (Count(playerID where birthState = 'NY'), Count(playerID)) * 100
team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'
drafted in the 1st round refers to draftRound = 1; 6th position refers to draftSelection = 6; in 1976 refers to year = 1976; team refers to tmID
Which team did the MVP of 1997 NBA season play in?
team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'
weigh 40% less than the heaviest player refers to weight = Multiply(Max (weight), 0.6); league refers to lgID
2001 refers to year = 2001; rebounds leader refers to max(rebounds); birthday refers to birthDate
average height refers to avg(height)
college refers to highSchool; won the most award refers to max(count(award)); in 1970 refers to year = 1970
more than 50 games won refers to won > 50
NBA refers to lgID = 'NBA'; 'LAL' team refers to tmID = 'LAL'; performed steals movement refers to steals > 0; percent = divide(count(playerID where steals > 0), count(playerID)) where lgID = 'NBA' and tmID = 'LAL' * 100%
home won than home lost more than 80% refers to Divide(Subtract(homeWon, homeLost), games) > 0.8; offense point refers to o_fgm
in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name
the same starting player refers to GP = GS; full name of the team refers to teams.name
"AFS" is the tmID; tallest height refers to Max(height)
How much did the win rate increase for the team after getting the No.1 NBA draft pick in the 2003 season than previous season?
No.1 draft pick refers to draftRound = 1; in the 2003 season refers to draftyear = 2003; increase = subtract(divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2004, divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2003)
more than 2 different teams refers to count(tmID) > 2
"ABA" is the lgID; from 1972 to 1973 refers to year = 1972 and year = 1973; team with the fastest growth in winning rate = Max(Subtract(Divide(won where year = 1973, Sum(won, lost)),Divide(won where year = 1972, Sum(won, lost))))
"NBA Coach of the Year" is the award; in 1977 refers to year = 1977; in 1976 refers to year = 1976; division refers to divisionID
average BMI refers to AVG (Multiply(Divide(weight, Multiply(height, height)), 703))
high school in Chicago refers to hsCity = 'Chicago'; belong to the west conference refers to divID = 'WE'
weigh 40% less than the heaviest player refers to weight = Multiply(Max (weight), 0.6); league refers to lgID
the same starting player refers to GP = GS; full name of the team refers to teams.name
the most rebounds refers to max(rebounds)
between 1951 and 1953 refers to season_id; field goal refers to fg_made
born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3
What's the full name of the team that won the most games in 2001 but didn't make the playoffs?
full name of the team refers to teams.name; in 2001 refers to year = 2001; didn't make the playoffs refers to PostGP = 0; won the most games refers to max(won)
"ABA Coach of the Year" is the award; highest number of won games refers to Max(Count(won))
team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'
NBA refers to lgID = 'NBA'; in 1996 season refers to season_id = 1996; more than 70% free throw rate refers to ft_made > = 0 AND ft_attempted > 0 AND divide(ft_made, ft_attempted) > 0.7
played more than 3800 points refers to Sum(points) > = 3800
BMI = Multiply(Divide(weight, Multiply(height, height)), 703)
born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3
from 1962 to 2011 refers to year between 1960 and 2011; received both NBA and ABA award refers to coachID where award LIKE 'NBA%' and 'ABA%'
in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID
the latest passing refers to max(season_id); play all the positions refers to pos like '%C%' or pos like '%F%' or pos like '%G%'
minimum weight refers to Min(weight)
What is the average height of an East conference All-star player?
average height refers to avg(height)
won the most MVP refers to Max(Count(award = 'Most Valuable Player'))
"ABA Coach of the Year" is the award; highest number of won games refers to Max(Count(won))
in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name
the same starting player refers to GP = GS; full name of the team refers to teams.name
the latest passing refers to max(season_id); play all the positions refers to pos like '%C%' or pos like '%F%' or pos like '%G%'
drafted in the 1st round refers to draftRound = 1; 6th position refers to draftSelection = 6; in 1976 refers to year = 1976; team refers to tmID
from 1937 to 1940 refers to year between 1937 and 1940; player with highest point refers to Max(points)
served more than 2 NBA teams refers to count (tmID) > = 2; least number of game lost in post season refers to Min(post_losses)
"ABA" is the lgID; from 1972 to 1973 refers to year = 1972 and year = 1973; team with the fastest growth in winning rate = Max(Subtract(Divide(won where year = 1973, Sum(won, lost)),Divide(won where year = 1972, Sum(won, lost))))
1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID
Which player had the most game presentatons in 2011 NBA season.
player refers to playerID; the most game presentations refers to max(GP); in 2020 refers to year = 2020; NBA season refers to lgID = 'NBA'
in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID
Wake Forest college refers to highSchool = 'Wake Forest college'; did the most offensive rebounds than defensive rebounds refers to max(subtract(sum(oRebounds), sum(dRebounds))); full name refers to first_name, middle_name, last_name
in 1973 refers to year = 1973; player with highest field goal made refers to Max(Divide(fgMade, fgAttempted))
born in Winter Haven refers to birthCity = 'Winter Haven'; during the 1980s in All-Stars refers to season_id = 1980; played in 12 minutes  per season refers to minutes = 12
in 1998 refers to year = 1998; 1st round refers to draftRound = 1; 12th pick refers to draftSelection = 12; home win refers to homeWon
the Most improved Player refers to award = 'Most Improved Player'; from 1985-1990 refers to year between 1985 and 1990; country is USA refers to birthCountry = 'USA'
won the most MVP refers to Max(Count(award = 'Most Valuable Player'))
more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name
the 'NBA coach of the year' award refers to award = 'NBA coach of the year'; from 1971 - 1975 refers to year between 1971 and 1975; 'POR' team refers to tmID = 'POR'
NBA refers to lgID = 'NBA'; in 1996 season refers to season_id = 1996; more than 70% free throw rate refers to ft_made > = 0 AND ft_attempted > 0 AND divide(ft_made, ft_attempted) > 0.7
Among the coaches who won the 'NBA coach of the year' award from 1971 - 1975, how many of them were in 'POR' team?
the 'NBA coach of the year' award refers to award = 'NBA coach of the year'; from 1971 - 1975 refers to year between 1971 and 1975; 'POR' team refers to tmID = 'POR'
Most Valuable Player award refers to award = 'Most Valuable Player'; from 1969 to 1975 refers to year between 1969 and 1975
full name refers to firstName, middleName, lastName; in the year 1997 refers to year = 1997; the most steals refers to max(steals)
from 1937 to 1940 refers to year between 1937 and 1940; player with highest point refers to Max(points)
between 1951 and 1953 refers to season_id; field goal refers to fg_made
team name refers to teams.name; drafted from 'Seattle' refers to draftFrom = 'Seattle'; between year 1965 to 1970 refers to draftYear between 1965 and 1970
2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID
in 1969 refers to year = 1969; awarded "NBA Coach of the Year" refers to award = 'NBA Coach of the Year'; percentage = divide(count(coachID where year = 1969 and award = 'NBA Coach of the Year'), count(coachID)) * 100%
team refers to tmID; quarterfinal refers to round = 'QF'; score 3,513 defensive points refers to d_pts > = 3513
didn't play in playoffs refers to PostGP = 0; in the year 1997 refers to year = 1997; the most total rebounds refers to max(o_tmRebound)
drafted in the 1st round refers to draftRound = 1; 6th position refers to draftSelection = 6; in 1976 refers to year = 1976; team refers to tmID
In year 2000, who are the coaches with more than 50 games won. List the coachID, team name and number of game won at home game.
more than 50 games won refers to won > 50
coach refers to coachID; Oklahoma City Thunder refers to name = 'Oklahoma City Thunder'
in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name
percentage of winning at the home = Divide(homeWon, won) * 100
shortest player refers to Min(height); black players refers to race = 'B'
year 1990-1995 refers to year between 1990 and 1995; 'adelmri01' is the coachID; offense point refers to o_fgm
team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'
born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3
No.1 draft pick refers to draftRound = 1; in the 2003 season refers to draftyear = 2003; increase = subtract(divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2004, divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2003)
BMI = Multiply(Divide(weight, Multiply(height, height)), 703)
the year 1990 and 2007 refers to year BETWEEN 1990 AND 2007; exceed 75% of defensive rebounds refers to Divide (dRebounds, rebounds) * 100 > 75
In 2000, which team did the player who played the least minutes without missing a single game play in? Give the full name of the team.
in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name
full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the "Finals MVP" refers to award = 'Finals MVP'; in 2003 refers to year = 2003
"AFS" is the tmID; tallest height refers to Max(height)
between 1975 and 1980 refers to year between 1975 and 1980; player abdulka01 refers to playerID = 'abdulka01'; play for LAL refers to tmID = 'LAL'
team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'
1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID
the 'NBA coach of the year' award refers to award = 'NBA coach of the year'; from 1971 - 1975 refers to year between 1971 and 1975; 'POR' team refers to tmID = 'POR'
"Denver Nuggets" is the name of team; since 1980 refers to year > 1980; tallest player = Max(height)
high school in Chicago refers to hsCity = 'Chicago'; belong to the west conference refers to divID = 'WE'
from 1962 to 2011 refers to year between 1960 and 2011; received both NBA and ABA award refers to coachID where award LIKE 'NBA%' and 'ABA%'
served more than 2 NBA teams refers to count (tmID) > = 2; least number of game lost in post season refers to Min(post_losses)
Among the players from the NBL league, how many of them were born in Spencer?
"NBL" is the lgID; 'Spencer' is the birthCity
won the most MVP refers to Max(Count(award = 'Most Valuable Player'))
the scoring champion refers to max(won); 2001 refers to year = 2001; NBA refers to lgID = 'NBA'
full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the "Finals MVP" refers to award = 'Finals MVP'; in 2003 refers to year = 2003
the same starting player refers to GP = GS; full name of the team refers to teams.name
shortest player refers to Min(height); black players refers to race = 'B'
home won than home lost more than 80% refers to Divide(Subtract(homeWon, homeLost), games) > 0.8; offense point refers to o_fgm
the year 1990 and 2007 refers to year BETWEEN 1990 AND 2007; exceed 75% of defensive rebounds refers to Divide (dRebounds, rebounds) * 100 > 75
player name refers to playerID; the youngest refers to max(birthDate); won "Rookie of the Year" refers to award = 'Rookie of the Year'
"AFS" is the tmID; tallest height refers to Max(height)
higher than 75 inch refers to height > 75
List the first name, last name and team name of players who are drafted from 'Seattle' between year 1965 to 1970.
team name refers to teams.name; drafted from 'Seattle' refers to draftFrom = 'Seattle'; between year 1965 to 1970 refers to draftYear between 1965 and 1970
"Rookie of the Year" is the award; average weight = Divide (Sum(weight), Count(playerID))
drafted in the 1st round refers to draftRound = 1; 6th position refers to draftSelection = 6; in 1976 refers to year = 1976; team refers to tmID
NBA refers to lgID = 'NBA'; didn't play in the playoffs refers to PostGP = 0; 2000 refers to year = 2000; the most winning rate refers to max(divide(won, add(won, lost)))
full name refers to firstName, middleName, lastName; in 1973 refers to year = 1973; not born in USA refers to birthCountry <> 'USA'
highest home lost rate = Max(Divide(homelost, Sum(homeWon, homeLost)))
more than 2 different teams refers to count(tmID) > 2
the year 1990 and 2007 refers to year BETWEEN 1990 AND 2007; exceed 75% of defensive rebounds refers to Divide (dRebounds, rebounds) * 100 > 75
full attendance refers to GP = 82; in 1995 refers to year = 1995; the most turnovers refers to max(turnovers); full name refers to first_name, last_name
team with winning rate less than 50% refers to Divide (won, Sum(won, lost)) < 0.5
player name refers to playerID; the youngest refers to max(birthDate); won "Rookie of the Year" refers to award = 'Rookie of the Year'
Which player, born in Winter Haven, played 12 minutes per season during the 1980s in the All-Stars?
born in Winter Haven refers to birthCity = 'Winter Haven'; during the 1980s in All-Stars refers to season_id = 1980; played in 12 minutes  per season refers to minutes = 12
most assist refers to Max(assists); in 1985 All Star season refers to season_id = 1985
team with winning rate less than 50% refers to Divide (won, Sum(won, lost)) < 0.5
in 1990 refers to season_id = 1990; 50% or less of oRebounds than dRebounds refers to o_rebounds < = multiply(d_rebounds, 0.5)
drafted in the 1st round refers to draftRound = 1; 6th position refers to draftSelection = 6; in 1976 refers to year = 1976; team refers to tmID
Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5
BMI = Multiply(Divide(weight, Multiply(height, height)), 703)
NBA refers to lgID = 'NBA'; didn't play in the playoffs refers to PostGP = 0; 2000 refers to year = 2000; the most winning rate refers to max(divide(won, add(won, lost)))
team refers to tmID; the highest point per minute refers to max(divide(points, minutes)); NBA refers to lgID = 'NBA'; from 1991 to 2000 refers to year BETWEEN 1991 AND 2000
champion refers to round = 'F'; team name refers to teams.name; from year 1950 to 1960 refers to year between 1950 and 1960
the scoring champion refers to max(won); 2001 refers to year = 2001; NBA refers to lgID = 'NBA'
Where was the high school of the player who had the most rebounds in the NBA allstar history?
the most rebounds refers to max(rebounds)
average height refers to avg(height)
"AFS" is the tmID; tallest height refers to Max(height)
more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name
beat the Huston refers to tmIDLoser = 'HSM';  in final round of post season refers to round = 'DSF'
team with winning rate less than 50% refers to Divide (won, Sum(won, lost)) < 0.5
from 1937 to 1940 refers to year between 1937 and 1940; player with highest point refers to Max(points)
the Most improved Player refers to award = 'Most Improved Player'; from 1985-1990 refers to year between 1985 and 1990; country is USA refers to birthCountry = 'USA'
completed in the Western conference refers to conference = 'West'; in season 2006 refers to season_id = 2006; total of two blocks refers to blocks = 2; nickname refers to nameNick
coach refers to coachID; Oklahoma City Thunder refers to name = 'Oklahoma City Thunder'
"NBA Coach of the Year" is the award; in 1977 refers to year = 1977; in 1976 refers to year = 1976; division refers to divisionID
Among the winning game from the team, what is the percentage of the winning was home game.
percentage of winning at the home = Divide(homeWon, won) * 100
Wake Forest college refers to highSchool = 'Wake Forest college'; did the most offensive rebounds than defensive rebounds refers to max(subtract(sum(oRebounds), sum(dRebounds))); full name refers to first_name, middle_name, last_name
full name refers to firstName, middleName, lastName; in the year 1997 refers to year = 1997; the most steals refers to max(steals)
team with winning rate less than 50% refers to Divide (won, Sum(won, lost)) < 0.5
Auburn University refers to college = 'Auburn'; won an "All-Defensive Second Team" award refers to award = 'All-Defensive Second Team'; percentage = divide(count(playerID where award = 'All-Defensive Second Team'), count(playerID)) where college = 'Auburn' * 100%
more than 2 different teams refers to count(tmID) > 2
team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'
"AFS" is the tmID; tallest height refers to Max(height)
average height refers to avg(height)
2001 refers to year = 2001; rebounds leader refers to max(rebounds); birthday refers to birthDate
"ABA" is the lgID; from 1972 to 1973 refers to year = 1972 and year = 1973; team with the fastest growth in winning rate = Max(Subtract(Divide(won where year = 1973, Sum(won, lost)),Divide(won where year = 1972, Sum(won, lost))))
Among the teams that were ranked 3 from 1937 to 1940, what is the team name whose players had the highest point?
from 1937 to 1940 refers to year between 1937 and 1940; player with highest point refers to Max(points)
name of team refers to teams.name; between 1980 and 2000 refers to year between 1980 and 2000; ranked first five or more times refers to count(rank = 1) > = 5; lost a league two or more times refers to lost > 2
the 'NBA coach of the year' award refers to award = 'NBA coach of the year'; from 1971 - 1975 refers to year between 1971 and 1975; 'POR' team refers to tmID = 'POR'
Auburn University refers to college = 'Auburn'; won an "All-Defensive Second Team" award refers to award = 'All-Defensive Second Team'; percentage = divide(count(playerID where award = 'All-Defensive Second Team'), count(playerID)) where college = 'Auburn' * 100%
in 2010 refers to year = 2010; attended high school in Chicago refers to college = 'Chicago'
weigh 40% less than the heaviest player refers to weight = Multiply(Max (weight), 0.6); league refers to lgID
the latest passing refers to max(season_id); play all the positions refers to pos like '%C%' or pos like '%F%' or pos like '%G%'
team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'
player name refers to playerID; the youngest refers to max(birthDate); won "Rookie of the Year" refers to award = 'Rookie of the Year'
final round of post season refers to round = 'CSF'; won against LAL refers to tmIDLoser = 'LAL'; in the NBA league refers to lgID = 'NBA'; won more than 60 games refers to won > 60
in 1969 refers to year = 1969; awarded "NBA Coach of the Year" refers to award = 'NBA Coach of the Year'; percentage = divide(count(coachID where year = 1969 and award = 'NBA Coach of the Year'), count(coachID)) * 100%
Between the years 1990 and 2007, of the total rebounds achieved by each player, how many managed to exceed 75% of defensive rebounds?
the year 1990 and 2007 refers to year BETWEEN 1990 AND 2007; exceed 75% of defensive rebounds refers to Divide (dRebounds, rebounds) * 100 > 75
average BMI refers to AVG (Multiply(Divide(weight, Multiply(height, height)), 703))
beat the Huston refers to tmIDLoser = 'HSM';  in final round of post season refers to round = 'DSF'
weigh 40% less than the heaviest player refers to weight = Multiply(Max (weight), 0.6); league refers to lgID
2001 refers to year = 2001; rebounds leader refers to max(rebounds); birthday refers to birthDate
in 2010 refers to year = 2010; attended high school in Chicago refers to college = 'Chicago'
team refers to tmID; the highest point per minute refers to max(divide(points, minutes)); NBA refers to lgID = 'NBA'; from 1991 to 2000 refers to year BETWEEN 1991 AND 2000
Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5
played more than 3800 points refers to Sum(points) > = 3800
name of the university refers to highSchool; NBA refers to lgID = 'NBA'; Finals MVP refers to award = 'Finals MVP'; in 1990 refers to year = 1990
"NBL" is the lgID; 'Spencer' is the birthCity
How many times between 1975 and 1980 did the player abdulka01 play for LAL?
between 1975 and 1980 refers to year between 1975 and 1980; player abdulka01 refers to playerID = 'abdulka01'; play for LAL refers to tmID = 'LAL'
in 2010 refers to year = 2010; attended high school in Chicago refers to college = 'Chicago'
2001 refers to year = 2001; rebounds leader refers to max(rebounds); birthday refers to birthDate
1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID
born in Winter Haven refers to birthCity = 'Winter Haven'; during the 1980s in All-Stars refers to season_id = 1980; played in 12 minutes  per season refers to minutes = 12
full name of the team refers to teams.name; in 2001 refers to year = 2001; didn't make the playoffs refers to PostGP = 0; won the most games refers to max(won)
in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID
average BMI refers to AVG (Multiply(Divide(weight, Multiply(height, height)), 703))
team with winning rate less than 50% refers to Divide (won, Sum(won, lost)) < 0.5
in 1998 refers to year = 1998; 1st round refers to draftRound = 1; 12th pick refers to draftSelection = 12; home win refers to homeWon
full name refers to firstName, middleName, lastName; in the year 1997 refers to year = 1997; the most steals refers to max(steals)
What are the basketball players' BMI ranges?
BMI = Multiply(Divide(weight, Multiply(height, height)), 703)
team with 90% games won refers to Divide (won, games) > 0.9
in year 2000 refers to year = 2000; percentage = divide(sum(o_rebounds), sum(rebounds)) * 100%
full name of the team refers to teams.name; in 2001 refers to year = 2001; didn't make the playoffs refers to PostGP = 0; won the most games refers to max(won)
"ABA" is the lgID; from 1972 to 1973 refers to year = 1972 and year = 1973; team with the fastest growth in winning rate = Max(Subtract(Divide(won where year = 1973, Sum(won, lost)),Divide(won where year = 1972, Sum(won, lost))))
home won than home lost more than 80% refers to Divide(Subtract(homeWon, homeLost), games) > 0.8; offense point refers to o_fgm
between 1975 and 1980 refers to year between 1975 and 1980; player abdulka01 refers to playerID = 'abdulka01'; play for LAL refers to tmID = 'LAL'
NBA refers to lgID = 'NBA'; in 1996 season refers to season_id = 1996; more than 70% free throw rate refers to ft_made > = 0 AND ft_attempted > 0 AND divide(ft_made, ft_attempted) > 0.7
in 1998 refers to year = 1998; 1st round refers to draftRound = 1; 12th pick refers to draftSelection = 12; home win refers to homeWon
full name refers to firstName, middleName, lastName; in the year 1997 refers to year = 1997; the most steals refers to max(steals)
year 1990-1995 refers to year between 1990 and 1995; 'adelmri01' is the coachID; offense point refers to o_fgm
How many percent of points were scored by NBA players who belonged to 'LAL' team and had performed steals movement.
NBA refers to lgID = 'NBA'; 'LAL' team refers to tmID = 'LAL'; performed steals movement refers to steals > 0; percent = divide(count(playerID where steals > 0), count(playerID)) where lgID = 'NBA' and tmID = 'LAL' * 100%
drafted in the 1st round refers to draftRound = 1; 6th position refers to draftSelection = 6; in 1976 refers to year = 1976; team refers to tmID
shortest player refers to Min(height); black players refers to race = 'B'
"UCLA" is the college; team with most players refers to tmID where Max(Count(playerID))
Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5
"NBL" is the lgID; 'Spencer' is the birthCity
"NBA Coach of the Year" is the award; in 1977 refers to year = 1977; in 1976 refers to year = 1976; division refers to divisionID
player name refers to playerID; the youngest refers to max(birthDate); won "Rookie of the Year" refers to award = 'Rookie of the Year'
more than 2 different teams refers to count(tmID) > 2
Most Valuable Player award refers to award = 'Most Valuable Player'; from 1969 to 1975 refers to year between 1969 and 1975
team name refers to teams.name; drafted from 'Seattle' refers to draftFrom = 'Seattle'; between year 1965 to 1970 refers to draftYear between 1965 and 1970
What is the average weight of the players who have won the award of Rookie of the year?
"Rookie of the Year" is the award; average weight = Divide (Sum(weight), Count(playerID))
"ABA Coach of the Year" is the award; highest number of won games refers to Max(Count(won))
"All-Defensive First Team" is the award; ' NY' is the birthState; 1980 to 2000 refers to year between 1980 and 2000; percentage = Divide (Count(playerID where birthState = 'NY'), Count(playerID)) * 100
BMI = Multiply(Divide(weight, Multiply(height, height)), 703)
in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID
played more than 3800 points refers to Sum(points) > = 3800
team with winning rate less than 50% refers to Divide (won, Sum(won, lost)) < 0.5
more than 2 different teams refers to count(tmID) > 2
2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID
full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the "Finals MVP" refers to award = 'Finals MVP'; in 2003 refers to year = 2003
between 1951 and 1953 refers to season_id; field goal refers to fg_made
What is the full name of the team that selected Mike Lynn?
full name refers to teams.name
"ABA Coach of the Year" is the award; highest number of won games refers to Max(Count(won))
average height refers to avg(height)
Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5
weigh 40% less than the heaviest player refers to weight = Multiply(Max (weight), 0.6); league refers to lgID
the most rebounds refers to max(rebounds)
drafted in the 1st round refers to draftRound = 1; 6th position refers to draftSelection = 6; in 1976 refers to year = 1976; team refers to tmID
in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID
No.1 draft pick refers to draftRound = 1; in the 2003 season refers to draftyear = 2003; increase = subtract(divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2004, divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2003)
"Rookie of the Year" is the award; average weight = Divide (Sum(weight), Count(playerID))
Most Valuable Player award refers to award = 'Most Valuable Player'; from 1969 to 1975 refers to year between 1969 and 1975
How many games did team of the scoring champion win in 2001 NBA season?
the scoring champion refers to max(won); 2001 refers to year = 2001; NBA refers to lgID = 'NBA'
team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010
Most Valuable Player award refers to award = 'Most Valuable Player'; from 1969 to 1975 refers to year between 1969 and 1975
name of team refers to teams.name; between 1980 and 2000 refers to year between 1980 and 2000; ranked first five or more times refers to count(rank = 1) > = 5; lost a league two or more times refers to lost > 2
1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID
BMI = Multiply(Divide(weight, Multiply(height, height)), 703)
the same starting player refers to GP = GS; full name of the team refers to teams.name
in 1937 refers to year = 1937; player got at least 500 points refers to Sum(points) > = 500
full name refers to firstName, middleName, lastName; in 1973 refers to year = 1973; not born in USA refers to birthCountry <> 'USA'
"NBA Coach of the Year" is the award; in 1977 refers to year = 1977; in 1976 refers to year = 1976; division refers to divisionID
player name refers to playerID; the youngest refers to max(birthDate); won "Rookie of the Year" refers to award = 'Rookie of the Year'
Among players who were born after 1950, who had offence rebounds rates more than 30%? Please list their last names and first names.
born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3
2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID
in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name
1973 season refers to season_id = 1973; black refers to race = 'B'
more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name
the 'NBA coach of the year' award refers to award = 'NBA coach of the year'; from 1971 - 1975 refers to year between 1971 and 1975; 'POR' team refers to tmID = 'POR'
1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID
Auburn University refers to college = 'Auburn'; won an "All-Defensive Second Team" award refers to award = 'All-Defensive Second Team'; percentage = divide(count(playerID where award = 'All-Defensive Second Team'), count(playerID)) where college = 'Auburn' * 100%
drafted in the 1st round refers to draftRound = 1; 6th position refers to draftSelection = 6; in 1976 refers to year = 1976; team refers to tmID
college refers to highSchool; won the most award refers to max(count(award)); in 1970 refers to year = 1970
the latest passing refers to max(season_id); play all the positions refers to pos like '%C%' or pos like '%F%' or pos like '%G%'
List the full name and age of the player when he won the "Finals MVP" in 2003.
full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the "Finals MVP" refers to award = 'Finals MVP'; in 2003 refers to year = 2003
"All-Defensive First Team" is the award; ' NY' is the birthState; 1980 to 2000 refers to year between 1980 and 2000; percentage = Divide (Count(playerID where birthState = 'NY'), Count(playerID)) * 100
in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID
"Chicago Bull" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979
full attendance refers to GP = 82; in 1995 refers to year = 1995; the most turnovers refers to max(turnovers); full name refers to first_name, last_name
the year 1990 and 2007 refers to year BETWEEN 1990 AND 2007; exceed 75% of defensive rebounds refers to Divide (dRebounds, rebounds) * 100 > 75
name of team refers to teams.name; between 1980 and 2000 refers to year between 1980 and 2000; ranked first five or more times refers to count(rank = 1) > = 5; lost a league two or more times refers to lost > 2
year 1990-1995 refers to year between 1990 and 1995; 'adelmri01' is the coachID; offense point refers to o_fgm
"NBA Coach of the Year" is the award; in 1977 refers to year = 1977; in 1976 refers to year = 1976; division refers to divisionID
college refers to highSchool; won the most award refers to max(count(award)); in 1970 refers to year = 1970
team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'
Which team(s) had 90% games won. List the coach ID for the team and year played.
team with 90% games won refers to Divide (won, games) > 0.9
more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name
the most turnovers refers to max(turnovers); missed the playoffs refers to PostGP = 0; in year 1988 refers to year = 1988
name of team refers to teams.name; between 1980 and 2000 refers to year between 1980 and 2000; ranked first five or more times refers to count(rank = 1) > = 5; lost a league two or more times refers to lost > 2
full name refers to teams.name
more than 2 different teams refers to count(tmID) > 2
the most rebounds refers to max(rebounds)
team refers to tmID; the highest point per minute refers to max(divide(points, minutes)); NBA refers to lgID = 'NBA'; from 1991 to 2000 refers to year BETWEEN 1991 AND 2000
born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3
2001 refers to year = 2001; rebounds leader refers to max(rebounds); birthday refers to birthDate
percentage of winning at the home = Divide(homeWon, won) * 100
How many teams have played more than 3800 points and have player with "Most Valuable Player" award?
played more than 3800 points refers to Sum(points) > = 3800
completed in the Western conference refers to conference = 'West'; in season 2006 refers to season_id = 2006; total of two blocks refers to blocks = 2; nickname refers to nameNick
most assist refers to Max(assists); in 1985 All Star season refers to season_id = 1985
born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3
full name refers to firstName, middleName, lastName; in the year 1997 refers to year = 1997; the most steals refers to max(steals)
in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID
team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'
team refers to tmID; quarterfinal refers to round = 'QF'; score 3,513 defensive points refers to d_pts > = 3513
player refers to playerID; the most game presentations refers to max(GP); in 2020 refers to year = 2020; NBA season refers to lgID = 'NBA'
player name refers to playerID; the youngest refers to max(birthDate); won "Rookie of the Year" refers to award = 'Rookie of the Year'
the same starting player refers to GP = GS; full name of the team refers to teams.name
What is the full name of the team that has the most players from UCLA?
"UCLA" is the college; team with most players refers to tmID where Max(Count(playerID))
in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID
in 2010 refers to year = 2010; attended high school in Chicago refers to college = 'Chicago'
born in Winter Haven refers to birthCity = 'Winter Haven'; during the 1980s in All-Stars refers to season_id = 1980; played in 12 minutes  per season refers to minutes = 12
team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010
average BMI refers to AVG (Multiply(Divide(weight, Multiply(height, height)), 703))
the Most improved Player refers to award = 'Most Improved Player'; from 1985-1990 refers to year between 1985 and 1990; country is USA refers to birthCountry = 'USA'
NBA refers to lgID = 'NBA'; in 1996 season refers to season_id = 1996; more than 70% free throw rate refers to ft_made > = 0 AND ft_attempted > 0 AND divide(ft_made, ft_attempted) > 0.7
full attendance refers to GP = 82; in 1995 refers to year = 1995; the most turnovers refers to max(turnovers); full name refers to first_name, last_name
"ABA" is the lgID; from 1972 to 1973 refers to year = 1972 and year = 1973; team with the fastest growth in winning rate = Max(Subtract(Divide(won where year = 1973, Sum(won, lost)),Divide(won where year = 1972, Sum(won, lost))))
shortest player refers to Min(height); black players refers to race = 'B'
Please list the top three shortest black players.
shortest player refers to Min(height); black players refers to race = 'B'
"BLB" is the tmID
born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3
"Denver Nuggets" is the name of team; since 1980 refers to year > 1980; tallest player = Max(height)
in 1998 refers to year = 1998; 1st round refers to draftRound = 1; 12th pick refers to draftSelection = 12; home win refers to homeWon
the same starting player refers to GP = GS; full name of the team refers to teams.name
born in Winter Haven refers to birthCity = 'Winter Haven'; during the 1980s in All-Stars refers to season_id = 1980; played in 12 minutes  per season refers to minutes = 12
player name refers to playerID; the youngest refers to max(birthDate); won "Rookie of the Year" refers to award = 'Rookie of the Year'
in year 2000 refers to year = 2000; percentage = divide(sum(o_rebounds), sum(rebounds)) * 100%
player refers to playerID; the most game presentations refers to max(GP); in 2020 refers to year = 2020; NBA season refers to lgID = 'NBA'
weigh 40% less than the heaviest player refers to weight = Multiply(Max (weight), 0.6); league refers to lgID
Which player from Wake Forest college did the most offensive rebounds than defensive rebounds in the all-star? Please mention the full name of the player including the middle name if have any.
Wake Forest college refers to highSchool = 'Wake Forest college'; did the most offensive rebounds than defensive rebounds refers to max(subtract(sum(oRebounds), sum(dRebounds))); full name refers to first_name, middle_name, last_name
didn't play in playoffs refers to PostGP = 0; in the year 1997 refers to year = 1997; the most total rebounds refers to max(o_tmRebound)
NBA refers to lgID = 'NBA'; didn't play in the playoffs refers to PostGP = 0; 2000 refers to year = 2000; the most winning rate refers to max(divide(won, add(won, lost)))
weigh 40% less than the heaviest player refers to weight = Multiply(Max (weight), 0.6); league refers to lgID
"AFS" is the tmID; tallest height refers to Max(height)
more than 2 different teams refers to count(tmID) > 2
highest home lost rate = Max(Divide(homelost, Sum(homeWon, homeLost)))
1973 season refers to season_id = 1973; black refers to race = 'B'
the Most improved Player refers to award = 'Most Improved Player'; from 1985-1990 refers to year between 1985 and 1990; country is USA refers to birthCountry = 'USA'
NBA refers to lgID = 'NBA'; in 1996 season refers to season_id = 1996; more than 70% free throw rate refers to ft_made > = 0 AND ft_attempted > 0 AND divide(ft_made, ft_attempted) > 0.7
full name refers to firstName, middleName, lastName; in 1973 refers to year = 1973; not born in USA refers to birthCountry <> 'USA'
What is the percentage of player who won "All-Defensive First Team" from 1980 - 2000 is from 'NY'.
"All-Defensive First Team" is the award; ' NY' is the birthState; 1980 to 2000 refers to year between 1980 and 2000; percentage = Divide (Count(playerID where birthState = 'NY'), Count(playerID)) * 100
name of the university refers to highSchool; NBA refers to lgID = 'NBA'; Finals MVP refers to award = 'Finals MVP'; in 1990 refers to year = 1990
"Chicago Bull" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979
played more than 3800 points refers to Sum(points) > = 3800
coach refers to coachID; Oklahoma City Thunder refers to name = 'Oklahoma City Thunder'
name of team refers to teams.name; between 1980 and 2000 refers to year between 1980 and 2000; ranked first five or more times refers to count(rank = 1) > = 5; lost a league two or more times refers to lost > 2
team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010
"NBA" is the lgID; server more than 2 teams refers to Count(tmID) = 2
team name refers to teams.name; drafted from 'Seattle' refers to draftFrom = 'Seattle'; between year 1965 to 1970 refers to draftYear between 1965 and 1970
in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID
NBA refers to lgID = 'NBA'; didn't play in the playoffs refers to PostGP = 0; 2000 refers to year = 2000; the most winning rate refers to max(divide(won, add(won, lost)))
Among the coaches who won the 'ABA Coach of the Year' award, which is the coach with the highest number of won games?
"ABA Coach of the Year" is the award; highest number of won games refers to Max(Count(won))
highest home lost rate = Max(Divide(homelost, Sum(homeWon, homeLost)))
"Denver Nuggets" is the name of team; since 1980 refers to year > 1980; tallest player = Max(height)
Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5
from 1960 to 1970 refers to season_id between 1960 and 1970; still alive refers to deathDate = '0000-00-00'
more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name
"Chicago Bull" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979
the latest passing refers to max(season_id); play all the positions refers to pos like '%C%' or pos like '%F%' or pos like '%G%'
more than 50 games won refers to won > 50
full name refers to firstName, middleName, lastName; in 1973 refers to year = 1973; not born in USA refers to birthCountry <> 'USA'
in year '1988' refers to year = 1988; the most 'won' than 'lost' refers to max(subtract(won, lost))
List out all the coach ID who have served more than 2 different teams.
more than 2 different teams refers to count(tmID) > 2
the latest passing refers to max(season_id); play all the positions refers to pos like '%C%' or pos like '%F%' or pos like '%G%'
most assist refers to Max(assists); in 1985 All Star season refers to season_id = 1985
the most rebounds refers to max(rebounds)
from 1962 to 2011 refers to year between 1960 and 2011; received both NBA and ABA award refers to coachID where award LIKE 'NBA%' and 'ABA%'
team refers to tmID; MVP refers to award like '%MVP'; 1997 refers to year = 1997; NBA refers to lgID = 'NBA'
full name refers to firstName, middleName, lastName; in the year 1997 refers to year = 1997; the most steals refers to max(steals)
"Chicago Bull" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979
Auburn University refers to college = 'Auburn'; won an "All-Defensive Second Team" award refers to award = 'All-Defensive Second Team'; percentage = divide(count(playerID where award = 'All-Defensive Second Team'), count(playerID)) where college = 'Auburn' * 100%
won the most MVP refers to Max(Count(award = 'Most Valuable Player'))
Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5
How many players, in games played in 1990, achieved 50% or less of oRebounds than dRebounds.
in 1990 refers to season_id = 1990; 50% or less of oRebounds than dRebounds refers to o_rebounds < = multiply(d_rebounds, 0.5)
"NBA Coach of the Year" is the award; in 1977 refers to year = 1977; in 1976 refers to year = 1976; division refers to divisionID
high school in Chicago refers to hsCity = 'Chicago'; belong to the west conference refers to divID = 'WE'
full name refers to teams.name
weigh 40% less than the heaviest player refers to weight = Multiply(Max (weight), 0.6); league refers to lgID
player name refers to playerID; the youngest refers to max(birthDate); won "Rookie of the Year" refers to award = 'Rookie of the Year'
"Rookie of the Year" is the award; average weight = Divide (Sum(weight), Count(playerID))
beat the Huston refers to tmIDLoser = 'HSM';  in final round of post season refers to round = 'DSF'
full name of the team refers to teams.name; in 2001 refers to year = 2001; didn't make the playoffs refers to PostGP = 0; won the most games refers to max(won)
"NBL" is the lgID; 'Spencer' is the birthCity
full name refers to firstName, middleName, lastName; in 1973 refers to year = 1973; not born in USA refers to birthCountry <> 'USA'
Give the player id of the man who had the most turnovers whose team missed the playoffs in year 1988.
the most turnovers refers to max(turnovers); missed the playoffs refers to PostGP = 0; in year 1988 refers to year = 1988
team name refers to teams.name; drafted from 'Seattle' refers to draftFrom = 'Seattle'; between year 1965 to 1970 refers to draftYear between 1965 and 1970
full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the "Finals MVP" refers to award = 'Finals MVP'; in 2003 refers to year = 2003
the same starting player refers to GP = GS; full name of the team refers to teams.name
from 1962 to 2011 refers to year between 1960 and 2011; received both NBA and ABA award refers to coachID where award LIKE 'NBA%' and 'ABA%'
player name refers to playerID; the youngest refers to max(birthDate); won "Rookie of the Year" refers to award = 'Rookie of the Year'
highest home lost rate = Max(Divide(homelost, Sum(homeWon, homeLost)))
1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID
won the most MVP refers to Max(Count(award = 'Most Valuable Player'))
2001 refers to year = 2001; rebounds leader refers to max(rebounds); birthday refers to birthDate
1973 season refers to season_id = 1973; black refers to race = 'B'
Who is the longest serving coach from year 1970 to 1980. List the coach ID and the team(s) he served.
1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID
between 1975 and 1980 refers to year between 1975 and 1980; player abdulka01 refers to playerID = 'abdulka01'; play for LAL refers to tmID = 'LAL'
Most Valuable Player award refers to award = 'Most Valuable Player'; from 1969 to 1975 refers to year between 1969 and 1975
year 1990-1995 refers to year between 1990 and 1995; 'adelmri01' is the coachID; offense point refers to o_fgm
"AFS" is the tmID; tallest height refers to Max(height)
BMI = Multiply(Divide(weight, Multiply(height, height)), 703)
full attendance refers to GP = 82; in 1995 refers to year = 1995; the most turnovers refers to max(turnovers); full name refers to first_name, last_name
team refers to tmID; the highest point per minute refers to max(divide(points, minutes)); NBA refers to lgID = 'NBA'; from 1991 to 2000 refers to year BETWEEN 1991 AND 2000
the most turnovers refers to max(turnovers); missed the playoffs refers to PostGP = 0; in year 1988 refers to year = 1988
"BLB" is the tmID
minimum weight refers to Min(weight)
Which NBA team that didn't play in playoffs had the most winning rate in the 2000 NBA regular season?
NBA refers to lgID = 'NBA'; didn't play in the playoffs refers to PostGP = 0; 2000 refers to year = 2000; the most winning rate refers to max(divide(won, add(won, lost)))
Wake Forest college refers to highSchool = 'Wake Forest college'; did the most offensive rebounds than defensive rebounds refers to max(subtract(sum(oRebounds), sum(dRebounds))); full name refers to first_name, middle_name, last_name
"NBA" is the lgID; server more than 2 teams refers to Count(tmID) = 2
didn't play in playoffs refers to PostGP = 0; in the year 1997 refers to year = 1997; the most total rebounds refers to max(o_tmRebound)
Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5
average height refers to avg(height)
full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the "Finals MVP" refers to award = 'Finals MVP'; in 2003 refers to year = 2003
from 1960 to 1970 refers to season_id between 1960 and 1970; still alive refers to deathDate = '0000-00-00'
weigh 40% less than the heaviest player refers to weight = Multiply(Max (weight), 0.6); league refers to lgID
"All-Defensive First Team" is the award; ' NY' is the birthState; 1980 to 2000 refers to year between 1980 and 2000; percentage = Divide (Count(playerID where birthState = 'NY'), Count(playerID)) * 100
the most rebounds refers to max(rebounds)
Among the players who went to high school in Chicago, how many of them belongs to the west conference?
high school in Chicago refers to hsCity = 'Chicago'; belong to the west conference refers to divID = 'WE'
from 1962 to 2011 refers to year between 1960 and 2011; received both NBA and ABA award refers to coachID where award LIKE 'NBA%' and 'ABA%'
full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the "Finals MVP" refers to award = 'Finals MVP'; in 2003 refers to year = 2003
higher than 75 inch refers to height > 75
home won than home lost more than 80% refers to Divide(Subtract(homeWon, homeLost), games) > 0.8; offense point refers to o_fgm
average BMI refers to AVG (Multiply(Divide(weight, Multiply(height, height)), 703))
in 1969 refers to year = 1969; awarded "NBA Coach of the Year" refers to award = 'NBA Coach of the Year'; percentage = divide(count(coachID where year = 1969 and award = 'NBA Coach of the Year'), count(coachID)) * 100%
percentage of winning at the home = Divide(homeWon, won) * 100
completed in the Western conference refers to conference = 'West'; in season 2006 refers to season_id = 2006; total of two blocks refers to blocks = 2; nickname refers to nameNick
in 2010 refers to year = 2010; attended high school in Chicago refers to college = 'Chicago'
"UCLA" is the college; team with most players refers to tmID where Max(Count(playerID))
Which team had more than one player who grabbed more than 600 rebounds in 2011? Give the full name of the team.
more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name
in year '1988' refers to year = 1988; the most 'won' than 'lost' refers to max(subtract(won, lost))
higher than 75 inch refers to height > 75
in 1973 refers to year = 1973; player with highest field goal made refers to Max(Divide(fgMade, fgAttempted))
"AFS" is the tmID; tallest height refers to Max(height)
played more than 3800 points refers to Sum(points) > = 3800
"NBA Coach of the Year" is the award; in 1977 refers to year = 1977; in 1976 refers to year = 1976; division refers to divisionID
the most turnovers refers to max(turnovers); missed the playoffs refers to PostGP = 0; in year 1988 refers to year = 1988
2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID
from 1962 to 2011 refers to year between 1960 and 2011; received both NBA and ABA award refers to coachID where award LIKE 'NBA%' and 'ABA%'
between 1975 and 1980 refers to year between 1975 and 1980; player abdulka01 refers to playerID = 'abdulka01'; play for LAL refers to tmID = 'LAL'
Of all the All-star players who played in the Eastern Conference for no more than 5 minutes, how many went to Illinois College?
Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5
"AFS" is the tmID; tallest height refers to Max(height)
won the most MVP refers to Max(Count(award = 'Most Valuable Player'))
team with 90% games won refers to Divide (won, games) > 0.9
the scoring champion refers to max(won); 2001 refers to year = 2001; NBA refers to lgID = 'NBA'
"BLB" is the tmID
team name refers to teams.name; drafted from 'Seattle' refers to draftFrom = 'Seattle'; between year 1965 to 1970 refers to draftYear between 1965 and 1970
full name refers to teams.name
in 1973 refers to year = 1973; player with highest field goal made refers to Max(Divide(fgMade, fgAttempted))
played more than 3800 points refers to Sum(points) > = 3800
"Denver Nuggets" is the name of team; since 1980 refers to year > 1980; tallest player = Max(height)
For the latest passing player who could play all the positions in the court, how many points did he have in his career?
the latest passing refers to max(season_id); play all the positions refers to pos like '%C%' or pos like '%F%' or pos like '%G%'
Most Valuable Player award refers to award = 'Most Valuable Player'; from 1969 to 1975 refers to year between 1969 and 1975
Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5
between 1951 and 1953 refers to season_id; field goal refers to fg_made
the most rebounds refers to max(rebounds)
full attendance refers to GP = 82; in 1995 refers to year = 1995; the most turnovers refers to max(turnovers); full name refers to first_name, last_name
the same starting player refers to GP = GS; full name of the team refers to teams.name
most assist refers to Max(assists); in 1985 All Star season refers to season_id = 1985
the most turnovers refers to max(turnovers); missed the playoffs refers to PostGP = 0; in year 1988 refers to year = 1988
NBA refers to lgID = 'NBA'; didn't play in the playoffs refers to PostGP = 0; 2000 refers to year = 2000; the most winning rate refers to max(divide(won, add(won, lost)))
Wake Forest college refers to highSchool = 'Wake Forest college'; did the most offensive rebounds than defensive rebounds refers to max(subtract(sum(oRebounds), sum(dRebounds))); full name refers to first_name, middle_name, last_name
Which teams have winning rate less than 50%?
team with winning rate less than 50% refers to Divide (won, Sum(won, lost)) < 0.5
highest home lost rate = Max(Divide(homelost, Sum(homeWon, homeLost)))
"BLB" is the tmID
champion refers to round = 'F'; team name refers to teams.name; from year 1950 to 1960 refers to year between 1950 and 1960
full attendance refers to GP = 82; in 1995 refers to year = 1995; the most turnovers refers to max(turnovers); full name refers to first_name, last_name
born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3
more than 50 games won refers to won > 50
full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the "Finals MVP" refers to award = 'Finals MVP'; in 2003 refers to year = 2003
minimum weight refers to Min(weight)
won the most MVP refers to Max(Count(award = 'Most Valuable Player'))
team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010
For the 2001 rebounds leader in the league, when was his birthday?
2001 refers to year = 2001; rebounds leader refers to max(rebounds); birthday refers to birthDate
the most turnovers refers to max(turnovers); missed the playoffs refers to PostGP = 0; in year 1988 refers to year = 1988
percentage of winning at the home = Divide(homeWon, won) * 100
team with winning rate less than 50% refers to Divide (won, Sum(won, lost)) < 0.5
full name refers to firstName, middleName, lastName; in the year 1997 refers to year = 1997; the most steals refers to max(steals)
the latest passing refers to max(season_id); play all the positions refers to pos like '%C%' or pos like '%F%' or pos like '%G%'
home won than home lost more than 80% refers to Divide(Subtract(homeWon, homeLost), games) > 0.8; offense point refers to o_fgm
college refers to highSchool; won the most award refers to max(count(award)); in 1970 refers to year = 1970
didn't play in playoffs refers to PostGP = 0; in the year 1997 refers to year = 1997; the most total rebounds refers to max(o_tmRebound)
"Chicago Bull" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979
average height refers to avg(height)
Which are the teams coached by 'adelmri01' from year 1990-1995. List the team name, year and offense point.
year 1990-1995 refers to year between 1990 and 1995; 'adelmri01' is the coachID; offense point refers to o_fgm
2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID
"ABA" is the lgID; from 1972 to 1973 refers to year = 1972 and year = 1973; team with the fastest growth in winning rate = Max(Subtract(Divide(won where year = 1973, Sum(won, lost)),Divide(won where year = 1972, Sum(won, lost))))
in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name
served more than 2 NBA teams refers to count (tmID) > = 2; least number of game lost in post season refers to Min(post_losses)
more than 50 games won refers to won > 50
1973 season refers to season_id = 1973; black refers to race = 'B'
"All-Defensive First Team" is the award; ' NY' is the birthState; 1980 to 2000 refers to year between 1980 and 2000; percentage = Divide (Count(playerID where birthState = 'NY'), Count(playerID)) * 100
average BMI refers to AVG (Multiply(Divide(weight, Multiply(height, height)), 703))
Auburn University refers to college = 'Auburn'; won an "All-Defensive Second Team" award refers to award = 'All-Defensive Second Team'; percentage = divide(count(playerID where award = 'All-Defensive Second Team'), count(playerID)) where college = 'Auburn' * 100%
"Chicago Bull" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979
In the year 1998, how many home wins did the team which had the 1st round, 12th pick have that year?
in 1998 refers to year = 1998; 1st round refers to draftRound = 1; 12th pick refers to draftSelection = 12; home win refers to homeWon
NBA refers to lgID = 'NBA'; didn't play in the playoffs refers to PostGP = 0; 2000 refers to year = 2000; the most winning rate refers to max(divide(won, add(won, lost)))
the same starting player refers to GP = GS; full name of the team refers to teams.name
"NBA Coach of the Year" is the award; in 1977 refers to year = 1977; in 1976 refers to year = 1976; division refers to divisionID
team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010
won the most MVP refers to Max(Count(award = 'Most Valuable Player'))
player name refers to playerID; the youngest refers to max(birthDate); won "Rookie of the Year" refers to award = 'Rookie of the Year'
team refers to tmID; the highest point per minute refers to max(divide(points, minutes)); NBA refers to lgID = 'NBA'; from 1991 to 2000 refers to year BETWEEN 1991 AND 2000
team with 90% games won refers to Divide (won, games) > 0.9
in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name
more than 2 different teams refers to count(tmID) > 2
Please list the top five players with the most steals in the year 1997. Please give their full name.
full name refers to firstName, middleName, lastName; in the year 1997 refers to year = 1997; the most steals refers to max(steals)
name of team refers to teams.name; between 1980 and 2000 refers to year between 1980 and 2000; ranked first five or more times refers to count(rank = 1) > = 5; lost a league two or more times refers to lost > 2
shortest player refers to Min(height); black players refers to race = 'B'
more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name
2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID
the latest passing refers to max(season_id); play all the positions refers to pos like '%C%' or pos like '%F%' or pos like '%G%'
most assist refers to Max(assists); in 1985 All Star season refers to season_id = 1985
higher than 75 inch refers to height > 75
champion refers to round = 'F'; team name refers to teams.name; from year 1950 to 1960 refers to year between 1950 and 1960
in 1937 refers to year = 1937; player got at least 500 points refers to Sum(points) > = 500
in 1998 refers to year = 1998; 1st round refers to draftRound = 1; 12th pick refers to draftSelection = 12; home win refers to homeWon
List all the coatches of the Oklahoma City Thunder
coach refers to coachID; Oklahoma City Thunder refers to name = 'Oklahoma City Thunder'
completed in the Western conference refers to conference = 'West'; in season 2006 refers to season_id = 2006; total of two blocks refers to blocks = 2; nickname refers to nameNick
team with winning rate less than 50% refers to Divide (won, Sum(won, lost)) < 0.5
more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name
highest home lost rate = Max(Divide(homelost, Sum(homeWon, homeLost)))
team refers to tmID; the highest point per minute refers to max(divide(points, minutes)); NBA refers to lgID = 'NBA'; from 1991 to 2000 refers to year BETWEEN 1991 AND 2000
full name refers to firstName, middleName, lastName; in the year 1997 refers to year = 1997; the most steals refers to max(steals)
minimum weight refers to Min(weight)
percentage of winning at the home = Divide(homeWon, won) * 100
served more than 2 NBA teams refers to count (tmID) > = 2; least number of game lost in post season refers to Min(post_losses)
the year 1990 and 2007 refers to year BETWEEN 1990 AND 2007; exceed 75% of defensive rebounds refers to Divide (dRebounds, rebounds) * 100 > 75
What is the average BMI of an All-star player?
average BMI refers to AVG (Multiply(Divide(weight, Multiply(height, height)), 703))
in 1973 refers to year = 1973; player with highest field goal made refers to Max(Divide(fgMade, fgAttempted))
1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID
team with 90% games won refers to Divide (won, games) > 0.9
more than 2 different teams refers to count(tmID) > 2
percentage of winning at the home = Divide(homeWon, won) * 100
NBA refers to lgID = 'NBA'; didn't play in the playoffs refers to PostGP = 0; 2000 refers to year = 2000; the most winning rate refers to max(divide(won, add(won, lost)))
2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID
in 1969 refers to year = 1969; awarded "NBA Coach of the Year" refers to award = 'NBA Coach of the Year'; percentage = divide(count(coachID where year = 1969 and award = 'NBA Coach of the Year'), count(coachID)) * 100%
name of the university refers to highSchool; NBA refers to lgID = 'NBA'; Finals MVP refers to award = 'Finals MVP'; in 1990 refers to year = 1990
greater than 75% lost refers to Divide(lost, games) > 0.75; team refers to tmID
Which team had the most same starting players througout the season? Give the full name of the team.
the same starting player refers to GP = GS; full name of the team refers to teams.name
NBA refers to lgID = 'NBA'; in 1996 season refers to season_id = 1996; more than 70% free throw rate refers to ft_made > = 0 AND ft_attempted > 0 AND divide(ft_made, ft_attempted) > 0.7
in 1937 refers to year = 1937; player got at least 500 points refers to Sum(points) > = 500
full name refers to teams.name
"Rookie of the Year" is the award; average weight = Divide (Sum(weight), Count(playerID))
from 1960 to 1970 refers to season_id between 1960 and 1970; still alive refers to deathDate = '0000-00-00'
"Denver Nuggets" is the name of team; since 1980 refers to year > 1980; tallest player = Max(height)
didn't play in playoffs refers to PostGP = 0; in the year 1997 refers to year = 1997; the most total rebounds refers to max(o_tmRebound)
in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID
between 1975 and 1980 refers to year between 1975 and 1980; player abdulka01 refers to playerID = 'abdulka01'; play for LAL refers to tmID = 'LAL'
team name refers to teams.name; drafted from 'Seattle' refers to draftFrom = 'Seattle'; between year 1965 to 1970 refers to draftYear between 1965 and 1970
From which college was the player who won the most award in 1970.
college refers to highSchool; won the most award refers to max(count(award)); in 1970 refers to year = 1970
the year 1990 and 2007 refers to year BETWEEN 1990 AND 2007; exceed 75% of defensive rebounds refers to Divide (dRebounds, rebounds) * 100 > 75
drafted in the 1st round refers to draftRound = 1; 6th position refers to draftSelection = 6; in 1976 refers to year = 1976; team refers to tmID
highest home lost rate = Max(Divide(homelost, Sum(homeWon, homeLost)))
in 1969 refers to year = 1969; awarded "NBA Coach of the Year" refers to award = 'NBA Coach of the Year'; percentage = divide(count(coachID where year = 1969 and award = 'NBA Coach of the Year'), count(coachID)) * 100%
in 1973 refers to year = 1973; player with highest field goal made refers to Max(Divide(fgMade, fgAttempted))
from 1937 to 1940 refers to year between 1937 and 1940; player with highest point refers to Max(points)
team with winning rate less than 50% refers to Divide (won, Sum(won, lost)) < 0.5
the Most improved Player refers to award = 'Most Improved Player'; from 1985-1990 refers to year between 1985 and 1990; country is USA refers to birthCountry = 'USA'
born in Winter Haven refers to birthCity = 'Winter Haven'; during the 1980s in All-Stars refers to season_id = 1980; played in 12 minutes  per season refers to minutes = 12
in 2010 refers to year = 2010; attended high school in Chicago refers to college = 'Chicago'
In which league did the player who weighs 40% less than the heaviest player and whose height is 80 inches play?
weigh 40% less than the heaviest player refers to weight = Multiply(Max (weight), 0.6); league refers to lgID
born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3
completed in the Western conference refers to conference = 'West'; in season 2006 refers to season_id = 2006; total of two blocks refers to blocks = 2; nickname refers to nameNick
year 1990-1995 refers to year between 1990 and 1995; 'adelmri01' is the coachID; offense point refers to o_fgm
minimum weight refers to Min(weight)
average height refers to avg(height)
more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name
coach refers to coachID; Oklahoma City Thunder refers to name = 'Oklahoma City Thunder'
1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID
Most Valuable Player award refers to award = 'Most Valuable Player'; from 1969 to 1975 refers to year between 1969 and 1975
player refers to playerID; the most game presentations refers to max(GP); in 2020 refers to year = 2020; NBA season refers to lgID = 'NBA'
What is the full name of the team with the fastest growth in winning rate in the 'ABA' league from 1972 to 1973?
"ABA" is the lgID; from 1972 to 1973 refers to year = 1972 and year = 1973; team with the fastest growth in winning rate = Max(Subtract(Divide(won where year = 1973, Sum(won, lost)),Divide(won where year = 1972, Sum(won, lost))))
"NBL" is the lgID; 'Spencer' is the birthCity
Most Valuable Player award refers to award = 'Most Valuable Player'; from 1969 to 1975 refers to year between 1969 and 1975
in year 2000 refers to year = 2000; percentage = divide(sum(o_rebounds), sum(rebounds)) * 100%
NBA refers to lgID = 'NBA'; in 1996 season refers to season_id = 1996; more than 70% free throw rate refers to ft_made > = 0 AND ft_attempted > 0 AND divide(ft_made, ft_attempted) > 0.7
in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID
most assist refers to Max(assists); in 1985 All Star season refers to season_id = 1985
full name refers to firstName, middleName, lastName; in 1973 refers to year = 1973; not born in USA refers to birthCountry <> 'USA'
the scoring champion refers to max(won); 2001 refers to year = 2001; NBA refers to lgID = 'NBA'
average height refers to avg(height)
full name of the team refers to teams.name; in 2001 refers to year = 2001; didn't make the playoffs refers to PostGP = 0; won the most games refers to max(won)
What is the first and last name of the player with the highest field goal made rate in 1973?
in 1973 refers to year = 1973; player with highest field goal made refers to Max(Divide(fgMade, fgAttempted))
"All-Defensive First Team" is the award; ' NY' is the birthState; 1980 to 2000 refers to year between 1980 and 2000; percentage = Divide (Count(playerID where birthState = 'NY'), Count(playerID)) * 100
in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name
in 1998 refers to year = 1998; 1st round refers to draftRound = 1; 12th pick refers to draftSelection = 12; home win refers to homeWon
completed in the Western conference refers to conference = 'West'; in season 2006 refers to season_id = 2006; total of two blocks refers to blocks = 2; nickname refers to nameNick
full name refers to firstName, middleName, lastName; age = subtract(2003, year(birthDate)); won the "Finals MVP" refers to award = 'Finals MVP'; in 2003 refers to year = 2003
higher than 75 inch refers to height > 75
"Rookie of the Year" is the award; average weight = Divide (Sum(weight), Count(playerID))
name of the university refers to highSchool; NBA refers to lgID = 'NBA'; Finals MVP refers to award = 'Finals MVP'; in 1990 refers to year = 1990
"AFS" is the tmID; tallest height refers to Max(height)
most assist refers to Max(assists); in 1985 All Star season refers to season_id = 1985
Name the youngest player who ever won "Rookie of the Year".
player name refers to playerID; the youngest refers to max(birthDate); won "Rookie of the Year" refers to award = 'Rookie of the Year'
BMI = Multiply(Divide(weight, Multiply(height, height)), 703)
NBA refers to lgID = 'NBA'; in 1996 season refers to season_id = 1996; more than 70% free throw rate refers to ft_made > = 0 AND ft_attempted > 0 AND divide(ft_made, ft_attempted) > 0.7
born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3
Auburn University refers to college = 'Auburn'; won an "All-Defensive Second Team" award refers to award = 'All-Defensive Second Team'; percentage = divide(count(playerID where award = 'All-Defensive Second Team'), count(playerID)) where college = 'Auburn' * 100%
high school in Chicago refers to hsCity = 'Chicago'; belong to the west conference refers to divID = 'WE'
full name refers to firstName, middleName, lastName; in 1973 refers to year = 1973; not born in USA refers to birthCountry <> 'USA'
full name of the team refers to teams.name; in 2001 refers to year = 2001; didn't make the playoffs refers to PostGP = 0; won the most games refers to max(won)
"BLB" is the tmID
average height refers to avg(height)
between 1975 and 1980 refers to year between 1975 and 1980; player abdulka01 refers to playerID = 'abdulka01'; play for LAL refers to tmID = 'LAL'
How many players received Most Valuable Player award from 1969 to 1975?
Most Valuable Player award refers to award = 'Most Valuable Player'; from 1969 to 1975 refers to year between 1969 and 1975
minimum weight refers to Min(weight)
shortest player refers to Min(height); black players refers to race = 'B'
full name refers to teams.name
champion refers to round = 'F'; team name refers to teams.name; from year 1950 to 1960 refers to year between 1950 and 1960
born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3
in 1969 refers to year = 1969; awarded "NBA Coach of the Year" refers to award = 'NBA Coach of the Year'; percentage = divide(count(coachID where year = 1969 and award = 'NBA Coach of the Year'), count(coachID)) * 100%
home won than home lost more than 80% refers to Divide(Subtract(homeWon, homeLost), games) > 0.8; offense point refers to o_fgm
team refers to tmID; the highest point per minute refers to max(divide(points, minutes)); NBA refers to lgID = 'NBA'; from 1991 to 2000 refers to year BETWEEN 1991 AND 2000
average height refers to avg(height)
the most rebounds refers to max(rebounds)
Please list down the last name of players from "BLB" team.
"BLB" is the tmID
1973 season refers to season_id = 1973; black refers to race = 'B'
BMI = Multiply(Divide(weight, Multiply(height, height)), 703)
in year 2000 refers to year = 2000; percentage = divide(sum(o_rebounds), sum(rebounds)) * 100%
home won than home lost more than 80% refers to Divide(Subtract(homeWon, homeLost), games) > 0.8; offense point refers to o_fgm
the most turnovers refers to max(turnovers); missed the playoffs refers to PostGP = 0; in year 1988 refers to year = 1988
between 1975 and 1980 refers to year between 1975 and 1980; player abdulka01 refers to playerID = 'abdulka01'; play for LAL refers to tmID = 'LAL'
2001 refers to year = 2001; rebounds leader refers to max(rebounds); birthday refers to birthDate
minimum weight refers to Min(weight)
champion refers to round = 'F'; team name refers to teams.name; from year 1950 to 1960 refers to year between 1950 and 1960
2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID
Which coach has the most 'won' than 'lost' in year '1988'?
in year '1988' refers to year = 1988; the most 'won' than 'lost' refers to max(subtract(won, lost))
between 1951 and 1953 refers to season_id; field goal refers to fg_made
1970 to 1980 refers to year between 1970 and 1980; longest serving coach Max(Count(coachID)); team(s) he served refers to tmID
Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5
name of team refers to teams.name; between 1980 and 2000 refers to year between 1980 and 2000; ranked first five or more times refers to count(rank = 1) > = 5; lost a league two or more times refers to lost > 2
the most rebounds refers to max(rebounds)
player refers to playerID; the most game presentations refers to max(GP); in 2020 refers to year = 2020; NBA season refers to lgID = 'NBA'
percentage of winning at the home = Divide(homeWon, won) * 100
"ABA" is the lgID; from 1972 to 1973 refers to year = 1972 and year = 1973; team with the fastest growth in winning rate = Max(Subtract(Divide(won where year = 1973, Sum(won, lost)),Divide(won where year = 1972, Sum(won, lost))))
NBA refers to lgID = 'NBA'; 'LAL' team refers to tmID = 'LAL'; performed steals movement refers to steals > 0; percent = divide(count(playerID where steals > 0), count(playerID)) where lgID = 'NBA' and tmID = 'LAL' * 100%
in 2010 refers to year = 2010; attended high school in Chicago refers to college = 'Chicago'
How many All Star players who played in the 1973 season were black?
1973 season refers to season_id = 1973; black refers to race = 'B'
the year 1990 and 2007 refers to year BETWEEN 1990 AND 2007; exceed 75% of defensive rebounds refers to Divide (dRebounds, rebounds) * 100 > 75
"ABA Coach of the Year" is the award; highest number of won games refers to Max(Count(won))
2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID
coach refers to coachID; Oklahoma City Thunder refers to name = 'Oklahoma City Thunder'
average BMI refers to AVG (Multiply(Divide(weight, Multiply(height, height)), 703))
born in Winter Haven refers to birthCity = 'Winter Haven'; during the 1980s in All-Stars refers to season_id = 1980; played in 12 minutes  per season refers to minutes = 12
in 1969 refers to year = 1969; awarded "NBA Coach of the Year" refers to award = 'NBA Coach of the Year'; percentage = divide(count(coachID where year = 1969 and award = 'NBA Coach of the Year'), count(coachID)) * 100%
full name refers to firstName, middleName, lastName; in the year 1997 refers to year = 1997; the most steals refers to max(steals)
"Chicago Bull" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979
name of the university refers to highSchool; NBA refers to lgID = 'NBA'; Finals MVP refers to award = 'Finals MVP'; in 1990 refers to year = 1990
In the year 1997 allstar game, which teams did the players had the most rebounds play in? List their team ids.
in 1997 refers to year = 1997; the most rebounds refers to max(rebounds); team id refers to tmID
team name refers to teams.name; won the title 'NBA Coach of the Year' refers to award = 'NBA Coach of the Year'; in 2010 refers to year = 2010
in year 2000 refers to year = 2000; percentage = divide(sum(o_rebounds), sum(rebounds)) * 100%
in 1973 refers to year = 1973; player with highest field goal made refers to Max(Divide(fgMade, fgAttempted))
in 2000 refers to year = 2000; played the least minutes refers to min(minutes); without missing a single game refers to GP = 82; full name of the team refers to teams.name
2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID
in 1937 refers to year = 1937; player got at least 500 points refers to Sum(points) > = 500
1973 season refers to season_id = 1973; black refers to race = 'B'
between 1951 and 1953 refers to season_id; field goal refers to fg_made
champion refers to round = 'F'; team name refers to teams.name; from year 1950 to 1960 refers to year between 1950 and 1960
born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3
Which coach of the Chicago Bulls during the year 1981 won the NBA Coach of the Year award in the 1970s?
"Chicago Bull" is the name of team; during the year 1981 refers to year = 1981; 'NBA Coach of the Year' is the award; in the 1970s refers to year between 1970 to 1979
the most rebounds refers to max(rebounds)
team refers to tmID; quarterfinal refers to round = 'QF'; score 3,513 defensive points refers to d_pts > = 3513
NBA refers to lgID = 'NBA'; 'LAL' team refers to tmID = 'LAL'; performed steals movement refers to steals > 0; percent = divide(count(playerID where steals > 0), count(playerID)) where lgID = 'NBA' and tmID = 'LAL' * 100%
in 1990 refers to season_id = 1990; 50% or less of oRebounds than dRebounds refers to o_rebounds < = multiply(d_rebounds, 0.5)
"ABA Coach of the Year" is the award; highest number of won games refers to Max(Count(won))
more than 50 games won refers to won > 50
between 1951 and 1953 refers to season_id; field goal refers to fg_made
in 1937 refers to year = 1937; player got at least 500 points refers to Sum(points) > = 500
team with winning rate less than 50% refers to Divide (won, Sum(won, lost)) < 0.5
more than one player refers to count(playerID) > 1; grabbed more than 600 rebounds refers to rebounds > 600; in 2011 refers to 2011; full name refers to teams.name
In what year did the only team to beat the Houston in the final round of postseason series games earn its lowest ranking?
beat the Huston refers to tmIDLoser = 'HSM';  in final round of post season refers to round = 'DSF'
year 1990-1995 refers to year between 1990 and 1995; 'adelmri01' is the coachID; offense point refers to o_fgm
full name of the team refers to teams.name; in 2001 refers to year = 2001; didn't make the playoffs refers to PostGP = 0; won the most games refers to max(won)
BMI = Multiply(Divide(weight, Multiply(height, height)), 703)
final round of post season refers to round = 'CSF'; won against LAL refers to tmIDLoser = 'LAL'; in the NBA league refers to lgID = 'NBA'; won more than 60 games refers to won > 60
full name refers to teams.name
between 1975 and 1980 refers to year between 1975 and 1980; player abdulka01 refers to playerID = 'abdulka01'; play for LAL refers to tmID = 'LAL'
served more than 2 NBA teams refers to count (tmID) > = 2; least number of game lost in post season refers to Min(post_losses)
most assist refers to Max(assists); in 1985 All Star season refers to season_id = 1985
No.1 draft pick refers to draftRound = 1; in the 2003 season refers to draftyear = 2003; increase = subtract(divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2004, divide(sum(won), add(sum(won), sum(lost))) where draftyear = 2003)
"AFS" is the tmID; tallest height refers to Max(height)