Chinastark/bird_dataset huggingface dataset:
Database: professional_basketball
Question: Of all the All-star players who played in the Eastern Conference for no more than 5 minutes, how many went to Illinois College?
Evidence: Eastern conference refers to conference = 'East'; no more than 5 minutes refers to minutes < 5
SQL: SELECT COUNT(DISTINCT T1.playerID) FROM players AS T1 INNER JOIN player_allstar AS T2 ON T1.playerID = T2.playerID WHERE T2.conference = 'East' AND T2.minutes <= 5 AND T1.college = 'Illinois'
Database: professional_basketball
Question: Between the years 1990 and 2007, of the total rebounds achieved by each player, how many managed to exceed 75% of defensive rebounds?
Evidence: the year 1990 and 2007 refers to year BETWEEN 1990 AND 2007; exceed 75% of defensive rebounds refers to Divide (dRebounds, rebounds) * 100 > 75
SQL: SELECT COUNT(DISTINCT playerID) FROM player_allstar WHERE CAST(d_rebounds AS REAL) * 100 / rebounds > 75 AND season_id BETWEEN 1990 AND 2007
Database: professional_basketball
Question: in which year costela01 obtained the best balance of games won as a coach?
Evidence: "costela01" is the coachID; best balance of game won refers to Max(Divide(won, Sum(won, lost)))
SQL: SELECT year FROM coaches WHERE coachID = 'costela01' ORDER BY CAST(won AS REAL) / (won + lost) DESC LIMIT 1
Database: professional_basketball
Question: How many total minutes has the Brooklyn-born player, known by the name of Superman, played during all of his NBA All-Star seasons?
Evidence: "Brooklyn" is the birthCity of player; known by the name of Superman refers to nameNick like '%Superman%'; total minutes refers to Sum(minutes)
SQL: SELECT SUM(T2.minutes) FROM players AS T1 INNER JOIN player_allstar AS T2 ON T1.playerID = T2.playerID WHERE T1.birthCity = 'Brooklyn' AND T1.nameNick LIKE '%Superman%'
Database: professional_basketball
Question: Of all the teams coached by the winner of the 1994 NBA Coach of the Year award, which team has lost the most times playing at home?
Evidence: of 1994 refers to year = 1994; 'NBA Coach of the Year' is the award; lost the most time at home refers to Max(homeLost)
SQL: SELECT T3.tmID FROM awards_coaches AS T1 INNER JOIN coaches AS T2 ON T1.coachID = T2.coachID INNER JOIN teams AS T3 ON T3.tmID = T2.tmID WHERE T1.year = 1994 AND T1.award = 'NBA Coach of the Year' GROUP BY T3.tmID ORDER BY SUM(T3.homeLost) DESC LIMIT 1
Database: professional_basketball
Question: 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?
Evidence: 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
SQL: SELECT DISTINCT T2.tmID FROM series_post AS T1 INNER JOIN teams AS T2 ON T1.tmIDWinner = T2.tmID WHERE T2.won > 60 AND T1.year = 1996 AND T1.round = 'CSF' AND T1.tmIDLoser = 'LAL'
Database: professional_basketball
Question: In which league did the player who weighs 40% less than the heaviest player and whose height is 80 inches play?
Evidence: weigh 40% less than the heaviest player refers to weight = Multiply(Max (weight), 0.6); league refers to lgID
SQL: SELECT T2.lgID FROM players AS T1 INNER JOIN players_teams AS T2 ON T1.playerID = T2.playerID GROUP BY T2.lgID, T1.weight HAVING T1.weight = MAX(T1.weight) - MAX(T1.weight) * 0.4
Database: professional_basketball
Question: Please list the name of the coach who has served more than 2 NBA teams.
Evidence: "NBA" is the lgID; server more than 2 teams refers to Count(tmID) = 2
SQL: SELECT coachID FROM coaches GROUP BY coachID HAVING COUNT(DISTINCT tmID) > 2
Database: professional_basketball
Question: What is the name of the coach during whose period of coaching, a team has the most numbers of games won in the post-season games?
Evidence: the most number of game won in post season refers to Max(post_wins); coach refers to coachID
SQL: SELECT coachID FROM coaches ORDER BY post_wins DESC LIMIT 1
Database: professional_basketball
Question: 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?
Evidence: served more than 2 NBA teams refers to count (tmID) > = 2; least number of game lost in post season refers to Min(post_losses)
SQL: SELECT coachID FROM coaches WHERE lgID = 'NBA' AND post_wins != 0 AND post_losses != 0 AND coachID IN ( SELECT coachID FROM coaches WHERE lgID = 'NBA' GROUP BY coachID HAVING COUNT(tmID) > 2 ) ORDER BY post_losses ASC LIMIT 1
Database: professional_basketball
Question: Among the players from the ABA league, how many of them have the center position?
Evidence: "ABA" is the lgID; center position refers to pos =   'C' or pos = 'F-C'; players refers to playerID
SQL: SELECT COUNT(DISTINCT T1.playerID) FROM players AS T1 INNER JOIN players_teams AS T2 ON T1.playerID = T2.playerID WHERE T2.lgID = 'ABA' AND (T1.pos = 'C' OR T1.pos = 'F-C')
Database: professional_basketball
Question: Please list the first name of the players from the NBA league with the forward position.
Evidence: "NBA" is the lgID; with the forward position refers to pos = 'F' of pos = 'F-C'
SQL: SELECT DISTINCT T1.firstName FROM players AS T1 INNER JOIN players_teams AS T2 ON T1.playerID = T2.playerID WHERE (T1.pos = 'F' OR T1.pos = 'F-C') AND T2.lgID = 'NBA'
Database: professional_basketball
Question: Among the players who went to high school in Chicago, how many of them belongs to the west conference?
Evidence: high school in Chicago refers to hsCity = 'Chicago'; belong to the west conference refers to divID = 'WE'
SQL: SELECT COUNT(DISTINCT T1.playerID) FROM players AS T1 INNER JOIN player_allstar AS T2 ON T1.playerID = T2.playerID WHERE T1.hsCity = 'Chicago' AND T2.conference = 'West'
Database: professional_basketball
Question: For the players who belongs to the east conference, please list the name of the college they went to.
Evidence: belong to the east conference refers to divID = 'EA'
SQL: SELECT DISTINCT T1.college FROM players AS T1 INNER JOIN player_allstar AS T2 ON T1.playerID = T2.playerID WHERE T2.conference = 'East'
Database: professional_basketball
Question: Among the players from the NBL league, how many of them were born in Spencer?
Evidence: "NBL" is the lgID; 'Spencer' is the birthCity
SQL: SELECT COUNT(DISTINCT T1.playerID) FROM players AS T1 INNER JOIN players_teams AS T2 ON T1.playerID = T2.playerID WHERE T1.birthCity = 'Spencer' AND T2.lgID = 'NBL'
Database: professional_basketball
Question: Please list the birth date of the player who has won the most MVPs.
Evidence: won the most MVP refers to Max(Count(award = 'Most Valuable Player'))
SQL: SELECT T1.birthDate FROM players AS T1 INNER JOIN awards_players AS T2 ON T1.playerID = T2.playerID WHERE T2.award = 'Most Valuable Player' GROUP BY T1.playerID, T1.birthDate ORDER BY COUNT(award) DESC LIMIT 1
Database: professional_basketball
Question: Among the players born in Whitestone, how many of them have won the MVP?
Evidence: "Whitestone" is the birthCity of the player; won the MVP refers to award = 'Most Valuable Player'
SQL: SELECT COUNT(DISTINCT T1.playerID) FROM players AS T1 INNER JOIN awards_players AS T2 ON T1.playerID = T2.playerID WHERE T2.award = 'Most Valuable Player' AND T1.birthCity = 'Houston'
Database: professional_basketball
Question: Among the players who have won the award of Rookie of the year, what is the height of the tallest player?
Evidence: "Rookie of the Year" is the award; tallest player refers to Max(height)
SQL: SELECT T1.height FROM players AS T1 INNER JOIN awards_players AS T2 ON T1.playerID = T2.playerID WHERE T2.award = 'Rookie of the Year' ORDER BY T1.height DESC LIMIT 1
Database: professional_basketball
Question: What is the average weight of the players who have won the award of Rookie of the year?
Evidence: "Rookie of the Year" is the award; average weight = Divide (Sum(weight), Count(playerID))
SQL: SELECT AVG(T1.weight) FROM players AS T1 INNER JOIN awards_players AS T2 ON T1.playerID = T2.playerID WHERE T2.award = 'Rookie of the Year'
Database: professional_basketball
Question: Among the players that went to high school in New York and have won the MVP, what is their average height?
Evidence: high school in New York refers to highSchool like '%New York%'; won the MVP refers to award = 'Most Valuable Player'; average height = Divide (Sum(height), Count(playerID))
SQL: SELECT AVG(T1.height) FROM players AS T1 INNER JOIN awards_players AS T2 ON T1.playerID = T2.playerID WHERE T2.award = 'Most Valuable Player' AND T1.birthCity = 'New York'
Database: professional_basketball
Question: Please list the top ten teams with the highest scores in 2000.
Evidence: in 2000 refers to year = 2000; team with highest score refers to Max(o_fgm)
SQL: SELECT tmID FROM players_teams WHERE year = 2000 GROUP BY tmID ORDER BY SUM(PostPoints) DESC LIMIT 10
Database: professional_basketball
Question: Which teams have winning rate less than 50%?
Evidence: team with winning rate less than 50% refers to Divide (won, Sum(won, lost)) < 0.5
SQL: SELECT name FROM teams WHERE CAST(won AS REAL) * 100 / (won + lost) < 50
Database: professional_basketball
Question: Who are the coaches for team with winning rate of 80% and above?
Evidence: winning rate of 80% and above refers to Divide (won, Sum(won, lost)) > 0.8; coaches refers to coachID
SQL: SELECT coachID FROM coaches GROUP BY tmID, coachID, won, lost HAVING CAST(won AS REAL) * 100 / (won + lost) > 80
Database: professional_basketball
Question: Which coach has serviced in NBA for more than 10 years.
Evidence: "NBA" is the lgID; coach who serviced for more than 10 years refers to coachID where Subtract (Max(year), Min(year)) > 10
SQL: SELECT coachID FROM coaches WHERE lgID = 'NBA' GROUP BY coachID HAVING MAX(year) - MIN(year) > 10
Database: professional_basketball
Question: How many teams have played more than 3800 points and have player with "Most Valuable Player" award?
Evidence: played more than 3800 points refers to Sum(points) > = 3800
SQL: SELECT COUNT(DISTINCT T4.name) FROM ( SELECT T1.name, SUM(T2.points) FROM teams AS T1 INNER JOIN players_teams AS T2 ON T1.tmID = T2.tmID AND T1.year = T2.year INNER JOIN awards_players AS T3 ON T2.playerID = T3.playerID WHERE T3.award = 'Most Valuable Player' GROUP BY T1.name HAVING SUM(T2.points) >= 3800 ) AS T4
Database: professional_basketball
Question: Which player from "AFS" team has the tallest height?
Evidence: "AFS" is the tmID; tallest height refers to Max(height)
SQL: SELECT T1.firstName, T1.middleName, T1.lastName FROM players AS T1 INNER JOIN players_teams AS T2 ON T1.playerID = T2.playerID WHERE T2.tmID = 'AFS' ORDER BY T1.height DESC LIMIT 1
Database: professional_basketball
Question: Please list down the last name of players from "BLB" team.
Evidence: "BLB" is the tmID
SQL: SELECT T1.lastName FROM players AS T1 INNER JOIN players_teams AS T2 ON T1.playerID = T2.playerID WHERE T2.tmID = 'BLB'
Database: professional_basketball
Question: From 1962 to 1975, how many coaches received the award?
Evidence: from 1960 to 1975 refers to year between 1960 and 1975
SQL: SELECT COUNT(DISTINCT coachID) FROM awards_coaches WHERE year BETWEEN 1962 AND 1975
Database: professional_basketball
Question: Please list the coach IDs who received the award twice from 1970 to 1990.
Evidence: from 1970 to 1990 refers to year between 1970 and 1990;  received award twice refers to coachID where Count(coachID) = 2
SQL: SELECT coachID FROM awards_coaches WHERE year BETWEEN 1970 AND 1990 GROUP BY coachID, award HAVING COUNT(award) = 2
Database: professional_basketball
Question: From 1962 to 2011, how many coaches received both NBA and ABA awards?
Evidence: 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%'
SQL: SELECT COUNT(DISTINCT coachID) FROM awards_coaches WHERE year BETWEEN 1962 AND 2011 AND award = 'ABA Coach of the Year' AND coachID IN ( SELECT coachID FROM awards_coaches WHERE year BETWEEN 1962 AND 2011 AND award = 'NBA Coach of the Year' )
Database: professional_basketball
Question: In 1975, what was the average point of all-star players coming from the USA?
Evidence: in 1975 refers to season_id = 1975; coming from USA refers to birthCountry = 'USA'; average point refers to Divide (Sum(points), Count(playerID))
SQL: SELECT AVG(T2.points) FROM players AS T1 INNER JOIN player_allstar AS T2 ON T1.playerID = T2.playerID WHERE T2.season_id = 1975
Database: professional_basketball
Question: Please list the last names and first names of all-star players who are higher than 75 inch.
Evidence: higher than 75 inch refers to height > 75
SQL: SELECT DISTINCT T1.lastName, T1.firstName FROM players AS T1 INNER JOIN player_allstar AS T2 ON T1.playerID = T2.playerID WHERE T1.height > 75
Database: professional_basketball
Question: What is the minimum weight of all-star players coming from UCLA college?
Evidence: minimum weight refers to Min(weight)
SQL: SELECT MIN(T1.weight) FROM players AS T1 INNER JOIN player_allstar AS T2 ON T1.playerID = T2.playerID WHERE T1.college = 'UCLA'
Database: professional_basketball
Question: What is the maximum weight of USA all-star players?
Evidence: "USA" is the birthCountry of player;  maximum weight refers to Max(weight)
SQL: SELECT MAX(T1.weight) FROM players AS T1 INNER JOIN player_allstar AS T2 ON T1.playerID = T2.playerID WHERE T1.birthCountry = 'USA'
Database: professional_basketball
Question: From 1960 to 1970, what is the total point of all-star players who are still alive?
Evidence: from 1960 to 1970 refers to season_id between 1960 and 1970; still alive refers to deathDate = '0000-00-00'
SQL: SELECT SUM(T2.points) FROM players AS T1 INNER JOIN player_allstar AS T2 ON T1.playerID = T2.playerID WHERE T2.season_id BETWEEN 1960 AND 1970 AND T1.deathDate = '0000-00-00'
Database: professional_basketball
Question: Among players who were born after 1950, who had offence rebounds rates more than 30%? Please list their last names and first names.
Evidence: born after 1950 refers to birthDate > = '1950-01-01'; offence rebound rate more than 30% refers to Divide (oRebounds, rebounds) > 0.3
SQL: SELECT DISTINCT T1.lastName, T1.firstName FROM players AS T1 INNER JOIN player_allstar AS T2 ON T1.playerID = T2.playerID WHERE T1.birthDate > 1950 AND CAST(T2.o_rebounds AS REAL) * 100 / T2.rebounds > 30
Database: professional_basketball
Question: How many players received Rookie of the Year award from 1969 to 2010?
Evidence: from 1969 to 2010 refers to year BETWEEN 1969 and 2010; 'Rookie of the Year' is the award
SQL: SELECT COUNT(playerID) FROM awards_players WHERE year BETWEEN 1969 AND 2010 AND award = 'Rookie of the Year'
Database: professional_basketball
Question: Please list the team names which have at least 3 all-star players.
Evidence: team with at least 3 all star player refers to tmID where Count(player_allstar.playerID) > = 3
SQL: SELECT T1.tmID FROM players_teams AS T1 INNER JOIN player_allstar AS T2 ON T1.playerID = T2.playerID GROUP BY T1.tmID HAVING COUNT(DISTINCT T1.playerID) >= 3
Database: professional_basketball
Question: From 1950 to 1970, what is the maximum point of players whose teams were ranked 1?
Evidence: from 1950 to 1970 refers to year between 1950 and 1970; team with rank 1 refers to rank = 1; maximum point refers to Max(points)
SQL: SELECT MAX(T2.points) FROM teams AS T1 INNER JOIN players_teams AS T2 ON T1.tmID = T2.tmID AND T1.year = T2.year WHERE T1.year BETWEEN 1950 AND 1970 AND T1.rank = 1
Database: professional_basketball
Question: Please list the last names and first names of all-star players whose team were ranked 1 for consecutive 3 years from 1937 to 1940.
Evidence: from 1937 to 1940 refers to year between 1937 and 1940; rank 1 for 3 years refers to tmID where Count (rank = 1) > = 3
SQL: SELECT T5.lastName, T5.firstName FROM players_teams AS T4 INNER JOIN players AS T5 ON T4.playerID = T5.playerID WHERE T4.year BETWEEN 1937 AND 1940 AND T4.tmID IN ( SELECT DISTINCT T1.tmID FROM teams AS T1 INNER JOIN teams AS T2 INNER JOIN teams AS T3 ON T1.tmID = T2.tmID AND T2.tmID = T3.tmID AND T3.year - T2.year = 1 AND T2.year - T1.year = 1 WHERE T1.rank = 1 AND T1.year BETWEEN 1937 AND 1940 )
Database: professional_basketball
Question: Among the teams that were ranked 3 from 1937 to 1940, what is the team name whose players had the highest point?
Evidence: from 1937 to 1940 refers to year between 1937 and 1940; player with highest point refers to Max(points)
SQL: SELECT DISTINCT T1.name FROM teams AS T1 INNER JOIN players_teams AS T2 ON T1.tmID = T2.tmID AND T1.year = T2.year WHERE T1.rank = 3 AND T1.year BETWEEN 1937 AND 1940 ORDER BY T2.points DESC LIMIT 1
Database: professional_basketball
Question: In 1937, how many teams whose players got at least 500 points?
Evidence: in 1937 refers to year = 1937; player got at least 500 points refers to Sum(points) > = 500
SQL: SELECT COUNT(*) FROM ( SELECT T2.name, SUM(T1.points) FROM players_teams AS T1 INNER JOIN teams AS T2 ON T1.tmID = T2.tmID AND T1.year = T2.year WHERE T1.year = 1937 GROUP BY T2.name HAVING SUM(points) >= 500 ) AS T3
Database: professional_basketball
Question: In 1990, how many players whose teams had the winning rate of more than 75%?
Evidence: in 1990 refers to year = 1990; winning rate of more than 75% refers to Divide(won, games) > 0.75
SQL: SELECT COUNT(DISTINCT T1.playerID) FROM players_teams AS T1 INNER JOIN teams AS T2 ON T1.tmID = T2.tmID AND T1.year = T2.year WHERE CAST(T2.won AS REAL) * 100 / CAST(T2.games AS REAL) > 75 AND T1.year = 1990
Database: professional_basketball
Question: Please list the top three shortest black players.
Evidence: shortest player refers to Min(height); black players refers to race = 'B'
SQL: SELECT firstName, lastName FROM players WHERE race = 'B' AND height > 0 ORDER BY height ASC LIMIT 3
Database: professional_basketball
Question: How many players with the first name Joe were drafted in 1970?
Evidence: drafted in 1970 refers to draftYear = 1970
SQL: SELECT COUNT(DISTINCT playerID) FROM draft WHERE firstName = 'Joe' AND draftYear = 1970
Database: professional_basketball
Question: How many field goals did George Mikan make overall between 1951 and 1953?
Evidence: between 1951 and 1953 refers to season_id; field goal refers to fg_made
SQL: SELECT COUNT(fg_made) FROM player_allstar WHERE first_name = 'George' AND last_name = 'Mikan' AND season_id BETWEEN 1951 AND 1953
Database: professional_basketball
Question: What are the basketball players' BMI ranges?
Evidence: BMI = Multiply(Divide(weight, Multiply(height, height)), 703)
SQL: SELECT MIN(CAST(weight AS REAL) / (height * height)) , MAX(CAST(weight AS REAL) / (height * height)) FROM players
Database: professional_basketball
Question: What is the name of the team with the highest home lost rate?
Evidence: highest home lost rate = Max(Divide(homelost, Sum(homeWon, homeLost)))
SQL: SELECT name FROM teams ORDER BY CAST(homeWon AS REAL) / (homeWon + homeLost) DESC LIMIT 1
Database: professional_basketball
Question: How old was Alexis Ajinca when he was first drafted?
Evidence: age when drafted refers to Subtract(draftYear, year(birthDate)); first drafted refers to draftYear
SQL: SELECT draftYear - strftime('%Y', birthDate) FROM draft AS T1 INNER JOIN players AS T2 ON T1.playerID = T2.playerID WHERE T1.firstName = 'Alexis' AND T1.lastName = 'Ajinca' AND draftRound = 1
Database: professional_basketball
Question: Who is the tallest player in Denver Nuggets since 1980?
Evidence: "Denver Nuggets" is the name of team; since 1980 refers to year > 1980; tallest player = Max(height)
SQL: SELECT T1.firstName, T1.lastName FROM players AS T1 INNER JOIN players_teams AS T2 ON T1.playerID = T2.playerID INNER JOIN teams AS T3 ON T3.tmID = T2.tmID WHERE T3.name = 'Denver Nuggets' AND T2.year > 1980 ORDER BY T1.height DESC LIMIT 1
Database: professional_basketball
Question: Among the players who have passed away, who had the most award?
Evidence: pass away refers to deathDate ! = 'null'; most award refers to playerID where Max(Count(award))
SQL: SELECT T1.playerID FROM players AS T1 INNER JOIN awards_players AS T2 ON T1.playerID = T2.playerID WHERE deathDate IS NOT NULL GROUP BY T1.playerID ORDER BY COUNT(award) DESC LIMIT 1
Database: professional_basketball
Question: What is the full name of the team that has the most players from UCLA?
Evidence: "UCLA" is the college; team with most players refers to tmID where Max(Count(playerID))
SQL: SELECT T3.name FROM players AS T1 INNER JOIN players_teams AS T2 ON T1.playerID = T2.playerID INNER JOIN teams AS T3 ON T3.tmID = T2.tmID WHERE T1.college = 'UCLA' GROUP BY T3.name ORDER BY COUNT(DISTINCT T1.playerID) DESC LIMIT 1
Database: professional_basketball
Question: What is the average BMI of an All-star player?
Evidence: average BMI refers to AVG (Multiply(Divide(weight, Multiply(height, height)), 703))
SQL: SELECT AVG(CAST(T1.weight AS REAL) / (T1.height * T1.height)) FROM players AS T1 INNER JOIN player_allstar AS T2 ON T1.playerID = T2.playerID
Database: professional_basketball
Question: What is the full name of the team with the fastest growth in winning rate in the 'ABA' league from 1972 to 1973?
Evidence: "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))))
SQL: SELECT T1.name FROM teams AS T1 INNER JOIN ( SELECT * FROM teams WHERE lgID = 'ABA' AND year = 1972 ) AS T2 ON T1.tmID = T2.tmID WHERE T1.lgID = 'ABA' AND T1.year = 1973 ORDER BY (CAST(T1.won AS REAL) / (T1.won + T1.lost) - (CAST(T2.won AS REAL) / (T2.won + T2.lost))) DESC LIMIT 1
Database: professional_basketball
Question: Please list the first names of the players with the most personal fouls in the 'NBL' league.
Evidence: "NBL" is the lgID; most  personal foul refers to Max(Count(PF))
SQL: SELECT T1.firstName FROM players AS T1 INNER JOIN players_teams AS T2 ON T1.playerID = T2.playerID WHERE T2.lgID = 'NBL' GROUP BY T1.playerID, T1.firstName ORDER BY COUNT(PF) DESC LIMIT 1
Database: professional_basketball
Question: What is the average height of an East conference All-star player?
Evidence: average height refers to avg(height)
SQL: SELECT AVG(DISTINCT height) FROM players AS T1 INNER JOIN player_allstar AS T2 ON T1.playerID = T2.playerID WHERE conference = 'East'
Database: professional_basketball
Question: Among the coaches who won the 'ABA Coach of the Year' award, which is the coach with the highest number of won games?
Evidence: "ABA Coach of the Year" is the award; highest number of won games refers to Max(Count(won))
SQL: SELECT T1.coachID FROM coaches AS T1 INNER JOIN awards_coaches AS T2 ON T1.coachID = T2.coachID WHERE T2.award = 'ABA Coach of the Year' GROUP BY T1.coachID, T1.won ORDER BY T1.won DESC LIMIT 1
Database: professional_basketball
Question: What is the full name of the team that the 'NBA Coach of the Year' 1992 winner coached?
Evidence: "NBA Coach of the Year" is the award; in 1992 refers to year = 1992;
SQL: SELECT name FROM teams AS T1 INNER JOIN coaches AS T2 ON T1.tmID = T2.tmID AND T1.year = T2.year INNER JOIN awards_coaches AS T3 ON T2.coachID = T3.coachID AND T2.year = T3.year WHERE T3.year = 1992 AND award = 'NBA Coach of the Year'
Database: professional_basketball
Question: What is the first and last name of the player with the highest field goal made rate in 1973?
Evidence: in 1973 refers to year = 1973; player with highest field goal made refers to Max(Divide(fgMade, fgAttempted))
SQL: SELECT T1.firstName, T1.lastName FROM players AS T1 INNER JOIN players_teams AS T2 ON T1.playerID = T2.playerID WHERE year = 1973 ORDER BY CAST(T2.fgMade AS REAL) / T2.fgAttempted DESC LIMIT 1
Database: professional_basketball
Question: What is the full name of the team that selected Mike Lynn?
Evidence: full name refers to teams.name
SQL: SELECT T1.name FROM teams AS T1 INNER JOIN draft AS T2 ON T1.tmID = T2.tmID AND T1.year = T2.draftYear WHERE T2.firstName = 'Mike' AND T2.lastName = 'Lynn'