1sf/bird-sql-train-with-schema huggingface dataset:
Database: professional_basketball
Tables: awards_players, coaches, draft, player_allstar, players, teams, awards_coaches, players_teams, series_post
Columns (table index, column name): -1, *, 0, playerID, 0, award, 0, year, 0, lgID, 0, note, 0, pos, 1, coachID, 1, year, 1, tmID, 1, lgID, 1, stint, 1, won, 1, lost, 1, post_wins, 1, post_losses, 2, id, 2, draftYear, 2, draftRound, 2, draftSelection, 2, draftOverall, 2, tmID, 2, firstName, 2, lastName, 2, suffixName, 2, playerID, 2, draftFrom, 2, lgID, 3, playerID, 3, last_name, 3, first_name, 3, season_id, 3, conference, 3, league_id, 3, games_played, 3, minutes, 3, points, 3, o_rebounds, 3, d_rebounds, 3, rebounds, 3, assists, 3, steals, 3, blocks, 3, turnovers, 3, personal_fouls, 3, fg_attempted, 3, fg_made, 3, ft_attempted, 3, ft_made, 3, three_attempted, 3, three_made, 4, playerID, 4, useFirst, 4, firstName, 4, middleName, 4, lastName, 4, nameGiven, 4, fullGivenName, 4, nameSuffix, 4, nameNick, 4, pos, 4, firstseason, 4, lastseason, 4, height, 4, weight, 4, college, 4, collegeOther, 4, birthDate, 4, birthCity, 4, birthState, 4, birthCountry, 4, highSchool, 4, hsCity, 4, hsState, 4, hsCountry, 4, deathDate, 4, race, 5, year, 5, lgID, 5, tmID, 5, franchID, 5, confID, 5, divID, 5, rank, 5, confRank, 5, playoff, 5, name, 5, o_fgm, 5, o_ftm, 5, o_pts, 5, d_pts, 5, homeWon, 5, homeLost, 5, awayWon, 5, awayLost, 5, won, 5, lost, 5, games, 5, arena, 6, id, 6, year, 6, coachID, 6, award, 6, lgID, 6, note, 7, id, 7, playerID, 7, year, 7, stint, 7, tmID, 7, lgID, 7, GP, 7, GS, 7, minutes, 7, points, 7, oRebounds, 7, dRebounds, 7, rebounds, 7, assists, 7, steals, 7, blocks, 7, turnovers, 7, PF, 7, fgAttempted, 7, fgMade, 7, ftAttempted, 7, ftMade, 7, threeAttempted, 7, threeMade, 7, PostGP, 7, PostGS, 7, PostMinutes, 7, PostPoints, 7, PostoRebounds, 7, PostdRebounds, 7, PostRebounds, 7, PostAssists, 7, PostSteals, 7, PostBlocks, 7, PostTurnovers, 7, PostPF, 7, PostfgAttempted, 7, PostfgMade, 7, PostftAttempted, 7, PostftMade, 7, PostthreeAttempted, 7, PostthreeMade, 7, note, 8, id, 8, year, 8, round, 8, series, 8, tmIDWinner, 8, lgIDWinner, 8, tmIDLoser, 8, lgIDLoser, 8, W, 8, L
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
Tables: awards_players, coaches, draft, player_allstar, players, teams, awards_coaches, players_teams, series_post
Columns (table index, column name): -1, *, 0, playerID, 0, award, 0, year, 0, lgID, 0, note, 0, pos, 1, coachID, 1, year, 1, tmID, 1, lgID, 1, stint, 1, won, 1, lost, 1, post_wins, 1, post_losses, 2, id, 2, draftYear, 2, draftRound, 2, draftSelection, 2, draftOverall, 2, tmID, 2, firstName, 2, lastName, 2, suffixName, 2, playerID, 2, draftFrom, 2, lgID, 3, playerID, 3, last_name, 3, first_name, 3, season_id, 3, conference, 3, league_id, 3, games_played, 3, minutes, 3, points, 3, o_rebounds, 3, d_rebounds, 3, rebounds, 3, assists, 3, steals, 3, blocks, 3, turnovers, 3, personal_fouls, 3, fg_attempted, 3, fg_made, 3, ft_attempted, 3, ft_made, 3, three_attempted, 3, three_made, 4, playerID, 4, useFirst, 4, firstName, 4, middleName, 4, lastName, 4, nameGiven, 4, fullGivenName, 4, nameSuffix, 4, nameNick, 4, pos, 4, firstseason, 4, lastseason, 4, height, 4, weight, 4, college, 4, collegeOther, 4, birthDate, 4, birthCity, 4, birthState, 4, birthCountry, 4, highSchool, 4, hsCity, 4, hsState, 4, hsCountry, 4, deathDate, 4, race, 5, year, 5, lgID, 5, tmID, 5, franchID, 5, confID, 5, divID, 5, rank, 5, confRank, 5, playoff, 5, name, 5, o_fgm, 5, o_ftm, 5, o_pts, 5, d_pts, 5, homeWon, 5, homeLost, 5, awayWon, 5, awayLost, 5, won, 5, lost, 5, games, 5, arena, 6, id, 6, year, 6, coachID, 6, award, 6, lgID, 6, note, 7, id, 7, playerID, 7, year, 7, stint, 7, tmID, 7, lgID, 7, GP, 7, GS, 7, minutes, 7, points, 7, oRebounds, 7, dRebounds, 7, rebounds, 7, assists, 7, steals, 7, blocks, 7, turnovers, 7, PF, 7, fgAttempted, 7, fgMade, 7, ftAttempted, 7, ftMade, 7, threeAttempted, 7, threeMade, 7, PostGP, 7, PostGS, 7, PostMinutes, 7, PostPoints, 7, PostoRebounds, 7, PostdRebounds, 7, PostRebounds, 7, PostAssists, 7, PostSteals, 7, PostBlocks, 7, PostTurnovers, 7, PostPF, 7, PostfgAttempted, 7, PostfgMade, 7, PostftAttempted, 7, PostftMade, 7, PostthreeAttempted, 7, PostthreeMade, 7, note, 8, id, 8, year, 8, round, 8, series, 8, tmIDWinner, 8, lgIDWinner, 8, tmIDLoser, 8, lgIDLoser, 8, W, 8, L
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
Tables: awards_players, coaches, draft, player_allstar, players, teams, awards_coaches, players_teams, series_post
Columns (table index, column name): -1, *, 0, playerID, 0, award, 0, year, 0, lgID, 0, note, 0, pos, 1, coachID, 1, year, 1, tmID, 1, lgID, 1, stint, 1, won, 1, lost, 1, post_wins, 1, post_losses, 2, id, 2, draftYear, 2, draftRound, 2, draftSelection, 2, draftOverall, 2, tmID, 2, firstName, 2, lastName, 2, suffixName, 2, playerID, 2, draftFrom, 2, lgID, 3, playerID, 3, last_name, 3, first_name, 3, season_id, 3, conference, 3, league_id, 3, games_played, 3, minutes, 3, points, 3, o_rebounds, 3, d_rebounds, 3, rebounds, 3, assists, 3, steals, 3, blocks, 3, turnovers, 3, personal_fouls, 3, fg_attempted, 3, fg_made, 3, ft_attempted, 3, ft_made, 3, three_attempted, 3, three_made, 4, playerID, 4, useFirst, 4, firstName, 4, middleName, 4, lastName, 4, nameGiven, 4, fullGivenName, 4, nameSuffix, 4, nameNick, 4, pos, 4, firstseason, 4, lastseason, 4, height, 4, weight, 4, college, 4, collegeOther, 4, birthDate, 4, birthCity, 4, birthState, 4, birthCountry, 4, highSchool, 4, hsCity, 4, hsState, 4, hsCountry, 4, deathDate, 4, race, 5, year, 5, lgID, 5, tmID, 5, franchID, 5, confID, 5, divID, 5, rank, 5, confRank, 5, playoff, 5, name, 5, o_fgm, 5, o_ftm, 5, o_pts, 5, d_pts, 5, homeWon, 5, homeLost, 5, awayWon, 5, awayLost, 5, won, 5, lost, 5, games, 5, arena, 6, id, 6, year, 6, coachID, 6, award, 6, lgID, 6, note, 7, id, 7, playerID, 7, year, 7, stint, 7, tmID, 7, lgID, 7, GP, 7, GS, 7, minutes, 7, points, 7, oRebounds, 7, dRebounds, 7, rebounds, 7, assists, 7, steals, 7, blocks, 7, turnovers, 7, PF, 7, fgAttempted, 7, fgMade, 7, ftAttempted, 7, ftMade, 7, threeAttempted, 7, threeMade, 7, PostGP, 7, PostGS, 7, PostMinutes, 7, PostPoints, 7, PostoRebounds, 7, PostdRebounds, 7, PostRebounds, 7, PostAssists, 7, PostSteals, 7, PostBlocks, 7, PostTurnovers, 7, PostPF, 7, PostfgAttempted, 7, PostfgMade, 7, PostftAttempted, 7, PostftMade, 7, PostthreeAttempted, 7, PostthreeMade, 7, note, 8, id, 8, year, 8, round, 8, series, 8, tmIDWinner, 8, lgIDWinner, 8, tmIDLoser, 8, lgIDLoser, 8, W, 8, L
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
Tables: awards_players, coaches, draft, player_allstar, players, teams, awards_coaches, players_teams, series_post
Columns (table index, column name): -1, *, 0, playerID, 0, award, 0, year, 0, lgID, 0, note, 0, pos, 1, coachID, 1, year, 1, tmID, 1, lgID, 1, stint, 1, won, 1, lost, 1, post_wins, 1, post_losses, 2, id, 2, draftYear, 2, draftRound, 2, draftSelection, 2, draftOverall, 2, tmID, 2, firstName, 2, lastName, 2, suffixName, 2, playerID, 2, draftFrom, 2, lgID, 3, playerID, 3, last_name, 3, first_name, 3, season_id, 3, conference, 3, league_id, 3, games_played, 3, minutes, 3, points, 3, o_rebounds, 3, d_rebounds, 3, rebounds, 3, assists, 3, steals, 3, blocks, 3, turnovers, 3, personal_fouls, 3, fg_attempted, 3, fg_made, 3, ft_attempted, 3, ft_made, 3, three_attempted, 3, three_made, 4, playerID, 4, useFirst, 4, firstName, 4, middleName, 4, lastName, 4, nameGiven, 4, fullGivenName, 4, nameSuffix, 4, nameNick, 4, pos, 4, firstseason, 4, lastseason, 4, height, 4, weight, 4, college, 4, collegeOther, 4, birthDate, 4, birthCity, 4, birthState, 4, birthCountry, 4, highSchool, 4, hsCity, 4, hsState, 4, hsCountry, 4, deathDate, 4, race, 5, year, 5, lgID, 5, tmID, 5, franchID, 5, confID, 5, divID, 5, rank, 5, confRank, 5, playoff, 5, name, 5, o_fgm, 5, o_ftm, 5, o_pts, 5, d_pts, 5, homeWon, 5, homeLost, 5, awayWon, 5, awayLost, 5, won, 5, lost, 5, games, 5, arena, 6, id, 6, year, 6, coachID, 6, award, 6, lgID, 6, note, 7, id, 7, playerID, 7, year, 7, stint, 7, tmID, 7, lgID, 7, GP, 7, GS, 7, minutes, 7, points, 7, oRebounds, 7, dRebounds, 7, rebounds, 7, assists, 7, steals, 7, blocks, 7, turnovers, 7, PF, 7, fgAttempted, 7, fgMade, 7, ftAttempted, 7, ftMade, 7, threeAttempted, 7, threeMade, 7, PostGP, 7, PostGS, 7, PostMinutes, 7, PostPoints, 7, PostoRebounds, 7, PostdRebounds, 7, PostRebounds, 7, PostAssists, 7, PostSteals, 7, PostBlocks, 7, PostTurnovers, 7, PostPF, 7, PostfgAttempted, 7, PostfgMade, 7, PostftAttempted, 7, PostftMade, 7, PostthreeAttempted, 7, PostthreeMade, 7, note, 8, id, 8, year, 8, round, 8, series, 8, tmIDWinner, 8, lgIDWinner, 8, tmIDLoser, 8, lgIDLoser, 8, W, 8, L
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
Tables: awards_players, coaches, draft, player_allstar, players, teams, awards_coaches, players_teams, series_post
Columns (table index, column name): -1, *, 0, playerID, 0, award, 0, year, 0, lgID, 0, note, 0, pos, 1, coachID, 1, year, 1, tmID, 1, lgID, 1, stint, 1, won, 1, lost, 1, post_wins, 1, post_losses, 2, id, 2, draftYear, 2, draftRound, 2, draftSelection, 2, draftOverall, 2, tmID, 2, firstName, 2, lastName, 2, suffixName, 2, playerID, 2, draftFrom, 2, lgID, 3, playerID, 3, last_name, 3, first_name, 3, season_id, 3, conference, 3, league_id, 3, games_played, 3, minutes, 3, points, 3, o_rebounds, 3, d_rebounds, 3, rebounds, 3, assists, 3, steals, 3, blocks, 3, turnovers, 3, personal_fouls, 3, fg_attempted, 3, fg_made, 3, ft_attempted, 3, ft_made, 3, three_attempted, 3, three_made, 4, playerID, 4, useFirst, 4, firstName, 4, middleName, 4, lastName, 4, nameGiven, 4, fullGivenName, 4, nameSuffix, 4, nameNick, 4, pos, 4, firstseason, 4, lastseason, 4, height, 4, weight, 4, college, 4, collegeOther, 4, birthDate, 4, birthCity, 4, birthState, 4, birthCountry, 4, highSchool, 4, hsCity, 4, hsState, 4, hsCountry, 4, deathDate, 4, race, 5, year, 5, lgID, 5, tmID, 5, franchID, 5, confID, 5, divID, 5, rank, 5, confRank, 5, playoff, 5, name, 5, o_fgm, 5, o_ftm, 5, o_pts, 5, d_pts, 5, homeWon, 5, homeLost, 5, awayWon, 5, awayLost, 5, won, 5, lost, 5, games, 5, arena, 6, id, 6, year, 6, coachID, 6, award, 6, lgID, 6, note, 7, id, 7, playerID, 7, year, 7, stint, 7, tmID, 7, lgID, 7, GP, 7, GS, 7, minutes, 7, points, 7, oRebounds, 7, dRebounds, 7, rebounds, 7, assists, 7, steals, 7, blocks, 7, turnovers, 7, PF, 7, fgAttempted, 7, fgMade, 7, ftAttempted, 7, ftMade, 7, threeAttempted, 7, threeMade, 7, PostGP, 7, PostGS, 7, PostMinutes, 7, PostPoints, 7, PostoRebounds, 7, PostdRebounds, 7, PostRebounds, 7, PostAssists, 7, PostSteals, 7, PostBlocks, 7, PostTurnovers, 7, PostPF, 7, PostfgAttempted, 7, PostfgMade, 7, PostftAttempted, 7, PostftMade, 7, PostthreeAttempted, 7, PostthreeMade, 7, note, 8, id, 8, year, 8, round, 8, series, 8, tmIDWinner, 8, lgIDWinner, 8, tmIDLoser, 8, lgIDLoser, 8, W, 8, L
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
Tables: awards_players, coaches, draft, player_allstar, players, teams, awards_coaches, players_teams, series_post
Columns (table index, column name): -1, *, 0, playerID, 0, award, 0, year, 0, lgID, 0, note, 0, pos, 1, coachID, 1, year, 1, tmID, 1, lgID, 1, stint, 1, won, 1, lost, 1, post_wins, 1, post_losses, 2, id, 2, draftYear, 2, draftRound, 2, draftSelection, 2, draftOverall, 2, tmID, 2, firstName, 2, lastName, 2, suffixName, 2, playerID, 2, draftFrom, 2, lgID, 3, playerID, 3, last_name, 3, first_name, 3, season_id, 3, conference, 3, league_id, 3, games_played, 3, minutes, 3, points, 3, o_rebounds, 3, d_rebounds, 3, rebounds, 3, assists, 3, steals, 3, blocks, 3, turnovers, 3, personal_fouls, 3, fg_attempted, 3, fg_made, 3, ft_attempted, 3, ft_made, 3, three_attempted, 3, three_made, 4, playerID, 4, useFirst, 4, firstName, 4, middleName, 4, lastName, 4, nameGiven, 4, fullGivenName, 4, nameSuffix, 4, nameNick, 4, pos, 4, firstseason, 4, lastseason, 4, height, 4, weight, 4, college, 4, collegeOther, 4, birthDate, 4, birthCity, 4, birthState, 4, birthCountry, 4, highSchool, 4, hsCity, 4, hsState, 4, hsCountry, 4, deathDate, 4, race, 5, year, 5, lgID, 5, tmID, 5, franchID, 5, confID, 5, divID, 5, rank, 5, confRank, 5, playoff, 5, name, 5, o_fgm, 5, o_ftm, 5, o_pts, 5, d_pts, 5, homeWon, 5, homeLost, 5, awayWon, 5, awayLost, 5, won, 5, lost, 5, games, 5, arena, 6, id, 6, year, 6, coachID, 6, award, 6, lgID, 6, note, 7, id, 7, playerID, 7, year, 7, stint, 7, tmID, 7, lgID, 7, GP, 7, GS, 7, minutes, 7, points, 7, oRebounds, 7, dRebounds, 7, rebounds, 7, assists, 7, steals, 7, blocks, 7, turnovers, 7, PF, 7, fgAttempted, 7, fgMade, 7, ftAttempted, 7, ftMade, 7, threeAttempted, 7, threeMade, 7, PostGP, 7, PostGS, 7, PostMinutes, 7, PostPoints, 7, PostoRebounds, 7, PostdRebounds, 7, PostRebounds, 7, PostAssists, 7, PostSteals, 7, PostBlocks, 7, PostTurnovers, 7, PostPF, 7, PostfgAttempted, 7, PostfgMade, 7, PostftAttempted, 7, PostftMade, 7, PostthreeAttempted, 7, PostthreeMade, 7, note, 8, id, 8, year, 8, round, 8, series, 8, tmIDWinner, 8, lgIDWinner, 8, tmIDLoser, 8, lgIDLoser, 8, W, 8, L
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
Tables: awards_players, coaches, draft, player_allstar, players, teams, awards_coaches, players_teams, series_post
Columns (table index, column name): -1, *, 0, playerID, 0, award, 0, year, 0, lgID, 0, note, 0, pos, 1, coachID, 1, year, 1, tmID, 1, lgID, 1, stint, 1, won, 1, lost, 1, post_wins, 1, post_losses, 2, id, 2, draftYear, 2, draftRound, 2, draftSelection, 2, draftOverall, 2, tmID, 2, firstName, 2, lastName, 2, suffixName, 2, playerID, 2, draftFrom, 2, lgID, 3, playerID, 3, last_name, 3, first_name, 3, season_id, 3, conference, 3, league_id, 3, games_played, 3, minutes, 3, points, 3, o_rebounds, 3, d_rebounds, 3, rebounds, 3, assists, 3, steals, 3, blocks, 3, turnovers, 3, personal_fouls, 3, fg_attempted, 3, fg_made, 3, ft_attempted, 3, ft_made, 3, three_attempted, 3, three_made, 4, playerID, 4, useFirst, 4, firstName, 4, middleName, 4, lastName, 4, nameGiven, 4, fullGivenName, 4, nameSuffix, 4, nameNick, 4, pos, 4, firstseason, 4, lastseason, 4, height, 4, weight, 4, college, 4, collegeOther, 4, birthDate, 4, birthCity, 4, birthState, 4, birthCountry, 4, highSchool, 4, hsCity, 4, hsState, 4, hsCountry, 4, deathDate, 4, race, 5, year, 5, lgID, 5, tmID, 5, franchID, 5, confID, 5, divID, 5, rank, 5, confRank, 5, playoff, 5, name, 5, o_fgm, 5, o_ftm, 5, o_pts, 5, d_pts, 5, homeWon, 5, homeLost, 5, awayWon, 5, awayLost, 5, won, 5, lost, 5, games, 5, arena, 6, id, 6, year, 6, coachID, 6, award, 6, lgID, 6, note, 7, id, 7, playerID, 7, year, 7, stint, 7, tmID, 7, lgID, 7, GP, 7, GS, 7, minutes, 7, points, 7, oRebounds, 7, dRebounds, 7, rebounds, 7, assists, 7, steals, 7, blocks, 7, turnovers, 7, PF, 7, fgAttempted, 7, fgMade, 7, ftAttempted, 7, ftMade, 7, threeAttempted, 7, threeMade, 7, PostGP, 7, PostGS, 7, PostMinutes, 7, PostPoints, 7, PostoRebounds, 7, PostdRebounds, 7, PostRebounds, 7, PostAssists, 7, PostSteals, 7, PostBlocks, 7, PostTurnovers, 7, PostPF, 7, PostfgAttempted, 7, PostfgMade, 7, PostftAttempted, 7, PostftMade, 7, PostthreeAttempted, 7, PostthreeMade, 7, note, 8, id, 8, year, 8, round, 8, series, 8, tmIDWinner, 8, lgIDWinner, 8, tmIDLoser, 8, lgIDLoser, 8, W, 8, L
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
Tables: awards_players, coaches, draft, player_allstar, players, teams, awards_coaches, players_teams, series_post
Columns (table index, column name): -1, *, 0, playerID, 0, award, 0, year, 0, lgID, 0, note, 0, pos, 1, coachID, 1, year, 1, tmID, 1, lgID, 1, stint, 1, won, 1, lost, 1, post_wins, 1, post_losses, 2, id, 2, draftYear, 2, draftRound, 2, draftSelection, 2, draftOverall, 2, tmID, 2, firstName, 2, lastName, 2, suffixName, 2, playerID, 2, draftFrom, 2, lgID, 3, playerID, 3, last_name, 3, first_name, 3, season_id, 3, conference, 3, league_id, 3, games_played, 3, minutes, 3, points, 3, o_rebounds, 3, d_rebounds, 3, rebounds, 3, assists, 3, steals, 3, blocks, 3, turnovers, 3, personal_fouls, 3, fg_attempted, 3, fg_made, 3, ft_attempted, 3, ft_made, 3, three_attempted, 3, three_made, 4, playerID, 4, useFirst, 4, firstName, 4, middleName, 4, lastName, 4, nameGiven, 4, fullGivenName, 4, nameSuffix, 4, nameNick, 4, pos, 4, firstseason, 4, lastseason, 4, height, 4, weight, 4, college, 4, collegeOther, 4, birthDate, 4, birthCity, 4, birthState, 4, birthCountry, 4, highSchool, 4, hsCity, 4, hsState, 4, hsCountry, 4, deathDate, 4, race, 5, year, 5, lgID, 5, tmID, 5, franchID, 5, confID, 5, divID, 5, rank, 5, confRank, 5, playoff, 5, name, 5, o_fgm, 5, o_ftm, 5, o_pts, 5, d_pts, 5, homeWon, 5, homeLost, 5, awayWon, 5, awayLost, 5, won, 5, lost, 5, games, 5, arena, 6, id, 6, year, 6, coachID, 6, award, 6, lgID, 6, note, 7, id, 7, playerID, 7, year, 7, stint, 7, tmID, 7, lgID, 7, GP, 7, GS, 7, minutes, 7, points, 7, oRebounds, 7, dRebounds, 7, rebounds, 7, assists, 7, steals, 7, blocks, 7, turnovers, 7, PF, 7, fgAttempted, 7, fgMade, 7, ftAttempted, 7, ftMade, 7, threeAttempted, 7, threeMade, 7, PostGP, 7, PostGS, 7, PostMinutes, 7, PostPoints, 7, PostoRebounds, 7, PostdRebounds, 7, PostRebounds, 7, PostAssists, 7, PostSteals, 7, PostBlocks, 7, PostTurnovers, 7, PostPF, 7, PostfgAttempted, 7, PostfgMade, 7, PostftAttempted, 7, PostftMade, 7, PostthreeAttempted, 7, PostthreeMade, 7, note, 8, id, 8, year, 8, round, 8, series, 8, tmIDWinner, 8, lgIDWinner, 8, tmIDLoser, 8, lgIDLoser, 8, W, 8, L
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
Tables: awards_players, coaches, draft, player_allstar, players, teams, awards_coaches, players_teams, series_post
Columns (table index, column name): -1, *, 0, playerID, 0, award, 0, year, 0, lgID, 0, note, 0, pos, 1, coachID, 1, year, 1, tmID, 1, lgID, 1, stint, 1, won, 1, lost, 1, post_wins, 1, post_losses, 2, id, 2, draftYear, 2, draftRound, 2, draftSelection, 2, draftOverall, 2, tmID, 2, firstName, 2, lastName, 2, suffixName, 2, playerID, 2, draftFrom, 2, lgID, 3, playerID, 3, last_name, 3, first_name, 3, season_id, 3, conference, 3, league_id, 3, games_played, 3, minutes, 3, points, 3, o_rebounds, 3, d_rebounds, 3, rebounds, 3, assists, 3, steals, 3, blocks, 3, turnovers, 3, personal_fouls, 3, fg_attempted, 3, fg_made, 3, ft_attempted, 3, ft_made, 3, three_attempted, 3, three_made, 4, playerID, 4, useFirst, 4, firstName, 4, middleName, 4, lastName, 4, nameGiven, 4, fullGivenName, 4, nameSuffix, 4, nameNick, 4, pos, 4, firstseason, 4, lastseason, 4, height, 4, weight, 4, college, 4, collegeOther, 4, birthDate, 4, birthCity, 4, birthState, 4, birthCountry, 4, highSchool, 4, hsCity, 4, hsState, 4, hsCountry, 4, deathDate, 4, race, 5, year, 5, lgID, 5, tmID, 5, franchID, 5, confID, 5, divID, 5, rank, 5, confRank, 5, playoff, 5, name, 5, o_fgm, 5, o_ftm, 5, o_pts, 5, d_pts, 5, homeWon, 5, homeLost, 5, awayWon, 5, awayLost, 5, won, 5, lost, 5, games, 5, arena, 6, id, 6, year, 6, coachID, 6, award, 6, lgID, 6, note, 7, id, 7, playerID, 7, year, 7, stint, 7, tmID, 7, lgID, 7, GP, 7, GS, 7, minutes, 7, points, 7, oRebounds, 7, dRebounds, 7, rebounds, 7, assists, 7, steals, 7, blocks, 7, turnovers, 7, PF, 7, fgAttempted, 7, fgMade, 7, ftAttempted, 7, ftMade, 7, threeAttempted, 7, threeMade, 7, PostGP, 7, PostGS, 7, PostMinutes, 7, PostPoints, 7, PostoRebounds, 7, PostdRebounds, 7, PostRebounds, 7, PostAssists, 7, PostSteals, 7, PostBlocks, 7, PostTurnovers, 7, PostPF, 7, PostfgAttempted, 7, PostfgMade, 7, PostftAttempted, 7, PostftMade, 7, PostthreeAttempted, 7, PostthreeMade, 7, note, 8, id, 8, year, 8, round, 8, series, 8, tmIDWinner, 8, lgIDWinner, 8, tmIDLoser, 8, lgIDLoser, 8, W, 8, L
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