diff --git "a/train-data/expanded_sql_train.tsv" "b/train-data/expanded_sql_train.tsv" new file mode 100644--- /dev/null +++ "b/train-data/expanded_sql_train.tsv" @@ -0,0 +1,1045 @@ +natural_query sql_query result team_flag game_flag other_stats_flag +Which NBA teams were established after the year 2000? List their names and founding years, sorted from newest to oldest SELECT full_name FROM team WHERE year_founded > 2000 ORDER BY year_founded DESC; New Orleans Pelicans True False False +What is the most points the Los Angeles Lakers have scored at home? SELECT MAX(pts_home) FROM game WHERE team_name_home = 'Los Angeles Lakers'; 162 False True False +What is the second-highest number of points the Los Angeles Lakers have ever scored in a single home game? SELECT pts_home FROM game WHERE team_name_home = 'Los Angeles Lakers' ORDER BY pts_home DESC LIMIT 1 OFFSET 1; 156 True True True +How many home games did the Golden State Warriors win in the 2017 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'GSW' AND wl_home = 'W' AND season_id = '22017'; 29 False True False +What is the average number of assists by the Boston Celtics in home wins? SELECT AVG(ast_home) FROM game WHERE team_abbreviation_home = 'BOS' AND wl_home = 'W'; 26.51355662 True True False +Which game had the highest total points scored by both teams when the Miami Heat played at home? SELECT game_id, (pts_home + pts_away) AS total_points FROM game WHERE team_abbreviation_home = 'MIA' ORDER BY total_points DESC LIMIT 1; 0021701054 | 290.0 False True True +What is the Chicago Bulls' largest lead in a home game during the 2016 season? SELECT MAX(plus_minus_home) FROM game WHERE team_abbreviation_home = 'CHI' AND season_id = '22016'; 47 False True True +How many times did the Houston Rockets score over 120 points at home? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'HOU' AND pts_home > 120; 298 False True True +What is the highest three-point percentage the Phoenix Suns achieved in an away game? SELECT MAX(fg3_pct_away) FROM game WHERE team_abbreviation_away = 'PHX'; 1 False True True +What was the average points difference in home games won by the Denver Nuggets? SELECT AVG(pts_home - pts_away) FROM game WHERE team_abbreviation_home = 'DEN' AND wl_home = 'W'; 11.96471532 False True True +In 2018, which team has the most home wins and how many home wins did they have? SELECT team_abbreviation_home, COUNT(*) FROM game WHERE wl_home = 'W' AND season_id = '22018' GROUP BY team_abbreviation_home ORDER BY COUNT(*) DESC LIMIT 1; DEN | 34 False True False +What is the total number of rebounds by the San Antonio Spurs in home games during the 2015 season? SELECT SUM(reb_home) FROM game WHERE team_abbreviation_home = 'SAS' AND season_id = '22015'; 1845 True True False +What is the average scoring ouput for home teams. Round to 2 decimal places. SELECT ROUND(AVG(pts_home),2) AS avg_home_points FROM game WHERE season_type = 'Regular Season'; 104.76 False True True +Which Chicago Bulls home game had the most lead changes? SELECT g.game_date, os.lead_changes FROM game g JOIN other_stats os ON g.game_id = os.game_id WHERE g.team_name_home = 'Chicago Bulls' ORDER BY os.lead_changes DESC LIMIT 1; 4/26/2009 0:00:00 | 28 False True False +What is the average fast break points scored by the Philadelphia 76ers at home during the 2018 season? SELECT AVG(os.pts_fb_home) AS avg_fast_break FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_abbreviation_home = 'PHI' AND g.season_id = '22018'; 16.32352941 False True True +Find Boston Celtics' largest home victory margin in the 2008 season. SELECT MAX(pts_home - pts_away) AS biggest_win FROM game WHERE team_abbreviation_home = 'BOS' AND season_id = '22008'; 32 False True True +How many Golden State Warriors home games were there where they scored more paint points than their opponents? SELECT COUNT(*) FROM game g JOIN other_stats os ON g.game_id = os.game_id WHERE g.team_abbreviation_home = 'GSW' AND os.pts_paint_home > os.pts_paint_away; 484 True True False +How many New York Knicks home games had over 15 offensive rebounds and 10+ steals? SELECT game_date, oreb_home, stl_home FROM game WHERE team_name_home = 'New York Knicks' AND oreb_home > 15 AND stl_home >= 10; 109 True True False +What is the average second-chance points for Toronto Raptors home games between 2015-2020? SELECT AVG(os.pts_2nd_chance_home) AS avg_second_chance FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_abbreviation_home = 'TOR' AND g.season_id BETWEEN '22015' AND '22020'; 13.07653061 False True True +What was the highest number of steals by the Detroit Pistons in a single game during the 2004 season? SELECT MAX(stl) AS max_steals FROM ( SELECT stl_home AS stl FROM game WHERE team_abbreviation_home = 'DET' AND season_id = '22004' UNION ALL SELECT stl_away AS stl FROM game WHERE team_abbreviation_away = 'DET' AND season_id = '22004' ); 13 False True False +How many total free throws did the Dallas Mavericks make in the 2011 season? SELECT SUM(ftm) AS total_free_throws FROM ( SELECT ftm_home AS ftm FROM game WHERE team_abbreviation_home = 'DAL' AND season_id = '22011' UNION ALL SELECT ftm_away AS ftm FROM game WHERE team_abbreviation_away = 'DAL' AND season_id = '22011' ); 1029 False True True +Which game had the lowest combined score when the Philadelphia 76ers played in the 2019 season? SELECT game_id, (pts_home + pts_away) AS total_points FROM game WHERE season_id = '22019' AND (team_abbreviation_home = 'PHI' OR team_abbreviation_away = 'PHI') ORDER BY total_points ASC LIMIT 1; 0021900630 | 177.0 False True False +What was the average three-point percentage for the Toronto Raptors in away games during the 2020 season? SELECT AVG(fg3_pct_away) AS avg_3p_pct FROM game WHERE team_abbreviation_away = 'TOR' AND season_id = '22020'; 0.3803888889 False True True +How many total offensive rebounds did the Oklahoma City Thunder collect in the 2012 season? SELECT SUM(oreb) AS total_offensive_rebounds FROM ( SELECT oreb_home AS oreb FROM game WHERE team_abbreviation_home = 'OKC' AND season_id = '22012' UNION ALL SELECT oreb_away AS oreb FROM game WHERE team_abbreviation_away = 'OKC' AND season_id = '22012' ); False True False + How many games did the Boston Celtics win on the road during the 2018 season? SELECT COUNT(*) AS away_wins FROM game WHERE team_name_away = 'Boston Celtics' AND wl_away = 'W' AND season_id = '22018'; 21 False True False +Which team had the highest average free throw percentage at home in the 2016 season? SELECT team_name_home, AVG(ft_pct_home) AS avg_ft_percentage FROM game WHERE season_id = '22016' GROUP BY team_name_home ORDER BY avg_ft_percentage DESC LIMIT 1; Boston Celtics | 0.820975609756098 True True True +What was the total number of assists made by the Miami Heat in games where they scored more than 110 points at home? SELECT SUM(ast_home) AS total_assists FROM game WHERE team_name_home = 'Miami Heat' AND pts_home > 110; 9235 False True True +When did the Golden State Warriors score the most points in the paint in an away game? SELECT g.game_date, o.pts_paint_away FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_away = 'Golden State Warriors' ORDER BY o.pts_paint_away DESC LIMIT 1; 2010-03-19 00:00:00 | 90 False True True +How many times have the Milwaukee Bucks and Chicago Bulls played against each other since 2010? SELECT COUNT(*) AS total_matchups FROM game WHERE (team_name_home = 'Milwaukee Bucks' AND team_name_away = 'Chicago Bulls' OR team_name_home = 'Chicago Bulls' AND team_name_away = 'Milwaukee Bucks') AND CAST(SUBSTR(season_id, 2) AS INTEGER) >= 2010; 67 False True False +What is the average number of turnovers committed by the Brooklyn Nets in games they won at home? SELECT AVG(tov_home) AS avg_turnovers FROM game WHERE team_name_home = 'Brooklyn Nets' AND wl_home = 'W'; 14.68122271 True True False +Which team had the largest lead in any game during the 2020 season? SELECT CASE WHEN o.largest_lead_home >= o.largest_lead_away THEN g.team_name_home ELSE g.team_name_away END AS team_name, CASE WHEN o.largest_lead_home >= o.largest_lead_away THEN o.largest_lead_home ELSE o.largest_lead_away END AS largest_lead, g.game_date FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.season_id = '22020' ORDER BY largest_lead DESC LIMIT 1; Indiana Pacers | 67 | 2021-05-01 00:00:00 True True False +How many games had more than 20 lead changes in the 2019 season? SELECT COUNT(*) AS high_lead_change_games FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.season_id = '22019' AND o.lead_changes > 20; 11 False True False +What was the average number of rebounds grabbed by the Toronto Raptors in games where they scored at least 40 points from fast breaks? SELECT AVG(rebounds) AS avg_rebounds FROM ( SELECT g.game_id, g.reb_home AS rebounds FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Toronto Raptors' AND o.pts_fb_home >= 40 UNION ALL SELECT g.game_id, g.reb_away AS rebounds FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_away = 'Toronto Raptors' AND o.pts_fb_away >= 40 ); 43.9 False True True +What was the average points scored by the Denver Nuggets in home games during the 2019 season? SELECT AVG(pts_home) AS avg_home_points FROM game WHERE team_name_home = 'Denver Nuggets' AND season_id = '22019'; 111.8378378 False True True +How many games did the Philadelphia 76ers lose by more than 20 points in the 2018 season? SELECT COUNT(*) AS blowout_losses FROM game WHERE (team_name_home = 'Philadelphia 76ers' AND wl_home = 'L' AND plus_minus_home < -20) OR (team_name_away = 'Philadelphia 76ers' AND wl_away = 'L' AND plus_minus_away < -20) AND season_id = '22018'; 100 False True False +Which team had the highest three-point shooting percentage in away games during the 2020 season? SELECT team_name_away, AVG(fg3_pct_away) AS avg_3pt_pct FROM game WHERE season_id = '22020' GROUP BY team_name_away ORDER BY avg_3pt_pct DESC LIMIT 1; LA Clippers | 0.401333333333333 False True True +What is the total number of points scored by the Houston Rockets in games where they made more than 20 three-pointers? SELECT SUM(points) AS total_points FROM ( SELECT pts_home AS points FROM game WHERE team_name_home = 'Houston Rockets' AND fg3m_home > 20 UNION ALL SELECT pts_away AS points FROM game WHERE team_name_away = 'Houston Rockets' AND fg3m_away > 20 ); 6435 False True True +What was the average margin of victory for the Milwaukee Bucks in home wins during the 2021 season? SELECT AVG(plus_minus_home) AS avg_victory_margin FROM game WHERE team_name_home = 'Milwaukee Bucks' AND wl_home = 'W' AND season_id = '22021'; 13.37037037 False True True +Which team had the most steals in a single game during the 2015 season? SELECT CASE WHEN stl_home > stl_away THEN team_name_home ELSE team_name_away END AS team_name, CASE WHEN stl_home > stl_away THEN stl_home ELSE stl_away END AS steals, game_date FROM game WHERE season_id = '22015' ORDER BY steals DESC LIMIT 1; New Orleans Pelicans | 21.0 | 2016-01-08 00:00:00 False True False +How many games did the San Antonio Spurs play that went to overtime in the 2016 season? SELECT COUNT(*) AS overtime_games FROM game WHERE (team_name_home = 'San Antonio Spurs' OR team_name_away = 'San Antonio Spurs') AND min > 240 AND season_id = '22016'; 5 False True False +What's the highest number of points the Brooklyn Nets scored in the paint in any game during the 2020 season? SELECT MAX(pts_paint) AS max_paint_points FROM ( SELECT o.pts_paint_home AS pts_paint FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Brooklyn Nets' AND g.season_id = '22020' UNION ALL SELECT o.pts_paint_away AS pts_paint FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_away = 'Brooklyn Nets' AND g.season_id = '22020' ); 74 True True False +What was the average number of offensive rebounds per game for the Chicago Bulls in the 2019 season? SELECT AVG(oreb) AS avg_offensive_rebounds FROM ( SELECT game_id, oreb_home AS oreb FROM game WHERE team_name_home = 'Chicago Bulls' AND season_id = '22019' UNION ALL SELECT game_id, oreb_away AS oreb FROM game WHERE team_name_away = 'Chicago Bulls' AND season_id = '22019' ); 10.46153846 False True True +Which team had the fewest turnovers in the 2018 season on average? SELECT team_name, AVG(turnovers) AS avg_turnovers FROM ( SELECT team_name_home AS team_name, tov_home AS turnovers FROM game WHERE season_id = '22018' UNION ALL SELECT team_name_away AS team_name, tov_away AS turnovers FROM game WHERE season_id = '22018' ) GROUP BY team_name ORDER BY avg_turnovers ASC LIMIT 1; San Antonio Spurs | 12.0975609756098 True False True +How many games did the Oklahoma City Thunder score more than 30 points in the first quarter during the 2017 season? SELECT COUNT(*) AS high_scoring_first_quarters FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE (g.team_name_home = 'Oklahoma City Thunder' AND g.pts_home / 4 > 30) OR (g.team_name_away = 'Oklahoma City Thunder' AND g.pts_away / 4 > 30) AND g.season_id = '22017'; 83 False True False +What was the field goal percentage for the Toronto Raptors in their championship season of 2019? SELECT AVG(fg_pct) AS avg_fg_percentage FROM ( SELECT game_id, fg_pct_home AS fg_pct FROM game WHERE team_name_home = 'Toronto Raptors' AND season_id = '22019' UNION ALL SELECT game_id, fg_pct_away AS fg_pct FROM game WHERE team_name_away = 'Toronto Raptors' AND season_id = '22019' ); 0.4587083333 False True True + How many times did the Golden State Warriors score more than 120 points but still lose the game? SELECT COUNT(*) AS high_scoring_losses FROM game WHERE ((team_name_home = 'Golden State Warriors' AND pts_home > 120 AND wl_home = 'L') OR (team_name_away = 'Golden State Warriors' AND pts_away > 120 AND wl_away = 'L')); 123 False True True +Which team had the most assists in a game where they also had fewer than 10 turnovers during the 2021 season? SELECT team_name, assists, turnovers, game_date FROM ( SELECT team_name_home AS team_name, ast_home AS assists, tov_home AS turnovers, game_date FROM game WHERE season_id = '22021' AND tov_home < 10 UNION ALL SELECT team_name_away AS team_name, ast_away AS assists, tov_away AS turnovers, game_date FROM game WHERE season_id = '22021' AND tov_away < 10 ) ORDER BY assists DESC LIMIT 1; Phoenix Suns | 40.0 | 7.0 | 2022-02-12 00:00:00 True True True +What was the largest comeback (overcoming a deficit) made by the Cleveland Cavaliers in the 2016 season? SELECT CASE WHEN g.team_name_home = 'Cleveland Cavaliers' THEN largest_lead_away ELSE largest_lead_home END AS opponent_largest_lead, g.game_date, CASE WHEN g.team_name_home = 'Cleveland Cavaliers' THEN g.team_name_away ELSE g.team_name_home END AS opponent FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE (g.team_name_home = 'Cleveland Cavaliers' AND g.wl_home = 'W') OR (g.team_name_away = 'Cleveland Cavaliers' AND g.wl_away = 'W') AND g.season_id = '22016' ORDER BY opponent_largest_lead DESC LIMIT 1; 49 | 2010-03-01 00:00:00 | New York Knicks False True True +What is the average number of points scored by the Portland Trail Blazers in games where they had at least 15 second-chance points? SELECT AVG(pts) AS avg_points FROM ( SELECT g.pts_home AS pts FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Portland Trail Blazers' AND o.pts_2nd_chance_home >= 15 UNION ALL SELECT g.pts_away AS pts FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_away = 'Portland Trail Blazers' AND o.pts_2nd_chance_away >= 15 ); 102.9899497 False True True +Which team scored the most second-chance points in a game during the 2019 season? SELECT CASE WHEN o.pts_2nd_chance_home > o.pts_2nd_chance_away THEN g.team_name_home ELSE g.team_name_away END AS team_name, CASE WHEN o.pts_2nd_chance_home > o.pts_2nd_chance_away THEN o.pts_2nd_chance_home ELSE o.pts_2nd_chance_away END AS second_chance_points, g.game_date FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.season_id = '22019' ORDER BY second_chance_points DESC LIMIT 1; Minnesota Timberwolves | 35 | 2019-11-08 00:00:00 True True False +How many games did the Detroit Pistons win when they scored fewer points in the paint than their opponents? SELECT COUNT(*) AS wins_with_fewer_paint_points FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE ((g.team_name_home = 'Detroit Pistons' AND g.wl_home = 'W' AND o.pts_paint_home < o.pts_paint_away) OR (g.team_name_away = 'Detroit Pistons' AND g.wl_away = 'W' AND o.pts_paint_away < o.pts_paint_home)); 431 False True False +What's the highest number of blocks recorded by the New York Knicks in any game? SELECT MAX(blocks) AS max_blocks FROM ( SELECT blk_home AS blocks FROM game WHERE team_name_home = 'New York Knicks' UNION ALL SELECT blk_away AS blocks FROM game WHERE team_name_away = 'New York Knicks' ); 15 True True False +How many games in the 2018 season had more than 15 lead changes and more than 10 ties? SELECT COUNT(*) AS competitive_games FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.season_id = '22018' AND o.lead_changes > 15 AND o.times_tied > 10; 54 False True False +What was the average free throw percentage for the Indiana Pacers in games where they attempted at least 25 free throws? SELECT AVG(ft_pct) AS avg_ft_percentage FROM ( SELECT ft_pct_home AS ft_pct FROM game WHERE team_name_home = 'Indiana Pacers' AND fta_home >= 25 UNION ALL SELECT ft_pct_away AS ft_pct FROM game WHERE team_name_away = 'Indiana Pacers' AND fta_away >= 25 ); 0.7685965404 False True True +What was the average margin of victory in games between the Boston Celtics and New York Knicks? SELECT AVG(ABS(plus_minus_home)) AS avg_victory_margin FROM game WHERE (team_name_home = 'Boston Celtics' AND team_name_away = 'New York Knicks') OR (team_name_home = 'New York Knicks' AND team_name_away = 'Boston Celtics'); 11.05436893 True False True +Which team had the most points off turnovers in a single game during the 2020 season? SELECT CASE WHEN o.pts_off_to_home > o.pts_off_to_away THEN g.team_name_home ELSE g.team_name_away END AS team_name, CASE WHEN o.pts_off_to_home > o.pts_off_to_away THEN o.pts_off_to_home ELSE o.pts_off_to_away END AS points_off_turnovers, g.game_date FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.season_id = '22020' ORDER BY points_off_turnovers DESC LIMIT 1; Denver Nuggets | 39 | 2021-04-19 00:00:00 True True False +How many games did the Orlando Magic play in the 2010 season where both teams scored more than 100 points? SELECT COUNT(*) AS high_scoring_games FROM game WHERE (team_name_home = 'Orlando Magic' OR team_name_away = 'Orlando Magic') AND pts_home > 100 AND pts_away > 100 AND season_id = '22010'; 14 False True False +What's the average number of fastbreak points scored by winning teams in the 2021 season? SELECT AVG(fastbreak_points) AS avg_fb_points_winners FROM ( SELECT o.pts_fb_home AS fastbreak_points FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.wl_home = 'W' AND g.season_id = '22021' UNION ALL SELECT o.pts_fb_away AS fastbreak_points FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.wl_away = 'W' AND g.season_id = '22021' ); 12.45038168 True True False +What is the total number of points scored by the Houston Rockets in games where they made more than 15 three-pointers? SELECT SUM(points) AS total_points FROM ( SELECT pts_home AS points FROM game WHERE team_name_home = 'Houston Rockets' AND fg3m_home > 15 UNION ALL SELECT pts_away AS points FROM game WHERE team_name_away = 'Houston Rockets' AND fg3m_away > 15 ) AS combined_games 32793 False True True +How many total rebounds did the Milwaukee Bucks get in games where they scored at least 110 points? SELECT SUM(rebounds) AS total_rebounds FROM ( SELECT reb_home AS rebounds FROM game WHERE team_name_home = 'Milwaukee Bucks' AND pts_home >= 110 UNION ALL SELECT reb_away AS rebounds FROM game WHERE team_name_away = 'Milwaukee Bucks' AND pts_away >= 110 ) AS combined_games 48323 False True True +What is the average number of assists per game for the Golden State Warriors when they won during the 2018 season? SELECT AVG(assists) AS avg_assists FROM ( SELECT ast_home AS assists FROM game WHERE team_name_home = 'Golden State Warriors' AND wl_home = 'W' AND season_id = '22018' UNION ALL SELECT ast_away AS assists FROM game WHERE team_name_away = 'Golden State Warriors' AND wl_away = 'W' AND season_id = '22018' ) AS winning_games 31 False True True +What is the highest number of steals the Toronto Raptors recorded in a single game during the 2019 season? SELECT MAX(steals) AS max_steals FROM ( SELECT stl_home AS steals FROM game WHERE team_name_home = 'Toronto Raptors' AND season_id = '22019' UNION ALL SELECT stl_away AS steals FROM game WHERE team_name_away = 'Toronto Raptors' AND season_id = '22019' ) AS all_games 17 False True False +What is the total number of points the Boston Celtics scored in the paint during the 2020 season? SELECT SUM(paint_points) AS total_paint_points FROM ( SELECT os.pts_paint_home AS paint_points FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Boston Celtics' AND g.season_id = '22020' UNION ALL SELECT os.pts_paint_away AS paint_points FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_away = 'Boston Celtics' AND g.season_id = '22020' ) AS all_games 2884 True True True +How many games did the Los Angeles Lakers play where they had more than 25 assists and won? SELECT COUNT(*) AS total_games FROM ( SELECT game_id FROM game WHERE team_name_home = 'Los Angeles Lakers' AND ast_home > 25 AND wl_home = 'W' UNION ALL SELECT game_id FROM game WHERE team_name_away = 'Los Angeles Lakers' AND ast_away > 25 AND wl_away = 'W' ) AS winning_games_with_assists 1159 True True True +What was the average number of fast break points scored by the Miami Heat in games they lost during the 2017 season? SELECT AVG(fastbreak_points) AS avg_fastbreak_points FROM ( SELECT os.pts_fb_home AS fastbreak_points FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Miami Heat' AND g.wl_home = 'L' AND g.season_id = '22017' UNION ALL SELECT os.pts_fb_away AS fastbreak_points FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_away = 'Miami Heat' AND g.wl_away = 'L' AND g.season_id = '22017' ) AS losing_games 11.29032258 False True True +What is the total number of points scored by the Denver Nuggets in fourth quarters during the 2021 season? SELECT SUM(points_off_turnovers) AS total_points_off_turnovers FROM ( SELECT os.pts_off_to_home AS points_off_turnovers FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Denver Nuggets' AND g.season_id = '22021' UNION ALL SELECT os.pts_off_to_away AS points_off_turnovers FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_away = 'Denver Nuggets' AND g.season_id = '22021' ) AS all_games 1071 False True True +What is the average shooting percentage of the Philadelphia 76ers in games where they scored at least 100 points during the 2019 season? SELECT AVG(fg_pct) AS avg_shooting_percentage FROM ( SELECT fg_pct_home AS fg_pct FROM game WHERE team_name_home = 'Philadelphia 76ers' AND pts_home >= 100 AND season_id = '22019' UNION ALL SELECT fg_pct_away AS fg_pct FROM game WHERE team_name_away = 'Philadelphia 76ers' AND pts_away >= 100 AND season_id = '22019' ) AS high_scoring_games 0.4846785714 False True True +How many total blocks did the Brooklyn Nets record in games where they had more than 10 turnovers? SELECT SUM(blocks) AS total_blocks FROM ( SELECT blk_home AS blocks FROM game WHERE team_name_home = 'Brooklyn Nets' AND tov_home > 10 UNION ALL SELECT blk_away AS blocks FROM game WHERE team_name_away = 'Brooklyn Nets' AND tov_away > 10 ) AS turnover_games 3570 False True True +Which team had the highest field goal percentage in the 1996 season? SELECT team_name, AVG(fg_pct) AS avg_fg_pct FROM ( SELECT team_name_home AS team_name, fg_pct_home AS fg_pct FROM game WHERE season_id = '21996' UNION ALL SELECT team_name_away AS team_name, fg_pct_away AS fg_pct FROM game WHERE season_id = '21996' ) AS all_teams GROUP BY team_name ORDER BY avg_fg_pct DESC LIMIT 1 Utah Jazz | 0.505182926829268 False True False +How many games did the Chicago Bulls win during their 1992 championship season? SELECT COUNT(*) AS total_wins FROM ( SELECT game_id FROM game WHERE team_name_home = 'Chicago Bulls' AND wl_home = 'W' AND season_id = '21992' UNION ALL SELECT game_id FROM game WHERE team_name_away = 'Chicago Bulls' AND wl_away = 'W' AND season_id = '21992' ) AS winning_games 57 False True False +What was the average number of rebounds per game for the Detroit Pistons in 1989? SELECT AVG(rebounds) AS avg_rebounds FROM ( SELECT reb_home AS rebounds FROM game WHERE team_name_home = 'Detroit Pistons' AND season_id = '21989' UNION ALL SELECT reb_away AS rebounds FROM game WHERE team_name_away = 'Detroit Pistons' AND season_id = '21989' ) AS all_games 44.42682927 False True True +Which team had the most steals in the 2004 season? SELECT team_name, SUM(steals) AS total_steals FROM ( SELECT team_name_home AS team_name, stl_home AS steals FROM game WHERE season_id = '22004' UNION ALL SELECT team_name_away AS team_name, stl_away AS steals FROM game WHERE season_id = '22004' ) AS all_teams GROUP BY team_name ORDER BY total_steals DESC LIMIT 1 Philadelphia 76ers | 756.0 True False False +How many times did the Boston Celtics and Los Angeles Lakers play against each other from 1980 to 1989? SELECT COUNT(*) AS total_matchups FROM game WHERE ((team_name_home = 'Boston Celtics' AND team_name_away = 'Los Angeles Lakers') OR (team_name_home = 'Los Angeles Lakers' AND team_name_away = 'Boston Celtics')) AND CAST(SUBSTR(season_id, 2) AS INTEGER) BETWEEN 1980 AND 1989 39 False True False +What was the total number of points scored by the San Antonio Spurs in the 2014 season? SELECT SUM(points) AS total_points FROM ( SELECT pts_home AS points FROM game WHERE team_name_home = 'San Antonio Spurs' AND season_id = '22014' UNION ALL SELECT pts_away AS points FROM game WHERE team_name_away = 'San Antonio Spurs' AND season_id = '22014' ) AS season_games 8461 False True True +What team had the best free throw percentage in the 2001 regular season? SELECT team_name, AVG(ft_pct) AS avg_ft_pct FROM ( SELECT team_name_home AS team_name, ft_pct_home AS ft_pct FROM game WHERE season_id = '22001' AND season_type = 'Regular Season' UNION ALL SELECT team_name_away AS team_name, ft_pct_away AS ft_pct FROM game WHERE season_id = '22001' AND season_type = 'Regular Season' ) AS all_teams GROUP BY team_name ORDER BY avg_ft_pct DESC LIMIT 1 Dallas Mavericks | 0.804768292682927 False True False +How many points did Michael Jordan's Chicago Bulls score in the paint during the 1997 season? SELECT SUM(paint_points) AS total_paint_points FROM ( SELECT os.pts_paint_home AS paint_points FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Chicago Bulls' AND g.season_id = '21997' UNION ALL SELECT os.pts_paint_away AS paint_points FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_away = 'Chicago Bulls' AND g.season_id = '21997' ) AS all_games 2654 False True True +Which team had the best home record in the 2010 season? SELECT team_name_home AS team FROM game WHERE season_id = '22010' GROUP BY team_name_home ORDER BY CAST(SUM(CASE WHEN wl_home = 'W' THEN 1 ELSE 0 END) AS FLOAT) / COUNT(*) DESC LIMIT 1 San Antonio Spurs | 36 | 5 | 0.878048780487805 True False False +What was the average margin of victory for the Miami Heat during the 2013 NBA season? SELECT AVG(victory_margin) AS avg_victory_margin FROM ( SELECT plus_minus_home AS victory_margin FROM game WHERE team_name_home = 'Miami Heat' AND wl_home = 'W' AND season_id = '22013' UNION ALL SELECT plus_minus_away AS victory_margin FROM game WHERE team_name_away = 'Miami Heat' AND wl_away = 'W' AND season_id = '22013' ) AS victories 11.48148148 False True True +Which team had the most second-chance points in the 2015 season? SELECT team_name, SUM(second_chance_pts) AS total_second_chance_pts FROM ( SELECT g.team_name_home AS team_name, os.pts_2nd_chance_home AS second_chance_pts FROM game g JOIN other_stats os ON g.game_id = os.game_id WHERE g.season_id = '22015' UNION ALL SELECT g.team_name_away AS team_name, os.pts_2nd_chance_away AS second_chance_pts FROM game g JOIN other_stats os ON g.game_id = os.game_id WHERE g.season_id = '22015' ) AS all_teams GROUP BY team_name ORDER BY total_second_chance_pts DESC LIMIT 1 Houston Rockets | 1085 True False False +What is the all-time head-to-head record between the Los Angeles Lakers and Boston Celtics? SELECT SUM(CASE WHEN (team_name_home = 'Los Angeles Lakers' AND wl_home = 'W') OR (team_name_away = 'Los Angeles Lakers' AND wl_away = 'W') THEN 1 ELSE 0 END) AS lakers_wins, SUM(CASE WHEN (team_name_home = 'Boston Celtics' AND wl_home = 'W') OR (team_name_away = 'Boston Celtics' AND wl_away = 'W') THEN 1 ELSE 0 END) AS celtics_wins FROM game WHERE (team_name_home = 'Los Angeles Lakers' AND team_name_away = 'Boston Celtics') OR (team_name_home = 'Boston Celtics' AND team_name_away = 'Los Angeles Lakers') 110 | 113 True True True +How many games in NBA history have gone to overtime? SELECT COUNT(*) AS overtime_games FROM game WHERE min > 240 3414 False True False +What team had the most turnovers in a single game during the 2019 season? SELECT CASE WHEN tov_home > tov_away THEN team_name_home ELSE team_name_away END AS team_with_most_turnovers FROM game WHERE season_id = '22019' ORDER BY CASE WHEN tov_home > tov_away THEN tov_home ELSE tov_away END DESC LIMIT 1 Sacramento Kings True True False +Which team scored the most points off turnovers in the 2017 season and how many points did they score? SELECT team_name, SUM(pts_off_turnovers) AS total_pts_off_turnovers FROM ( SELECT g.team_name_home AS team_name, os.pts_off_to_home AS pts_off_turnovers FROM game g JOIN other_stats os ON g.game_id = os.game_id WHERE g.season_id = '22017' UNION ALL SELECT g.team_name_away AS team_name, os.pts_off_to_away AS pts_off_turnovers FROM game g JOIN other_stats os ON g.game_id = os.game_id WHERE g.season_id = '22017' ) AS all_games GROUP BY team_name ORDER BY total_pts_off_turnovers DESC LIMIT 1 Atlanta Hawks | 1309 True False False +Which players scored 50 or more points in a game during the 1990s? SELECT game_id, game_date, CASE WHEN pts_home >= 50 THEN team_name_home ELSE team_name_away END AS team_name, CASE WHEN pts_home >= 50 THEN pts_home ELSE pts_away END AS points FROM game WHERE (pts_home >= 50 OR pts_away >= 50) AND CAST(SUBSTR(season_id, 2) AS INTEGER) BETWEEN 1990 AND 1999 ORDER BY points DESC False True True +What team had the highest average number of fast break points per game in the 2005 season and how many of those points did they score? SELECT team_name, AVG(fastbreak_pts) AS avg_fastbreak_pts FROM ( SELECT g.team_name_home AS team_name, os.pts_fb_home AS fastbreak_pts FROM game g JOIN other_stats os ON g.game_id = os.game_id WHERE g.season_id = '22005' UNION ALL SELECT g.team_name_away AS team_name, os.pts_fb_away AS fastbreak_pts FROM game g JOIN other_stats os ON g.game_id = os.game_id WHERE g.season_id = '22005' ) AS all_teams GROUP BY team_name ORDER BY avg_fastbreak_pts DESC LIMIT 1 Denver Nuggets | 16.1641791044776 True True True +How many games did the Golden State Warriors win by 20 or more points during their 73-win season? SELECT COUNT(*) AS blowout_wins FROM ( SELECT game_id FROM game WHERE season_id = '22016' AND ((team_name_home = 'Golden State Warriors' AND wl_home = 'W' AND plus_minus_home >= 20) OR (team_name_away = 'Golden State Warriors' AND wl_away = 'W' AND plus_minus_away >= 20)) ) AS big_wins 23 False True False +What was the most common final score in NBA games during the 2000s and how many times did it happen? SELECT pts_home || '-' || pts_away AS score, COUNT(*) AS frequency FROM game WHERE CAST(SUBSTR(season_id, 2) AS INTEGER) BETWEEN 2000 AND 2009 GROUP BY score ORDER BY frequency DESC LIMIT 1 97.0-92.0 | 29 False True False +How many times did a team score 100 or more points but still lose the game in the 2020 season? SELECT COUNT(*) AS high_scoring_losses FROM ( SELECT game_id FROM game WHERE season_id = '22020' AND ((pts_home >= 100 AND wl_home = 'L') OR (pts_away >= 100 AND wl_away = 'L')) ) AS games 769 False True True +Which year saw the highest average points per game in NBA history? SELECT SUBSTR(season_id, 2) AS year, AVG(pts_home + pts_away) / 2 AS avg_pts_per_team FROM game GROUP BY year ORDER BY avg_pts_per_team DESC LIMIT 1 1960 | 142.0 True True True +What team had the worst free throw percentage in games they won during the 2007 season? SELECT team_name, AVG(ft_pct) AS avg_ft_pct_in_wins FROM ( SELECT team_name_home AS team_name, ft_pct_home AS ft_pct FROM game WHERE season_id = '22007' AND wl_home = 'W' UNION ALL SELECT team_name_away AS team_name, ft_pct_away AS ft_pct FROM game WHERE season_id = '22007' AND wl_away = 'W' ) AS winning_games GROUP BY team_name ORDER BY avg_ft_pct_in_wins ASC LIMIT 1 Cleveland Cavaliers | 0.717622222222222 False True True +How many times have the Los Angeles Lakers scored more than 120 points in a game but still lost? SELECT COUNT(*) AS high_scoring_losses FROM ( SELECT game_id FROM game WHERE (team_name_home = 'Los Angeles Lakers' AND pts_home > 120 AND wl_home = 'L') OR (team_name_away = 'Los Angeles Lakers' AND pts_away > 120 AND wl_away = 'L') ) AS games 90 False True True +Which team had the most offensive rebounds in the 2009 season? SELECT team_name, SUM(oreb) AS total_offensive_rebounds FROM ( SELECT team_name_home AS team_name, oreb_home AS oreb FROM game WHERE season_id = '22009' UNION ALL SELECT team_name_away AS team_name, oreb_away AS oreb FROM game WHERE season_id = '22009' ) AS all_teams GROUP BY team_name ORDER BY total_offensive_rebounds DESC LIMIT 1 Memphis Grizzlies | 1070.0 False True False +Which team had the best away record in the 2018 season? SELECT team_name_away AS team FROM game WHERE season_id = '22018' GROUP BY team_name_away ORDER BY CAST(SUM(CASE WHEN wl_away = 'W' THEN 1 ELSE 0 END) AS FLOAT) / COUNT(*) DESC LIMIT 1 True False False +Which team had the best overall record in the 2010 season? WITH home_records AS ( SELECT team_name_home AS team_name, SUM(CASE WHEN wl_home = 'W' THEN 1 ELSE 0 END) AS wins, COUNT(*) AS games_played FROM game WHERE season_id = '22010' GROUP BY team_name_home ), away_records AS ( SELECT team_name_away AS team_name, SUM(CASE WHEN wl_away = 'W' THEN 1 ELSE 0 END) AS wins, COUNT(*) AS games_played FROM game WHERE season_id = '22010' GROUP BY team_name_away ) SELECT h.team_name AS team, (h.wins + a.wins) AS total_wins, (h.games_played + a.games_played - h.wins - a.wins) AS total_losses, CAST((h.wins + a.wins) AS FLOAT) / (h.games_played + a.games_played) AS win_percentage FROM home_records h JOIN away_records a ON h.team_name = a.team_name ORDER BY win_percentage DESC LIMIT 1 Chicago Bulls | 62 | 20 | 0.75609756097561 True True True +Which team had the worst overall record in the 2017 season? WITH home_records AS ( SELECT team_name_home AS team_name, SUM(CASE WHEN wl_home = 'W' THEN 1 ELSE 0 END) AS wins, COUNT(*) AS games_played FROM game WHERE season_id = '22017' GROUP BY team_name_home ), away_records AS ( SELECT team_name_away AS team_name, SUM(CASE WHEN wl_away = 'W' THEN 1 ELSE 0 END) AS wins, COUNT(*) AS games_played FROM game WHERE season_id = '22017' GROUP BY team_name_away ) SELECT h.team_name AS team, (h.wins + a.wins) AS total_wins, (h.games_played + a.games_played - h.wins - a.wins) AS total_losses, CAST((h.wins + a.wins) AS FLOAT) / (h.games_played + a.games_played) AS win_percentage FROM home_records h JOIN away_records a ON h.team_name = a.team_name ORDER BY win_percentage ASC LIMIT 1 Phoenix Suns | 21 | 61 | 0.25609756097561 True True True +What was the highest number of points scored by the Boston Celtics in a home game during the 2020 season? SELECT MAX(pts_home) AS max_points, team_name_home, season_id FROM game WHERE team_name_home = 'Boston Celtics' AND season_id = '22020' GROUP BY team_name_home, season_id; 145.0 | Boston Celtics | 22020 False True False +Which team had the largest home court lead in any game against the Los Angeles Lakers? SELECT team_city_home AS home_team, largest_lead_home AS max_lead FROM other_stats JOIN game ON other_stats.game_id = game.game_id WHERE team_name_away = 'Los Angeles Lakers' ORDER BY largest_lead_home DESC LIMIT 1; Utah | 53 True True False +How many fastbreak points did the Miami Heat score at home in their highest scoring game of the 2019 season? SELECT o.pts_fb_home AS fastbreak_points, g.pts_home AS total_points FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Miami Heat' AND g.season_id = '22019' ORDER BY g.pts_home DESC LIMIT 1; 8 | 137.0 False True True +What is the total number of three-pointers made by the Golden State Warriors at home versus the Cleveland Cavaliers in all seasons combined? SELECT SUM(fg3m_home) AS total_threes FROM game WHERE team_name_home = 'Golden State Warriors' AND team_name_away = 'Cleveland Cavaliers'; 407 False True True +What was the combined rebound total for the Toronto Raptors and Brooklyn Nets in their highest scoring game against each other? SELECT MAX(g.pts_home + g.pts_away) AS total_points, g.reb_home + g.reb_away AS total_rebounds FROM game g WHERE (g.team_name_home = 'Toronto Raptors' AND g.team_name_away = 'Brooklyn Nets') OR (g.team_name_home = 'Brooklyn Nets' AND g.team_name_away = 'Toronto Raptors') ORDER BY total_points DESC LIMIT 1; 272.0 | 101.0 False True True + What is the average number of points scored in the paint by the Philadelphia 76ers at home in games they won versus games they lost? SELECT (SELECT AVG(o.pts_paint_home) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Philadelphia 76ers' AND g.wl_home = 'W') AS avg_paint_points_wins, (SELECT AVG(o.pts_paint_home) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Philadelphia 76ers' AND g.wl_home = 'L') AS avg_paint_points_losses FROM game LIMIT 1; 42.4105461393597 | 41.4549763033175 False True True +When did the Phoenix Suns and San Antonio Spurs have their closest game in terms of final score difference? SELECT g.game_date, ABS(g.pts_home - g.pts_away) AS score_difference FROM game g WHERE (g.team_name_home = 'Phoenix Suns' AND g.team_name_away = 'San Antonio Spurs') OR (g.team_name_home = 'San Antonio Spurs' AND g.team_name_away = 'Phoenix Suns') ORDER BY score_difference ASC LIMIT 1; 1982-11-07 00:00:00 | 1.0 False True False +What was the average free throw percentage for the New York Knicks in games where they scored more than 100 points at home during the 2018 season? SELECT AVG(ft_pct_home) AS avg_ft_percentage FROM game WHERE team_name_home = 'New York Knicks' AND pts_home > 100 AND season_id = '22018'; 0.7675555556 False True True +In which season did the Los Angeles Lakers have the highest average points in the paint at home? SELECT g.season_id, AVG(o.pts_paint_home) AS avg_paint_points FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Los Angeles Lakers' GROUP BY g.season_id ORDER BY avg_paint_points DESC LIMIT 1; 22018 | 54.4242424242424 True False False +What was the combined steals total for the Houston Rockets and Oklahoma City Thunder in their highest scoring matchup? SELECT g.stl_home + g.stl_away AS total_steals, g.pts_home + g.pts_away AS total_points FROM game g WHERE (g.team_name_home = 'Houston Rockets' AND g.team_name_away = 'Oklahoma City Thunder') OR (g.team_name_home = 'Oklahoma City Thunder' AND g.team_name_away = 'Houston Rockets') ORDER BY total_points DESC LIMIT 1; 15.0 | 274.0 False True True +What was the largest point differential in any game between the Boston Celtics and the Los Angeles Lakers? SELECT ABS(pts_home - pts_away) AS point_differential FROM game WHERE (team_name_home = 'Boston Celtics' AND team_name_away = 'Los Angeles Lakers') OR (team_name_home = 'Los Angeles Lakers' AND team_name_away = 'Boston Celtics') ORDER BY point_differential DESC LIMIT 1; 39 False True True +What's the total number of blocks the Milwaukee Bucks recorded at home in the 2019 season compared to the 2020 season? SELECT (SELECT SUM(blk_home) FROM game WHERE team_name_home = 'Milwaukee Bucks' AND season_id = '22019') AS blocks_2019, (SELECT SUM(blk_home) FROM game WHERE team_name_home = 'Milwaukee Bucks' AND season_id = '22020') AS blocks_2020, (SELECT SUM(blk_home) FROM game WHERE team_name_home = 'Milwaukee Bucks' AND season_id = '22020') - (SELECT SUM(blk_home) FROM game WHERE team_name_home = 'Milwaukee Bucks' AND season_id = '22019') AS blocks_difference FROM game LIMIT 1; 207.0 | 171.0 | -36.0 False True True +Which opponent did the Golden State Warriors have the most lead changes against in a single home game? SELECT o.team_city_away AS opponent, o.lead_changes FROM other_stats o JOIN game g ON o.game_id = g.game_id WHERE g.team_name_home = 'Golden State Warriors' ORDER BY o.lead_changes DESC LIMIT 1; Seattle | 33 False True True +What was the shooting efficiency (field goal percentage) difference between the Toronto Raptors and their opponents in home games they won during the 2019 season? SELECT AVG(fg_pct_home - fg_pct_away) AS fg_pct_differential FROM game WHERE team_name_home = 'Toronto Raptors' AND wl_home = 'W' AND season_id = '22019'; 0.07526923077 False True True +In games where the Miami Heat scored more than 110 points at home, what was their average rebounding advantage over opponents? SELECT AVG(reb_home - reb_away) AS avg_rebound_advantage FROM game WHERE team_name_home = 'Miami Heat' AND pts_home > 110; 4.68079096 False True True +What was the date of the game with the most combined second-chance points between the Philadelphia 76ers and the Brooklyn Nets? SELECT g.game_date, (o.pts_2nd_chance_home + o.pts_2nd_chance_away) AS total_second_chance_pts FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE (g.team_name_home = 'Philadelphia 76ers' AND g.team_name_away = 'Brooklyn Nets') OR (g.team_name_home = 'Brooklyn Nets' AND g.team_name_away = 'Philadelphia 76ers') ORDER BY total_second_chance_pts DESC LIMIT 1; 2012-10-19 00:00:00 | 49 False True True +How many points did the Chicago Bulls score from fastbreaks and points off turnovers combined in their highest scoring home game of the 2017 season? SELECT (o.pts_fb_home + o.pts_off_to_home) AS transition_points, g.pts_home FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Chicago Bulls' AND g.season_id = '22017' ORDER BY g.pts_home DESC LIMIT 1; 28 | 123.0 False True True +In which season did the Portland Trail Blazers have the best home court free throw shooting percentage in games they lost? SELECT season_id, AVG(ft_pct_home) AS avg_ft_pct FROM game WHERE team_name_home = 'Portland Trail Blazers' AND wl_home = 'L' GROUP BY season_id ORDER BY avg_ft_pct DESC LIMIT 1; 42000 | 0.923 False True True +What was the offensive rebound difference between the Denver Nuggets and Minnesota Timberwolves in their highest combined scoring game? SELECT CASE WHEN g.team_name_home = 'Denver Nuggets' THEN g.oreb_home - g.oreb_away ELSE g.oreb_away - g.oreb_home END AS nuggets_oreb_advantage FROM game g WHERE (g.team_name_home = 'Denver Nuggets' AND g.team_name_away = 'Minnesota Timberwolves') OR (g.team_name_home = 'Minnesota Timberwolves' AND g.team_name_away = 'Denver Nuggets') ORDER BY (g.pts_home + g.pts_away) DESC LIMIT 1; 0 False True True +What is the average number of points in the paint scored by the Sacramento Kings at home in the first half of the 2018 season compared to the second half? SELECT (SELECT AVG(o.pts_paint_home) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Sacramento Kings' AND g.season_id = '22018' AND CAST(strftime('%m', g.game_date) AS INTEGER) <= 6) AS first_half_avg, (SELECT AVG(o.pts_paint_home) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Sacramento Kings' AND g.season_id = '22018' AND CAST(strftime('%m', g.game_date) AS INTEGER) > 6) AS second_half_avg FROM game LIMIT 1; 51.3 | 49.5 False True True +What was the largest lead held by the Orlando Magic in any game where they eventually lost at home? SELECT o.largest_lead_home AS largest_lead, g.game_date FROM other_stats o JOIN game g ON o.game_id = g.game_id WHERE g.team_name_home = 'Orlando Magic' AND g.wl_home = 'L' ORDER BY o.largest_lead_home DESC LIMIT 1; 46 | 2017-11-18 00:00:00 True True True +What's the combined assist-to-turnover ratio for the Cleveland Cavaliers in home games during their best winning streak? WITH streaks AS ( SELECT g.game_id, g.ast_home, o.total_turnovers_home, ROW_NUMBER() OVER (ORDER BY g.game_date) - ROW_NUMBER() OVER (PARTITION BY g.wl_home ORDER BY g.game_date) AS streak_id FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Cleveland Cavaliers' AND g.wl_home = 'W' ) SELECT SUM(ast_home) / CASE WHEN SUM(total_turnovers_home) = 0 THEN 1 ELSE SUM(total_turnovers_home) END AS assist_turnover_ratio FROM streaks GROUP BY streak_id ORDER BY COUNT(*) DESC, assist_turnover_ratio DESC LIMIT 1; 1.731766124 True True False +What is the average combined score in games between the New Orleans Pelicans and Memphis Grizzlies compared to the league average in the 2021 season? SELECT (SELECT AVG(pts_home + pts_away) FROM game WHERE (team_name_home = 'New Orleans Pelicans' AND team_name_away = 'Memphis Grizzlies') OR (team_name_home = 'Memphis Grizzlies' AND team_name_away = 'New Orleans Pelicans') AND season_id = '22021') AS pelgrizzlies_avg, (SELECT AVG(pts_home + pts_away) FROM game WHERE season_id = '22021') AS league_avg, (SELECT AVG(pts_home + pts_away) FROM game WHERE (team_name_home = 'New Orleans Pelicans' AND team_name_away = 'Memphis Grizzlies') OR (team_name_home = 'Memphis Grizzlies' AND team_name_away = 'New Orleans Pelicans') AND season_id = '22021') - (SELECT AVG(pts_home + pts_away) FROM game WHERE season_id = '22021') AS difference FROM game LIMIT 1; 216.380952380952 | 221.231707317073 | -4.85075493612078 True True False +In games where the Phoenix Suns outscored their opponents in fastbreak points at home, what was their win percentage? SELECT COUNT(CASE WHEN g.wl_home = 'W' THEN 1 END) * 100.0 / COUNT(*) AS win_percentage FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Phoenix Suns' AND o.pts_fb_home > o.pts_fb_away; 62.12121212 False True True +What was the average margin of victory for the Boston Celtics in home games during the 2000 season? SELECT AVG(pts_home - pts_away) AS avg_victory_margin FROM game WHERE team_name_home = 'Boston Celtics' AND wl_home = 'W' AND season_id = '22000'; 9.75 False True False +Which team had the highest average points from second chance opportunities in home games they won during the 2016 season? SELECT g.team_name_home, AVG(o.pts_2nd_chance_home) AS avg_second_chance_pts FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.wl_home = 'W' AND g.season_id = '22016' GROUP BY g.team_name_home ORDER BY avg_second_chance_pts DESC LIMIT 1; Los Angeles Lakers | 15.6153846153846 False True True +What was the free throw percentage difference between the Washington Wizards and Charlotte Hornets in their closest game since 2010? SELECT ABS(g.ft_pct_home - g.ft_pct_away) AS ft_pct_diff FROM game g WHERE ((g.team_name_home = 'Washington Wizards' AND g.team_name_away = 'Charlotte Hornets') OR (g.team_name_home = 'Charlotte Hornets' AND g.team_name_away = 'Washington Wizards')) AND CAST(SUBSTR(g.season_id, 2) AS INTEGER) >= 2010 ORDER BY ABS(g.pts_home - g.pts_away) ASC LIMIT 1; 0.054 False True True +Which team had the biggest improvement in home court defensive rebounding from the 2017 to 2018 season? SELECT team_name_home, AVG(CASE WHEN season_id = '22018' THEN dreb_home END) - AVG(CASE WHEN season_id = '22017' THEN dreb_home END) AS dreb_improvement FROM game WHERE season_id IN ('22017', '22018') GROUP BY team_name_home ORDER BY dreb_improvement DESC LIMIT 1; Milwaukee Bucks | 9.90243902439024 False True True +What was the lowest number of combined turnovers in any game involving the San Antonio Spurs during the 2019 season? SELECT MIN(o.total_turnovers_home + o.total_turnovers_away) AS min_combined_turnovers FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE (g.team_name_home = 'San Antonio Spurs' OR g.team_name_away = 'San Antonio Spurs') AND g.season_id = '22019'; 13 False True True +What was the average points per game for the Indiana Pacers in home games where they attempted more three-pointers than their season average? WITH season_avg AS ( SELECT AVG(fg3a_home) AS avg_3pa FROM game WHERE team_name_home = 'Indiana Pacers' AND season_id = '22018' ) SELECT AVG(g.pts_home) AS avg_points FROM game g, season_avg s WHERE g.team_name_home = 'Indiana Pacers' AND g.season_id = '22018' AND g.fg3a_home > s.avg_3pa; 106.7894737 False True True +In games where the Brooklyn Nets scored more than 50 points in the paint at home, what was their assist-to-field goal made ratio? SELECT SUM(g.ast_home) * 1.0 / SUM(g.fgm_home) AS assist_to_fgm_ratio FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Brooklyn Nets' AND o.pts_paint_home > 50; 0.588761175 False True True +What was the combined free throw percentage for the Oklahoma City Thunder and Houston Rockets in their highest scoring playoff game? SELECT (g.ftm_home + g.ftm_away) * 100.0 / NULLIF((g.fta_home + g.fta_away), 0) AS combined_ft_pct FROM game g WHERE ((g.team_name_home = 'Oklahoma City Thunder' AND g.team_name_away = 'Houston Rockets') OR (g.team_name_home = 'Houston Rockets' AND g.team_name_away = 'Oklahoma City Thunder')) AND g.season_type = 'Playoffs' ORDER BY (g.pts_home + g.pts_away) DESC LIMIT 1; 86.36363636 False True True +Which opponent did the Toronto Raptors have the highest average point differential against in home games during the 2019 championship season? SELECT team_name_away, AVG(pts_home - pts_away) AS avg_point_diff FROM game WHERE team_name_home = 'Toronto Raptors' AND season_id = '22019' GROUP BY team_name_away ORDER BY avg_point_diff DESC LIMIT 1; New York Knicks | 28.0 False True True +What was the difference in three-point shooting volume (attempts) between the Golden State Warriors and their opponents in home games during their record-breaking 2016 season? SELECT AVG(fg3a_home - fg3a_away) AS three_point_attempt_diff FROM game WHERE team_name_home = 'Golden State Warriors' AND season_id = '22016'; 3.195121951 False True True +In games where the Chicago Bulls recorded more than 10 steals at home, what was their win percentage during the 1998 season? SELECT COUNT(CASE WHEN wl_home = 'W' THEN 1 END) * 100.0 / COUNT(*) AS win_percentage FROM game WHERE team_name_home = 'Chicago Bulls' AND stl_home > 10 AND season_id = '21998'; 42.85714286 False True True +What was the highest number of lead changes in any game between the Los Angeles Lakers and Boston Celtics? SELECT MAX(o.lead_changes) AS max_lead_changes FROM other_stats o JOIN game g ON o.game_id = g.game_id WHERE (g.team_name_home = 'Los Angeles Lakers' AND g.team_name_away = 'Boston Celtics') OR (g.team_name_home = 'Boston Celtics' AND g.team_name_away = 'Los Angeles Lakers'); 22 True True True +What was the average points scored by the Miami Heat in games where they had a higher field goal percentage than their opponent but still lost at home? SELECT AVG(pts_home) AS avg_points FROM game WHERE team_name_home = 'Miami Heat' AND fg_pct_home > fg_pct_away AND wl_home = 'L'; 95.70833333 False True True +Which team had the largest improvement in points off turnovers at home from the 2015 to 2016 season? SELECT g1.team_name_home, AVG(CASE WHEN g1.season_id = '22016' THEN o1.pts_off_to_home END) - AVG(CASE WHEN g1.season_id = '22015' THEN o1.pts_off_to_home END) AS improvement FROM game g1 JOIN other_stats o1 ON g1.game_id = o1.game_id WHERE g1.season_id IN ('22015', '22016') GROUP BY g1.team_name_home ORDER BY improvement DESC LIMIT 1; Los Angeles Lakers | 2.32432432432432 False True True +Which team had the highest ratio of three-point makes to total field goal attempts in home games during the 2021 season? SELECT team_name_home, SUM(fg3m_home) * 1.0 / NULLIF(SUM(fga_home), 0) AS three_point_ratio FROM game WHERE season_id = '22021' GROUP BY team_name_home ORDER BY three_point_ratio DESC LIMIT 1; Golden State Warriors | 0.171539961013645 False True True +What was the average points per game the Portland Trail Blazers scored at home in games where they grabbed more offensive rebounds than their opponents during the 2018 season? SELECT AVG(pts_home) AS avg_points FROM game WHERE team_name_home = 'Portland Trail Blazers' AND oreb_home > oreb_away AND season_id = '22018'; 116.4583333 False True True +Which opponent did the Philadelphia 76ers have the most ties in a single game with during the 2019 season? SELECT g.team_name_away, o.times_tied FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Philadelphia 76ers' AND g.season_id = '22019' ORDER BY o.times_tied DESC LIMIT 1; Indiana Pacers | 14 False True False +What was the difference in average home winning margin between the Denver Nuggets and Utah Jazz in seasons where both teams made the playoffs? SELECT (SELECT AVG(pts_home - pts_away) FROM game WHERE team_name_home = 'Denver Nuggets' AND wl_home = 'W' AND season_id IN (SELECT DISTINCT season_id FROM game WHERE season_type = 'Playoffs' AND team_name_home = 'Denver Nuggets')) - (SELECT AVG(pts_home - pts_away) FROM game WHERE team_name_home = 'Utah Jazz' AND wl_home = 'W' AND season_id IN (SELECT DISTINCT season_id FROM game WHERE season_type = 'Playoffs' AND team_name_home = 'Utah Jazz')) AS margin_difference FROM game LIMIT 1; 1.549491596 True False False +What was the average margin of victory for the Detroit Pistons in home games where they scored more than 100 points and allowed fewer than 90 points? SELECT AVG(pts_home - pts_away) AS avg_victory_margin FROM game WHERE team_name_home = 'Detroit Pistons' AND pts_home > 100 AND pts_away < 90; 23.5 False True True +In which season did the Cleveland Cavaliers have the highest ratio of assists to turnovers in home games? SELECT season_id, SUM(ast_home) * 1.0 / NULLIF(SUM(tov_home), 0) AS assist_to_turnover_ratio FROM game WHERE team_name_home = 'Cleveland Cavaliers' GROUP BY season_id ORDER BY assist_to_turnover_ratio DESC LIMIT 1; 21984 | 29.7948717948718 False True True +What was the field goal percentage difference between the Minnesota Timberwolves and San Antonio Spurs in their highest combined scoring game? SELECT CASE WHEN team_name_home = 'Minnesota Timberwolves' THEN fg_pct_home - fg_pct_away ELSE fg_pct_away - fg_pct_home END AS twolves_fg_pct_advantage FROM game WHERE (team_name_home = 'Minnesota Timberwolves' AND team_name_away = 'San Antonio Spurs') OR (team_name_home = 'San Antonio Spurs' AND team_name_away = 'Minnesota Timberwolves') ORDER BY (pts_home + pts_away) DESC LIMIT 1; 0.042 False True True +Which opponent did the Orlando Magic have the most fastbreak points against in a home game during the 2019 season? SELECT g.team_name_away, o.pts_fb_home AS fastbreak_points FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Orlando Magic' AND g.season_id = '22019' ORDER BY o.pts_fb_home DESC LIMIT 1; New Orleans Pelicans | 21 False True True +What was the difference in three-point shooting accuracy between the Houston Rockets and their opponents in home games during the 2018 season? SELECT AVG(fg3_pct_home - fg3_pct_away) AS three_pt_percentage_diff FROM game WHERE team_name_home = 'Houston Rockets' AND season_id = '22018'; 0.01543902439 False True True +What was the highest combined steals and blocks total for the Toronto Raptors in any home game during their championship season? SELECT MAX(stl_home + blk_home) AS combined_steals_blocks FROM game WHERE team_name_home = 'Toronto Raptors' AND season_id = '22019'; 24 False True True +What was the average number of lead changes in games where the Milwaukee Bucks won at home by less than 5 points? SELECT AVG(o.lead_changes) AS avg_lead_changes FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Milwaukee Bucks' AND g.wl_home = 'W' AND (g.pts_home - g.pts_away) < 5; 8.59375 False True True +What was the highest number of points the Golden State Warriors scored in a game where they shot below their season average from three-point range? WITH season_avg AS ( SELECT AVG(fg3_pct_home) AS avg_3pt_pct FROM game WHERE team_name_home = 'Golden State Warriors' AND season_id = '22016' ) SELECT MAX(g.pts_home) AS max_points FROM game g, season_avg s WHERE g.team_name_home = 'Golden State Warriors' AND g.season_id = '22016' AND g.fg3_pct_home < s.avg_3pt_pct; 142 False True True +What was the points in the paint difference between the Los Angeles Lakers and their opponents in home games they won by double digits during the 2020 season? SELECT AVG(o.pts_paint_home - o.pts_paint_away) AS paint_points_diff FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Los Angeles Lakers' AND g.wl_home = 'W' AND (g.pts_home - g.pts_away) >= 10 AND g.season_id = '22020'; -0.5454545455 False True True +Which team had the highest average combined offensive and defensive rebounds in home games during the 2017 season? SELECT team_name_home, AVG(oreb_home + dreb_home) AS avg_total_rebounds FROM game WHERE season_id = '22017' GROUP BY team_name_home ORDER BY avg_total_rebounds DESC LIMIT 1; Philadelphia 76ers | 48.9512195121951 False True True +What was the largest deficit overcome by the Miami Heat in any home victory? SELECT o.largest_lead_away AS max_deficit_overcome FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Miami Heat' AND g.wl_home = 'W' ORDER BY o.largest_lead_away DESC LIMIT 1; 46 True True False +What was the difference in points per field goal attempt between the Philadelphia 76ers and their opponents in home games during the 2018 season? SELECT AVG((pts_home / NULLIF(fga_home, 0)) - (pts_away / NULLIF(fga_away, 0))) AS ppfga_diff FROM game WHERE team_name_home = 'Philadelphia 76ers' AND season_id = '22018'; 0.1332818787 False True True +Which season saw the Boston Celtics record their highest average steal-to-turnover ratio in home games? SELECT season_id, SUM(stl_home) * 1.0 / NULLIF(SUM(tov_home), 0) AS steal_to_turnover_ratio FROM game WHERE team_name_home = 'Boston Celtics' GROUP BY season_id ORDER BY steal_to_turnover_ratio DESC LIMIT 1; 12017 | 0.851851851851852 False True True +What was the average rebounding margin for the San Antonio Spurs in home games where they shot above 50% from the field? SELECT AVG(reb_home - reb_away) AS avg_rebound_margin FROM game WHERE team_name_home = 'San Antonio Spurs' AND fg_pct_home > 0.5; 5.122781065 False True True +What was the difference in second-chance points between the Chicago Bulls and their opponents in their closest home game of the 2016 season? SELECT o.pts_2nd_chance_home - o.pts_2nd_chance_away AS second_chance_diff FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Chicago Bulls' AND g.season_id = '22016' ORDER BY ABS(g.pts_home - g.pts_away) ASC LIMIT 1; -5 False True True +Which opponent gave up the most points in the paint to the New York Knicks in a home game during the 2019 season? SELECT g.team_name_away, o.pts_paint_home FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'New York Knicks' AND g.season_id = '22019' ORDER BY o.pts_paint_home DESC LIMIT 1; New Orleans Pelicans | 66 False True True +What was the average free throw attempt difference between the Denver Nuggets and their opponents in home games they lost during the 2017 season? SELECT AVG(fta_home - fta_away) AS avg_fta_diff FROM game WHERE team_name_home = 'Denver Nuggets' AND wl_home = 'L' AND season_id = '22017'; 3.9 False True True +What is the ratio of team rebounds to total rebounds for the Portland Trail Blazers in their highest scoring home game? SELECT o.team_rebounds_home * 1.0 / NULLIF(g.reb_home, 0) AS team_to_total_reb_ratio FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Portland Trail Blazers' ORDER BY g.pts_home DESC LIMIT 1; 0.3454545455 False True True +What was the highest combined total of second chance points in any game involving the Miami Heat during the 2017 season? SELECT MAX(o.pts_2nd_chance_home + o.pts_2nd_chance_away) AS max_combined_second_chance FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE (g.team_name_home = 'Miami Heat' OR g.team_name_away = 'Miami Heat') AND g.season_id = '22017'; 41 False True True +hat is the difference in average home winning percentage between teams founded before 1980 and teams founded after 1980? SELECT (SELECT COUNT(CASE WHEN g.wl_home = 'W' THEN 1 END) * 100.0 / COUNT(*) FROM game g JOIN team t ON g.team_id_home = t.id WHERE t.year_founded < 1980) - (SELECT COUNT(CASE WHEN g.wl_home = 'W' THEN 1 END) * 100.0 / COUNT(*) FROM game g JOIN team t ON g.team_id_home = t.id WHERE t.year_founded >= 1980) AS win_pct_diff FROM game LIMIT 1; 7.048616104 True False False +What was the highest number of points scored by the Brooklyn Nets in any home game during the 2019 season? SELECT MAX(pts_home) AS max_points FROM game WHERE team_name_home = 'Brooklyn Nets' AND season_id = '22019'; 139 True True True +What is the average number of assists per game for the Boston Celtics when playing at home versus away? SELECT (SELECT AVG(ast_home) FROM game WHERE team_name_home = 'Boston Celtics') AS avg_home_assists, (SELECT AVG(ast_away) FROM game WHERE team_name_away = 'Boston Celtics') AS avg_away_assists FROM game LIMIT 1; 24.8868921775899 | 22.7171122994652 False True True +Which team had the best three-point shooting percentage in home games during the 2020 season? SELECT team_name_home, AVG(fg3_pct_home) AS avg_3pt_pct FROM game WHERE season_id = '22020' GROUP BY team_name_home ORDER BY avg_3pt_pct DESC LIMIT 1; LA Clippers | 0.423777777777778 False True True +What was the total number of blocks recorded by the Milwaukee Bucks in home games during the 2018 season? SELECT SUM(blk_home) AS total_blocks FROM game WHERE team_name_home = 'Milwaukee Bucks' AND season_id = '22018'; 238 False True True +What is the win percentage for the Chicago Bulls in home games where they scored more than 100 points? SELECT COUNT(CASE WHEN wl_home = 'W' THEN 1 END) * 100.0 / COUNT(*) AS win_percentage FROM game WHERE team_name_home = 'Chicago Bulls' AND pts_home > 100; 75.7531227 False True True +Which opponent did the Miami Heat have their largest margin of victory against in a home game? SELECT team_name_away, MAX(pts_home - pts_away) AS victory_margin FROM game WHERE team_name_home = 'Miami Heat' AND wl_home = 'W' GROUP BY team_name_away ORDER BY victory_margin DESC LIMIT 1; Los Angeles Clippers | 43.0 False True True +What was the average number of fastbreak points scored by the Los Angeles Lakers in home wins during the 2020 season? SELECT AVG(o.pts_fb_home) AS avg_fastbreak_points FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Los Angeles Lakers' AND g.wl_home = 'W' AND g.season_id = '22020'; 13.64705882 True True True +What is the difference in free throw percentage between the Philadelphia 76ers and their opponents in home games? SELECT AVG(ft_pct_home - ft_pct_away) AS ft_pct_diff FROM game WHERE team_name_home = 'Philadelphia 76ers'; -0.0004981519507 False True True +Which team had the lowest average turnovers per game at home during the 2019 season? SELECT team_name_home, AVG(tov_home) AS avg_turnovers FROM game WHERE season_id = '22019' GROUP BY team_name_home ORDER BY avg_turnovers ASC LIMIT 1; Dallas Mavericks | 12.8421052631579 True True True +What was the rebounding differential in games between the Toronto Raptors and Boston Celtics? SELECT AVG( CASE WHEN team_name_home = 'Toronto Raptors' THEN reb_home - reb_away ELSE reb_away - reb_home END ) AS avg_reb_diff FROM game WHERE (team_name_home = 'Toronto Raptors' AND team_name_away = 'Boston Celtics') OR (team_name_home = 'Boston Celtics' AND team_name_away = 'Toronto Raptors'); -0.9302325581 True True True +What is the total number of points scored by the Houston Rockets in home games against the Los Angeles Lakers? SELECT SUM(pts_home) AS total_points FROM game WHERE team_name_home = 'Houston Rockets' AND team_name_away = 'Los Angeles Lakers'; 11849 True True False +Which team had the highest percentage of points coming from free throws in home games during the 2018 season? SELECT team_name_home, SUM(ftm_home) * 100.0 / SUM(pts_home) AS ft_points_percentage FROM game WHERE season_id = '22018' GROUP BY team_name_home ORDER BY ft_points_percentage DESC LIMIT 1; Philadelphia 76ers | 18.8943894389439 False True True +What was the average points in the paint for the Denver Nuggets in games they won versus games they lost at home? SELECT AVG(CASE WHEN g.wl_home = 'W' THEN o.pts_paint_home END) AS avg_paint_pts_wins, AVG(CASE WHEN g.wl_home = 'L' THEN o.pts_paint_home END) AS avg_paint_pts_losses FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Denver Nuggets'; 45.465034965035 | 42.1988950276243 False True True +What is the winning percentage of teams that score more points off turnovers than their opponents in home games? SELECT COUNT(CASE WHEN g.wl_home = 'W' THEN 1 END) * 100.0 / COUNT(*) AS win_percentage FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE o.pts_off_to_home > o.pts_off_to_away; 59.39603106 False True True +What was the assist-to-turnover ratio for the Golden State Warriors in home games during their 2016 record-breaking season? SELECT SUM(ast_home) * 1.0 / NULLIF(SUM(tov_home), 0) AS assist_turnover_ratio FROM game WHERE team_name_home = 'Golden State Warriors' AND season_id = '22016'; 2.186356073 True True False +What is the average combined score in games where the San Antonio Spurs played at home during the 2019 season? SELECT AVG(pts_home + pts_away) AS avg_combined_score FROM game WHERE team_name_home = 'San Antonio Spurs' AND season_id = '22019'; 227.6764706 False True True +What was the field goal percentage difference between the Dallas Mavericks and their opponents in home games they lost by less than 5 points? SELECT AVG(fg_pct_home - fg_pct_away) AS fg_pct_diff FROM game WHERE team_name_home = 'Dallas Mavericks' AND wl_home = 'L' AND (pts_away - pts_home) < 5; -0.0273315508 False True True +Which team had the highest average second chance points in home games during the 2020 season? SELECT g.team_name_home, AVG(o.pts_2nd_chance_home) AS avg_second_chance_pts FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.season_id = '22020' GROUP BY g.team_name_home ORDER BY avg_second_chance_pts DESC LIMIT 1; Minnesota Timberwolves | 15.3793103448276 True True False +What was the largest combined rebound total in any game between the New York Knicks and Brooklyn Nets? SELECT MAX(reb_home + reb_away) AS max_combined_rebounds FROM game WHERE (team_name_home = 'New York Knicks' AND team_name_away = 'Brooklyn Nets') OR (team_name_home = 'Brooklyn Nets' AND team_name_away = 'New York Knicks'); 110 False True True +What was the average three-point shooting percentage for the Los Angeles Lakers in games where they scored over 110 points at home? SELECT AVG(fg3_pct_home) AS avg_3pt_percentage FROM game WHERE team_name_home = 'Los Angeles Lakers' AND pts_home > 110; 0.3863559823 False True True +Which team had the highest free throw shooting percentage in away games during the 2018 season? SELECT team_name_away, AVG(ft_pct_away) AS avg_ft_pct FROM game WHERE season_id = '22018' GROUP BY team_name_away ORDER BY avg_ft_pct DESC LIMIT 1; San Antonio Spurs | 0.823804878048781 False True True +What was the average margin of victory for the Toronto Raptors in home games where they had more assists than their opponent? SELECT AVG(pts_home - pts_away) AS avg_margin FROM game WHERE team_name_home = 'Toronto Raptors' AND wl_home = 'W' AND ast_home > ast_away; 12.98398169 False True True +What is the total number of steals recorded by the Miami Heat in games against the Boston Celtics? SELECT SUM(CASE WHEN team_name_home = 'Miami Heat' THEN stl_home ELSE stl_away END) AS total_steals FROM game WHERE (team_name_home = 'Miami Heat' AND team_name_away = 'Boston Celtics') OR (team_name_home = 'Boston Celtics' AND team_name_away = 'Miami Heat'); 1253 False True True +Which opponent did the Cleveland Cavaliers have the best rebounding differential against in home games during the 2017 season? SELECT team_name_away, AVG(reb_home - reb_away) AS reb_diff FROM game WHERE team_name_home = 'Cleveland Cavaliers' AND season_id = '22017' GROUP BY team_name_away ORDER BY reb_diff DESC LIMIT 1; Phoenix Suns | 18.0 False True True +What was the average number of fastbreak points scored by the Houston Rockets in games they won by more than 15 points at home? SELECT AVG(o.pts_fb_home) AS avg_fastbreak_points FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Houston Rockets' AND g.wl_home = 'W' AND (g.pts_home - g.pts_away) > 15; 13.39790576 True True True +What is the win percentage for the Golden State Warriors in home games where they made fewer three-pointers than their opponent? SELECT COUNT(CASE WHEN wl_home = 'W' THEN 1 END) * 100.0 / COUNT(*) AS win_percentage FROM game WHERE team_name_home = 'Golden State Warriors' AND fg3m_home < fg3m_away; 44.95677233 False True True +What was the highest combined total of blocks in any game between the Utah Jazz and San Antonio Spurs? SELECT MAX(blk_home + blk_away) AS total_blocks FROM game WHERE (team_name_home = 'Utah Jazz' AND team_name_away = 'San Antonio Spurs') OR (team_name_home = 'San Antonio Spurs' AND team_name_away = 'Utah Jazz'); 26 False True True +What is the average difference in points in the paint between the Milwaukee Bucks and their opponents in home games? SELECT AVG(o.pts_paint_home - o.pts_paint_away) AS avg_paint_diff FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Milwaukee Bucks'; 0.5026068822 True True True +Which season saw the Philadelphia 76ers record their highest average number of steals per game at home? SELECT season_id, AVG(stl_home) AS avg_steals FROM game WHERE team_name_home = 'Philadelphia 76ers' GROUP BY season_id ORDER BY avg_steals DESC LIMIT 1; 12021 | 17.0 False True True +What was the shooting percentage from the field for the New York Knicks in their highest scoring home game of the 2019 season? SELECT fg_pct_home AS shooting_percentage FROM game WHERE team_name_home = 'New York Knicks' AND season_id = '22019' ORDER BY pts_home DESC LIMIT 1; 0.558 False True True +What is the average number of lead changes in games where the Chicago Bulls won at home by less than 10 points? SELECT AVG(o.lead_changes) AS avg_lead_changes FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'Chicago Bulls' AND g.wl_home = 'W' AND (g.pts_home - g.pts_away) < 10; 7.84469697 False True True +What was the difference in average free throw attempts between the Brooklyn Nets and their opponents in home games during the 2020 season? SELECT AVG(fta_home - fta_away) AS fta_diff FROM game WHERE team_name_home = 'Brooklyn Nets' AND season_id = '22020'; 1.083333333 False True True +Which opponent did the Denver Nuggets score the most points against in a single home game? SELECT team_name_away, MAX(pts_home) AS max_points FROM game WHERE team_name_home = 'Denver Nuggets' GROUP BY team_name_away ORDER BY max_points DESC LIMIT 1; Detroit Pistons | 184.0 False True True +What is the average combined offensive rebounds for the Oklahoma City Thunder and their opponents in games where the Thunder won at home? SELECT AVG(oreb_home + oreb_away) AS avg_combined_oreb FROM game WHERE team_name_home = 'Oklahoma City Thunder' AND wl_home = 'W'; 21.8691358 False True True +What was the largest margin of defeat for the Los Angeles Clippers in any home game during the 2018 season? SELECT MAX(pts_away - pts_home) AS largest_defeat_margin FROM game WHERE team_name_home = 'LA Clippers' AND pts_away > pts_home AND season_id = '22018'; 32 False True True +What is the average number of points scored by the Los Angeles Clippers in home games during the 2019 season? SELECT AVG(pts_home) AS avg_points FROM game WHERE team_name_home = 'LA Clippers' AND season_id = '22019'; 117.5277778 True True False +When was the Los Angeles Clippers team founded according to the team database? SELECT year_founded FROM team WHERE full_name = 'Los Angeles Clippers'; 1970 True False False +What is the win percentage of the Los Angeles Clippers in home games where they scored more than 110 points? SELECT COUNT(CASE WHEN wl_home = 'W' THEN 1 END) * 100.0 / COUNT(*) AS win_percentage FROM game WHERE team_name_home = 'LA Clippers' AND pts_home > 110; 83.24324324 False True True + How many fastbreak points did the Los Angeles Clippers average in home games during the 2020 season? SELECT AVG(o.pts_fb_home) AS avg_fastbreak_points FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'LA Clippers' AND g.season_id = '22020'; 11.5 False True True +What state are the Los Angeles Clippers based in according to the team table? SELECT state FROM team WHERE full_name = 'Los Angeles Clippers'; California True False False +What was the three-point shooting percentage for the Los Angeles Clippers in games against the Los Angeles Lakers? SELECT AVG( CASE WHEN team_name_home = 'LA Clippers' THEN fg3_pct_home ELSE fg3_pct_away END ) AS avg_3pt_percentage FROM game WHERE (team_name_home = 'LA Clippers' AND team_name_away = 'Los Angeles Lakers') OR (team_name_home = 'Los Angeles Lakers' AND team_name_away = 'LA Clippers'); 0.3734705882 False True True +Find all games where the Los Angeles Clippers played against teams founded before 1970. SELECT g.game_id, g.game_date, g.team_name_home, g.team_name_away FROM game g JOIN team t ON g.team_id_away = t.id WHERE g.team_name_home = 'LA Clippers' AND t.year_founded < 1970 UNION SELECT g.game_id, g.game_date, g.team_name_home, g.team_name_away FROM game g JOIN team t ON g.team_id_home = t.id WHERE g.team_name_away = 'LA Clippers' AND t.year_founded < 1970 LIMIT 1; 0011500091 | 2015-10-20 00:00:00 | LA Clippers | Golden State Warriors True True True +What is the abbreviation for the Los Angeles Clippers in the team table? SELECT abbreviation FROM team WHERE full_name = 'Los Angeles Clippers'; LAC False False False +How many points did the Los Angeles Clippers score in the paint in their highest scoring home game of the 2019 season? SELECT o.pts_paint_home FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home = 'LA Clippers' AND g.season_id = '22019' ORDER BY g.pts_home DESC LIMIT 1; 58 False True True +Which team played the most total games (home + away) between 1995 and 2005? SELECT team FROM (SELECT team_abbreviation_home AS team FROM game WHERE season_id BETWEEN '21995' AND '22005' UNION ALL SELECT team_abbreviation_away FROM game WHERE season_id BETWEEN '21995' AND '22005') GROUP BY team ORDER BY COUNT(*) DESC LIMIT 1; WAS False True False +Which season had the most total turnovers across all games? SELECT season_id FROM other_stats JOIN game USING(game_id) GROUP BY season_id ORDER BY SUM(total_turnovers_home + total_turnovers_away) DESC LIMIT 1; 21999 False True False +Which team has the highest win percentage as a home team? SELECT team_abbreviation_home FROM game GROUP BY team_abbreviation_home HAVING COUNT(*) > 0 ORDER BY SUM(CASE WHEN wl_home = 'W' THEN 1 ELSE 0 END)*1.0 / COUNT(*) DESC LIMIT 1; MAL True False False +Which season had the highest average free throw percentage for home teams? SELECT season_id FROM game GROUP BY season_id ORDER BY AVG(ft_pct_home) DESC LIMIT 1; 21951 False True True +Which team had the most games where both teams scored over 110 points? SELECT team FROM (SELECT team_abbreviation_home AS team FROM game WHERE pts_home > 110 AND pts_away > 110 UNION ALL SELECT team_abbreviation_away FROM game WHERE pts_home > 110 AND pts_away > 110) GROUP BY team ORDER BY COUNT(*) DESC LIMIT 1; LAL False True True +Which team had the highest average number of assists per game across all seasons? SELECT team FROM (SELECT team_abbreviation_home AS team, ast_home AS ast FROM game UNION ALL SELECT team_abbreviation_away, ast_away FROM game) GROUP BY team ORDER BY AVG(ast) DESC LIMIT 1; DRT True True False +Which city had the most games where the home team won by more than 25 points? SELECT team_city_home FROM other_stats WHERE game_id IN (SELECT game_id FROM game WHERE wl_home = 'W' AND pts_home - pts_away > 25) GROUP BY team_city_home ORDER BY COUNT(*) DESC LIMIT 1; Golden State True True False +Which team was involved in the most games with more than 15 lead changes? SELECT team FROM (SELECT team_abbreviation_home AS team FROM other_stats WHERE lead_changes > 15 UNION ALL SELECT team_abbreviation_away FROM other_stats WHERE lead_changes > 15) GROUP BY team ORDER BY COUNT(*) DESC LIMIT 1; LAL True True False +Which season had the most games decided by 3 points or fewer? SELECT season_id FROM game WHERE ABS(pts_home - pts_away) <= 3 GROUP BY season_id ORDER BY COUNT(*) DESC LIMIT 1; 22004 True True True +Which team had the most losses in games where they had more rebounds than their opponent? SELECT team FROM (SELECT team_abbreviation_home AS team FROM game WHERE reb_home > reb_away AND wl_home = 'L' UNION ALL SELECT team_abbreviation_away FROM game WHERE reb_away > reb_home AND wl_away = 'L') GROUP BY team ORDER BY COUNT(*) DESC LIMIT 1; NYK True True False +Which season had the most average total fouls per game? SELECT season_id FROM game GROUP BY season_id ORDER BY AVG(pf_home + pf_away) DESC LIMIT 1; 41963 False True True +Which team committed the fewest average personal fouls per game as an away team? SELECT team_abbreviation_away FROM game GROUP BY team_abbreviation_away ORDER BY AVG(pf_away) ASC LIMIT 1; DRT True False False +What is the maximum number of team rebounds recorded by the Dallas Mavericks in away games where they committed more than 20 fouls? SELECT MAX(o.team_rebounds_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_away = 'DAL' AND g.pf_away > 20 AND g.season_id = '22021'; 16 False True True +How many times did the Golden State Warriors lose at home in the 2012 season despite recording more steals and blocks than their opponent? SELECT COUNT(*) FROM game g WHERE g.team_abbreviation_home = 'GSW' AND g.wl_home = 'L' AND g.stl_home > g.stl_away AND g.blk_home > g.blk_away AND g.season_id = '22012'; 0 False True True +How many times did the Los Angeles Clippers lose at home in the 2002 season despite recording more steals and blocks than their opponent? SELECT COUNT(*) FROM game g WHERE g.team_abbreviation_home = 'LAC' AND g.wl_home = 'L' AND g.stl_home > g.stl_away AND g.blk_home > g.blk_away AND g.season_id = '22002'; 4 False True True +In games from the 2003 season, how often did the New Orleans Pelicans win despite committing more turnovers and having fewer rebounds than their opponent? SELECT COUNT(*) FROM game g WHERE ((g.team_abbreviation_home = 'NOP' AND g.wl_home = 'W' AND g.tov_home > g.tov_away AND g.reb_home < g.reb_away) OR (g.team_abbreviation_away = 'NOP' AND g.wl_away = 'W' AND g.tov_away > g.tov_home AND g.reb_away < g.reb_home)) AND g.season_id = '22003'; 0 False True True +In games from the 2007 season, how often did the Dallas Mavericks win despite committing more turnovers and having fewer rebounds than their opponent? SELECT COUNT(*) FROM game g WHERE ((g.team_abbreviation_home = 'DAL' AND g.wl_home = 'W' AND g.tov_home > g.tov_away AND g.reb_home < g.reb_away) OR (g.team_abbreviation_away = 'DAL' AND g.wl_away = 'W' AND g.tov_away > g.tov_home AND g.reb_away < g.reb_home)) AND g.season_id = '22007'; 2 False True True +What is the average number of points off turnovers scored by the Golden State Warriors at home in games with more than 20 lead changes during the 2019 season? SELECT AVG(o.pts_off_to_home) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'GSW' AND o.lead_changes > 20 AND g.season_id = '22019'; True False True +How many times did the Denver Nuggets lose at home in the 2015 season despite recording more steals and blocks than their opponent? SELECT COUNT(*) FROM game g WHERE g.team_abbreviation_home = 'DEN' AND g.wl_home = 'L' AND g.stl_home > g.stl_away AND g.blk_home > g.blk_away AND g.season_id = '22015'; 2 False True True +In games from the 2010 season, how often did the Sacramento Kings win despite committing more turnovers and having fewer rebounds than their opponent? SELECT COUNT(*) FROM game g WHERE ((g.team_abbreviation_home = 'SAC' AND g.wl_home = 'W' AND g.tov_home > g.tov_away AND g.reb_home < g.reb_away) OR (g.team_abbreviation_away = 'SAC' AND g.wl_away = 'W' AND g.tov_away > g.tov_home AND g.reb_away < g.reb_home)) AND g.season_id = '22010'; 0 False True True +In 2013, what was the average number of rebounds by the Denver Nuggets in games with at least 10 ties and fewer than 10 lead changes? SELECT AVG(g.reb_home) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'DEN' AND o.times_tied >= 10 AND o.lead_changes < 10 AND g.season_id = '22013'; 42.666666666666664 False True True +What is the total number of points scored by the Los Angeles Clippers in the 2014 season in games where they had more team turnovers but fewer total turnovers than their opponent? SELECT SUM(g.pts_home) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'LAC' AND o.team_turnovers_home > o.team_turnovers_away AND o.total_turnovers_home < o.total_turnovers_away AND g.season_id = '22014'; 295.0 False True True +Which city hosted the most games that ended with both teams scoring over 100 points? SELECT team_city_home FROM other_stats WHERE game_id IN (SELECT game_id FROM game WHERE pts_home > 100 AND pts_away > 100) GROUP BY team_city_home ORDER BY COUNT(*) DESC LIMIT 1; Los Angeles True True True +Which city had the most total fast break points in the 2016 season? SELECT team_city_home FROM other_stats WHERE game_id IN (SELECT game_id FROM game WHERE season_id = '22016') GROUP BY team_city_home ORDER BY SUM(pts_fb_home) DESC LIMIT 1; Golden State False True True +Which season had the most games decided by exactly 1 point? SELECT season_id FROM game WHERE ABS(pts_home - pts_away) = 1 GROUP BY season_id ORDER BY COUNT(*) DESC LIMIT 1; 22004 False True False +Which season had the most total points scored across all games? SELECT season_id FROM game GROUP BY season_id ORDER BY SUM(pts_home + pts_away) DESC LIMIT 1; 22022 False True False +Which season had the most games where both teams scored at least 120 points? SELECT season_id FROM game WHERE pts_home >= 120 AND pts_away >= 120 GROUP BY season_id ORDER BY COUNT(*) DESC LIMIT 1; 22022 False True False +Which season had the lowest average number of personal fouls committed per game? SELECT season_id FROM game GROUP BY season_id ORDER BY AVG(pf_home + pf_away) ASC LIMIT 1; 32022 False True True +How many points did the Los Angeles Clippers score as visitors in their most turnover-heavy game? SELECT pts_away FROM game WHERE team_abbreviation_away = 'LAC' ORDER BY tov_away DESC LIMIT 1; 107.0 False True True +Which season had the most combined team rebounds recorded? SELECT season_id FROM other_stats JOIN game USING(game_id) GROUP BY season_id ORDER BY SUM(team_rebounds_home + team_rebounds_away) DESC LIMIT 1; 21997 False True True +Which season had the most games where the away team won by more than 30 points? SELECT season_id FROM game WHERE wl_away = 'W' AND (pts_away - pts_home) > 30 GROUP BY season_id ORDER BY COUNT(*) DESC LIMIT 1; 22021 False True False +Which season had the highest average number of times tied per game? SELECT season_id FROM other_stats JOIN game USING(game_id) GROUP BY season_id ORDER BY AVG(times_tied) DESC LIMIT 1; 32002 True True True +Which season had the most games where home teams scored zero fast break points? SELECT season_id FROM other_stats JOIN game USING(game_id) WHERE pts_fb_home = 0 GROUP BY season_id ORDER BY COUNT(*) DESC LIMIT 1; 22001 True True True +Which season had the fewest total three-point attempts attempted league-wide? SELECT season_id FROM game GROUP BY season_id ORDER BY SUM(fg3a_home + fg3a_away) ASC LIMIT 1; 21946 False True False +How many points did the home team score in the game with the fewest total rebounds? SELECT pts_home FROM game ORDER BY (reb_home + reb_away) ASC LIMIT 1; 66.0 False True True +How many points were scored in a game where the home team blocked more shots than they had turnovers? SELECT (pts_home + pts_away) FROM game WHERE blk_home > tov_home ORDER BY game_date DESC LIMIT 1; 208.0 False True True +How many points did the Phoenix Suns score in the highest scoring away game they played? SELECT MAX(pts_away) FROM game WHERE team_abbreviation_away = 'PHX'; 161.0 False True True +What were the total points in a game where both teams shot over 50% from the field? SELECT (pts_home + pts_away) FROM game WHERE fg_pct_home > 0.5 AND fg_pct_away > 0.5 ORDER BY (pts_home + pts_away) DESC LIMIT 1; 374.0 False True True +How many points did the home team score in the game with the most second chance points? SELECT pts_home FROM game WHERE game_id = (SELECT game_id FROM other_stats ORDER BY (pts_2nd_chance_home + pts_2nd_chance_away) DESC LIMIT 1); 115.0 False False False +How many points did the Los Angeles Lakers score in their last home game? SELECT pts_home FROM game WHERE team_abbreviation_home = 'LAL' ORDER BY game_date DESC LIMIT 1; 111.0 False True True +How many points did the away team score in games where the home team had more rebounds? SELECT SUM(pts_away) FROM game WHERE reb_home > reb_away; 2702764.0 False True True +How many points were scored in the earliest recorded game in the database? SELECT (pts_home + pts_away) FROM game ORDER BY game_date ASC LIMIT 1; 134.0 False True False +What were the total points scored by the home team in the game with the most total blocks? SELECT pts_home FROM game WHERE game_id = (SELECT game_id FROM game ORDER BY (blk_home + blk_away) DESC LIMIT 1); 92.0 False True False +How many points did the Brooklyn Nets score in their first away game in 2010? SELECT pts_away FROM game WHERE team_abbreviation_away = 'BKN' AND season_id = '22010' ORDER BY game_date ASC LIMIT 1; [] False True False +How many points did the home team score in the game with the highest number of lead changes? SELECT pts_home FROM game WHERE game_id = (SELECT game_id FROM other_stats ORDER BY lead_changes DESC LIMIT 1); 122.0 False True True +How many points did the visiting team score in the game where the home team had exactly 0 turnovers? SELECT pts_away FROM game WHERE game_id IN (SELECT game_id FROM game WHERE tov_home = 0); 88.0,112.0,105.0,93.0,76.0,99.0 False True True +How many points were scored by the away team in the most recent playoff game? SELECT pts_away FROM game WHERE season_type = 'Playoffs' ORDER BY game_date DESC LIMIT 1; 89.0 False True False +How many points did the Miami Heat score in their lowest-scoring game at home? SELECT MIN(pts_home) FROM game WHERE team_abbreviation_home = 'MIA'; 56.0 False True True +How many total points were scored in a game where both teams attempted over 30 three-pointers? SELECT (pts_home + pts_away) FROM game WHERE fg3a_home > 30 AND fg3a_away > 30 ORDER BY (pts_home + pts_away) DESC LIMIT 1; 374.0 False True True +How many points were scored by the home team in the game with the most fast break points? SELECT pts_home FROM game WHERE game_id = (SELECT game_id FROM other_stats ORDER BY (pts_fb_home + pts_fb_away) DESC LIMIT 1); 192.0,192.0 False False False +How many points did the away team score when the home team had more than 20 offensive rebounds? SELECT SUM(pts_away) FROM game WHERE game_id IN (SELECT game_id FROM game WHERE oreb_home > 20); 199836.0 False True True +How many points did the Chicago Bulls score in their final game of the 1996 season? SELECT pts_home FROM game WHERE team_abbreviation_home = 'CHI' AND season_id = '21996' ORDER BY game_date DESC LIMIT 1; 101.0 False True False +What is the total number of points in a game where the total number of three-pointers made equals the number of personal fouls? SELECT pts_home + pts_away FROM game WHERE (fg3m_home + fg3m_away) = (pf_home + pf_away) LIMIT 1; 211.0 False True True +How many points did the away team score in the only game where the home team had exactly 69 field goal attempts? SELECT pts_away FROM game WHERE fga_home = 69 LIMIT 1; 81.0 False True True +How many total points were scored in the game with the highest difference between team rebounds and individual rebounds for the home team? SELECT pts_home + pts_away FROM game WHERE game_id = (SELECT os.game_id FROM other_stats os JOIN game g ON os.game_id = g.game_id ORDER BY (team_rebounds_home - reb_home) DESC LIMIT 1); 182.0 False True True +What was the total number of points in the game where both teams had the exact same number of personal fouls? SELECT pts_home + pts_away FROM game WHERE pf_home = pf_away ORDER BY game_date DESC LIMIT 1; 258.0 False True True +How many points did the home team score in the game with the most lead changes and the fewest total fouls? SELECT pts_home FROM game WHERE game_id = (SELECT game_id FROM other_stats JOIN game USING(game_id) ORDER BY lead_changes DESC, (pf_home + pf_away) ASC LIMIT 1); 122.0 False True True +How many points did the away team score in a game where both teams made the same number of three-pointers? SELECT pts_away FROM game WHERE fg3m_home = fg3m_away ORDER BY game_date DESC LIMIT 1; 101.0 False True True +How many points were scored in the most recent game where the home team had zero free throw attempts? SELECT pts_home + pts_away FROM game WHERE fta_home = 0 ORDER BY game_date DESC LIMIT 1; 359.0 False True True +How many points did the Brooklyn Nets score as a home team in the game where they had the most blocks? SELECT pts_home FROM game WHERE team_abbreviation_home = 'BKN' ORDER BY blk_home DESC LIMIT 1; 115.0 False True True +How many total points were scored in a game where the away team committed twice as many turnovers as the home team? SELECT pts_home + pts_away FROM game WHERE tov_away = 2 * tov_home LIMIT 1; 205.0 True True False +What was the total number of points in the only game where both teams had fewer than 3 offensive rebounds? SELECT pts_home + pts_away FROM game WHERE oreb_home < 3 AND oreb_away < 3 ORDER BY game_date DESC LIMIT 1; 211.0 True True False +How many points did the Miami Heat score in their lowest scoring home win? SELECT pts_home FROM game WHERE team_abbreviation_home = 'MIA' AND wl_home = 'W' ORDER BY pts_home ASC LIMIT 1; 74.0 False True False +What was the total score of the first game ever where both teams shot over 90% from the free throw line? SELECT pts_home + pts_away FROM game WHERE ft_pct_home > 0.9 AND ft_pct_away > 0.9 ORDER BY game_date ASC LIMIT 1; 193.0 False True True +Which team was most often held under 60 points in a game? SELECT team FROM (SELECT team_abbreviation_home AS team, pts_home AS pts FROM game UNION ALL SELECT team_abbreviation_away, pts_away FROM game) WHERE pts < 60 GROUP BY team ORDER BY COUNT(*) DESC LIMIT 1; BOS True True False +Which city had teams that scored the most total points during the 2010 season? SELECT team_city_home FROM other_stats WHERE game_id IN (SELECT game_id FROM game WHERE season_id = '22010') GROUP BY team_city_home ORDER BY SUM(pts_paint_home + pts_2nd_chance_home + pts_fb_home + pts_off_to_home) DESC LIMIT 1; Los Angeles True True False +Which city had home teams with the highest average number of rebounds in 2005? SELECT team_city_home FROM other_stats WHERE game_id IN (SELECT game_id FROM game WHERE season_id = '22005') GROUP BY team_city_home ORDER BY AVG(team_rebounds_home) DESC LIMIT 1; Orlando True True False +Which season had the most total blocks recorded? SELECT season_id FROM game GROUP BY season_id ORDER BY SUM(blk_home + blk_away) DESC LIMIT 1; 22000 False True False +What was the total score of the only game in which the home team made exactly 33 field goals? SELECT pts_home + pts_away FROM game WHERE fgm_home = 33 LIMIT 1; 144.0 False True False +How many points did the away team score in a game where the home team had a plus-minus of -30 or worse? SELECT pts_away FROM game WHERE plus_minus_home <= -30 ORDER BY plus_minus_home ASC LIMIT 1; 127.0 False True True +What was the total number of points in the only game where the sum of both teams' free throws made was exactly 42? SELECT pts_home + pts_away FROM game WHERE (ftm_home + ftm_away) = 42 LIMIT 1; 156.0 False True True +How many points were scored by the Orlando Magic at home in a game with more than 100 combined rebounds? SELECT pts_home FROM game WHERE team_abbreviation_home = 'ORL' AND (reb_home + reb_away) > 100 ORDER BY game_date DESC LIMIT 1; 116.0 False True True +How many points did the visiting team score in the first game where the home team committed fewer than 5 personal fouls? SELECT pts_away FROM game WHERE pf_home < 5 ORDER BY game_date ASC LIMIT 1; 81.0 False True True +How many total points were scored in the only game where both teams had identical stat lines for rebounds, assists, and turnovers? SELECT pts_home + pts_away FROM game WHERE reb_home = reb_away AND ast_home = ast_away AND tov_home = tov_away LIMIT 1; 209.0 False True True +Which team had the highest number of team turnovers in an away game? SELECT team_abbreviation_away FROM other_stats ORDER BY team_turnovers_away DESC LIMIT 1; CHI True True False +Which away team scored the most points off turnovers in a single game? SELECT team_abbreviation_away FROM other_stats ORDER BY pts_off_to_away DESC LIMIT 1; ATL True False False +What was the total number of points off turnovers by away teams when they committed more than 20 total turnovers? SELECT SUM(pts_off_to_away) FROM other_stats WHERE total_turnovers_away > 20; 45727 False True True +Which game had the biggest difference between total turnovers and team turnovers for the away team? SELECT game_id FROM other_stats ORDER BY ABS(total_turnovers_away - team_turnovers_away) DESC LIMIT 1; 29600522 True True False +What is the highest number of team rebounds recorded by an away team in a single game? SELECT MAX(team_rebounds_away) FROM other_stats; 24 False True True +How many points off turnovers were scored by away teams in games where they had more team rebounds than the home team? SELECT SUM(pts_off_to_away) FROM other_stats WHERE team_rebounds_away > team_rebounds_home; 169555 False True True +Which team committed the fewest total turnovers in an away game that resulted in a win? SELECT team_abbreviation_away FROM other_stats WHERE game_id IN (SELECT game_id FROM game WHERE wl_away = 'W') ORDER BY total_turnovers_away ASC LIMIT 1; PHX True True False +Which game had the most efficient away team in terms of points off turnovers per total turnover? SELECT game_id FROM other_stats WHERE total_turnovers_away > 0 ORDER BY (pts_off_to_away * 1.0 / total_turnovers_away) DESC LIMIT 1; 0021500879 False True True +Which team had the most games where their team rebounds as away team were greater than 15? SELECT team_abbreviation_away FROM other_stats WHERE team_rebounds_away > 15 GROUP BY team_abbreviation_away ORDER BY COUNT(*) DESC LIMIT 1; UTA True True False +What is the average number of points off turnovers for away teams with fewer than 10 total turnovers? SELECT AVG(pts_off_to_away) FROM other_stats WHERE total_turnovers_away < 10; 8.900039200313602 True False True +Which away team had the most games where they shot below 30% from the field? SELECT team_abbreviation_away FROM game WHERE fg_pct_away < 0.3 GROUP BY team_abbreviation_away ORDER BY COUNT(*) DESC LIMIT 1; PHW True True False +Which away team scored the most points in a game with fewer than 10 assists? SELECT team_abbreviation_away FROM game WHERE ast_away < 10 ORDER BY pts_away DESC LIMIT 1; MNL True False False +Which team had the most away wins when committing more personal fouls than the home team? SELECT team_abbreviation_away FROM game WHERE wl_away = 'W' AND pf_away > pf_home GROUP BY team_abbreviation_away ORDER BY COUNT(*) DESC LIMIT 1; BOS True True True +Which game had the highest total of missed free throws by the away team? SELECT game_id FROM game ORDER BY (fta_away - ftm_away) DESC LIMIT 1; 0027300014 False True False +Which away team had the lowest free throw percentage in a game with more than 20 attempts? SELECT team_abbreviation_away FROM game WHERE fta_away > 20 ORDER BY ft_pct_away ASC LIMIT 1; CHI False True True +What is the average number of three-pointers made by away teams in games where they had more turnovers than assists? SELECT AVG(fg3m_away) FROM game WHERE tov_away > ast_away; 4.511052937754508 False True True +Which game had the most defensive rebounds by an away team that still lost? SELECT game_id FROM game WHERE wl_away = 'L' ORDER BY dreb_away DESC LIMIT 1; 0028500331 False True True +Which away team committed the most turnovers in a game where they still won? SELECT team_abbreviation_away FROM game WHERE wl_away = 'W' ORDER BY tov_away DESC LIMIT 1; NJN True True False +Which team had the most away games where they had more offensive than defensive rebounds? SELECT team_abbreviation_away FROM game WHERE oreb_away > dreb_away GROUP BY team_abbreviation_away ORDER BY COUNT(*) DESC LIMIT 1; ATL True True False +What is the highest plus-minus recorded by an away team with fewer than 10 personal fouls? SELECT MAX(plus_minus_away) FROM game WHERE pf_away < 10; 35 False True True +Which home team had the most wins when playing against the Los Angeles Lakers? SELECT team_name_home FROM game WHERE team_name_away = 'Los Angeles Lakers' AND wl_home = 'W' GROUP BY team_name_home ORDER BY COUNT(*) DESC LIMIT 1; Phoenix Suns True True False +Which game had the most field goals made by a home team that shot under 40% from the field? SELECT game_id FROM game WHERE fg_pct_home < 0.4 ORDER BY fgm_home DESC LIMIT 1; 0025900164 False True True +Which home team attempted the most three-pointers in a game they lost? SELECT team_name_home FROM game WHERE wl_home = 'L' ORDER BY fg3a_home DESC LIMIT 1; Team Giannis True True False +What is the average number of free throws made in games where the home team had zero offensive rebounds? SELECT AVG(ftm_home) FROM game WHERE oreb_home = 0; 10.0 False True True +Which game had the highest number of steals by a home team that still lost? SELECT game_id FROM game WHERE wl_home = 'L' ORDER BY stl_home DESC LIMIT 1; 0028400118 False True False +Which home team had the most blocks in a game where the away team was the Boston Celtics? SELECT team_name_home FROM game WHERE team_name_away = 'Boston Celtics' ORDER BY blk_home DESC LIMIT 1; Philadelphia 76ers True True False +Which home team committed the most turnovers in a game they won? SELECT team_name_home FROM game WHERE wl_home = 'W' ORDER BY tov_home DESC LIMIT 1; Los Angeles Lakers True True False +Which game had the highest plus-minus for a home team that attempted fewer than 10 three-pointers? SELECT game_id FROM game WHERE fg3a_home < 10 ORDER BY plus_minus_home DESC LIMIT 1; 0029100021 False True True +Which matchup featured the home team with the lowest field goal percentage but still won? SELECT matchup_home FROM game WHERE wl_home = 'W' ORDER BY fg_pct_home ASC LIMIT 1; PRO vs. BOS False True False +Which home team made the most free throws in a game without any video available? SELECT team_name_home FROM game WHERE video_available_home = 0 ORDER BY ftm_home DESC LIMIT 1; Phoenix Suns False True True +What is the maximum number of team rebounds recorded by the San Antonio Spurs in away games where they committed more than 20 fouls? SELECT MAX(o.team_rebounds_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_away = 'SAS' AND g.pf_away > 20 AND g.season_id = '22003'; 13 False True True +What is the average number of assists for home teams when playing against teams from Texas? SELECT AVG(ast_home) FROM game WHERE team_abbreviation_away IN ('DAL', 'HOU', 'SAS'); 23.22644697929869 True True False +Which game had the smallest difference between offensive and defensive rebounds for the home team? SELECT game_id FROM game ORDER BY ABS(oreb_home - dreb_home) ASC LIMIT 1; 0024600001 False True True +Which home team scored the most points in a game where they had more turnovers than assists? SELECT team_name_home FROM game WHERE tov_home > ast_home ORDER BY pts_home DESC LIMIT 1; Seattle SuperSonics True True False +Which matchup involved the home team attempting over 100 field goals? SELECT matchup_home FROM game WHERE fga_home > 100 LIMIT 1; BOM vs. NYK False True True +What is the total number of points scored by home teams in games where they committed fewer than 5 personal fouls? SELECT SUM(pts_home) FROM game WHERE pf_home < 5; 849.0 False True True +Which home team had the lowest field goal percentage in a game they still won? SELECT team_name_home FROM game WHERE wl_home = 'W' ORDER BY fg_pct_home ASC LIMIT 1; Providence Steamrollers True True False +What is the average number of minutes played in home games with more than 15 steals? SELECT AVG(min) FROM game WHERE stl_home > 15; 242.13254593175853 False True True +Which game had the highest number of free throw attempts by a home team that didn’t attempt any three-pointers? SELECT game_id FROM game WHERE fg3a_home = 0 ORDER BY fta_home DESC LIMIT 1; 0028700044 False True True +Which home team had the most games with a positive plus-minus but still lost? SELECT team_name_home FROM game WHERE wl_home = 'L' AND plus_minus_home > 0 GROUP BY team_name_home ORDER BY COUNT(*) DESC LIMIT 1; West NBA All Stars West True True False +Which home team had the most games with a perfect free throw percentage? SELECT team_name_home FROM game WHERE ft_pct_home = 1.0 GROUP BY team_name_home ORDER BY COUNT(*) DESC LIMIT 1; New York Knicks False True True +Which matchup had the highest combined field goal attempts between home and away teams? SELECT matchup_home FROM game ORDER BY (fga_home + fga_away) DESC LIMIT 1; PHW vs. STL False True True +What is the average plus-minus for home teams that made more three-pointers than two-pointers? SELECT AVG(plus_minus_home) FROM game WHERE fg3m_home > (fgm_home - fg3m_home); 5.007518796992481 False True True +Which home team won a game with the fewest minutes recorded? SELECT team_name_home FROM game WHERE wl_home = 'W' ORDER BY min ASC LIMIT 1; St. Louis Bombers False True False +Which game had the highest number of personal fouls committed by the home team where no video was available? SELECT game_id FROM game WHERE video_available_home = 0 ORDER BY pf_home DESC LIMIT 1; 0046300222 False True False +Which team had the most games where they committed fewer than 5 turnovers at home? SELECT team_name_home FROM game WHERE tov_home < 5 GROUP BY team_name_home ORDER BY COUNT(*) DESC LIMIT 1; Dallas Mavericks True True False +What is the average number of three-pointers attempted by home teams that lost by more than 20 points? SELECT AVG(fg3a_home) FROM game WHERE wl_home = 'L' AND plus_minus_home < -20; 19.36683997689197 False True True +Which home team had the highest shooting percentage in a game where they made fewer than 20 field goals? SELECT team_name_home FROM game WHERE fgm_home < 20 ORDER BY fg_pct_home DESC LIMIT 1; Boston Celtics False True True +What is the highest number of defensive rebounds recorded by a home team that didn’t make a single three-pointer? SELECT MAX(dreb_home) FROM game WHERE fg3m_home = 0; 50.0 True True False +Which matchup had the most field goals made by the home team in a loss? SELECT matchup_home FROM game WHERE wl_home = 'L' ORDER BY fgm_home DESC LIMIT 1; LBN vs. GNS False True False +Which team was founded first? SELECT full_name FROM team ORDER BY year_founded ASC LIMIT 1; Boston Celtics True False False +Which team is based in the city of Chicago? SELECT full_name FROM team WHERE city = 'Chicago'; Chicago Bulls True False False +What is the abbreviation of the team nicknamed 'Heat'? SELECT abbreviation FROM team WHERE nickname = 'Heat'; MIA True False False +Which team was founded in the same year as the Boston Celtics? SELECT full_name FROM team WHERE year_founded = (SELECT year_founded FROM team WHERE full_name = 'Boston Celtics'); Boston Celtics, Golden State Warriors, New York Knicks True False False +Which teams are located in the state of California? SELECT full_name FROM team WHERE state = 'California'; Golden State Warriors, Los Angeles Clippers, Los Angeles Lakers, Sacramento Kings True False False +Which team has the abbreviation 'NYK'? SELECT full_name FROM team WHERE abbreviation = 'NYK'; New York Knicks True False False +Which teams were founded after the year 2000? SELECT full_name FROM team WHERE year_founded > 2000; New Orleans Pelicans True False False +What is the city of the team with the nickname 'Bulls'? SELECT city FROM team WHERE nickname = 'Bulls'; Chicago True False False +List all teams founded before 1970. SELECT full_name FROM team WHERE year_founded < 1970; Atlanta Hawks, Boston Celtics, Chicago Bulls, Golden State Warriors, Houston Rockets, Los Angeles Lakers, Milwaukee Bucks, New York Knicks, Philadelphia 76ers, Phoenix Suns, Sacramento Kings, Oklahoma City Thunder, Washington Wizards, Detroit Pistons True False False +Which team has 'Warriors' as their nickname? SELECT full_name FROM team WHERE nickname = 'Warriors'; Golden State Warriors True False False +Which teams share the same city as the Los Angeles Lakers? SELECT full_name FROM team WHERE city = (SELECT city FROM team WHERE full_name = 'Los Angeles Lakers'); Los Angeles Clippers, Los Angeles Lakers True False False +Which team abbreviation corresponds to the city of Houston? SELECT abbreviation FROM team WHERE city = 'Houston'; HOU True False False +What is the state of the team nicknamed 'Jazz'? SELECT state FROM team WHERE nickname = 'Jazz'; Utah True False False +List the full names of all teams founded in the 1980s. SELECT full_name FROM team WHERE year_founded BETWEEN 1980 AND 1989; Dallas Mavericks, Miami Heat, Minnesota Timberwolves, Orlando Magic, Charlotte Hornets True False False +In the 2020 season, what was the average number of second chance points allowed by the Phoenix Suns in games they won by less than 5 points? SELECT AVG(o.pts_2nd_chance_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE ((g.team_abbreviation_home = 'PHX' AND g.wl_home = 'W' AND ABS(g.pts_home - g.pts_away) < 5) OR (g.team_abbreviation_away = 'PHX' AND g.wl_away = 'W' AND ABS(g.pts_home - g.pts_away) < 5)) AND g.season_id = '22020'; 12.3 False True True +Which team has the same nickname as the team located in Charlotte? SELECT nickname FROM team WHERE city = 'Charlotte'; Hornets True False False +List the cities of all teams founded before 1965. SELECT city FROM team WHERE year_founded < 1965; Atlanta, Boston, Golden State, Los Angeles, New York, Philadelphia, Sacramento, Washington, Detroit True False False +What is the full name of the team based in Dallas? SELECT full_name FROM team WHERE city = 'Dallas'; Dallas Mavericks True False False +Which team has a nickname starting with the letter 'S'? SELECT full_name FROM team WHERE nickname LIKE 'S%'; Phoenix Suns, San Antonio Spurs True False False +List all team abbreviations for teams founded in the 1990s. SELECT abbreviation FROM team WHERE year_founded BETWEEN 1990 AND 1999; TOR, MEM True False False +Which teams were founded in the same state as the Golden State Warriors? SELECT full_name FROM team WHERE state = (SELECT state FROM team WHERE full_name = 'Golden State Warriors'); Golden State Warriors, Los Angeles Clippers, Los Angeles Lakers, Sacramento Kings True False False +What is the full name of the team with the abbreviation 'PHI'? SELECT full_name FROM team WHERE abbreviation = 'PHI'; Philadelphia 76ers True True False +List all teams based in Texas. SELECT full_name FROM team WHERE state = 'Texas'; Dallas Mavericks, Houston Rockets, San Antonio Spurs True False False +Which team has the nickname 'Celtics'? SELECT full_name FROM team WHERE nickname = 'Celtics'; Boston Celtics True False False +Which team was founded most recently? SELECT full_name FROM team ORDER BY year_founded DESC LIMIT 1; New Orleans Pelicans True False False +What are the nicknames of teams based in Florida? SELECT nickname FROM team WHERE state = 'Florida'; Heat, Magic True False False +List all teams located in New York. SELECT full_name FROM team WHERE state = 'New York'; Brooklyn Nets, New York Knicks True False False +What is the year the team nicknamed 'Nuggets' was founded? SELECT year_founded FROM team WHERE nickname = 'Nuggets'; 1976.0 True False False +Which team abbreviation belongs to the team based in Phoenix? SELECT abbreviation FROM team WHERE city = 'Phoenix'; PHX True False False +What is the nickname of the team founded in 1946? SELECT nickname FROM team WHERE year_founded = 1946; Celtics, Warriors, Knicks False False False +What is the most points the Golden State Warriors have scored at home? SELECT MAX(pts_home) FROM game WHERE team_name_home = 'Golden State Warriors'; 155.0 False True False +What is the second-highest number of points the Golden State Warriors have ever scored in a single home game? SELECT pts_home FROM game WHERE team_name_home = 'Golden State Warriors' ORDER BY pts_home DESC LIMIT 1 OFFSET 1; 154.0 False True True +How many home games did the Los Angeles Lakers win in the 2017 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'LAL' AND wl_home = 'W' AND season_id = '22017'; 20 False True False +What is the average number of assists by the Los Angeles Lakers in home wins? SELECT AVG(ast_home) FROM game WHERE team_abbreviation_home = 'LAL' AND wl_home = 'W'; 27.456207159177456 True True False +Which game had the highest total points scored by both teams when the Los Angeles Lakers played at home? SELECT game_id, (pts_home + pts_away) AS total_points FROM game WHERE team_abbreviation_home = 'LAL' ORDER BY total_points DESC LIMIT 1; (0028000933, 294.0) False True False +What is the Los Angeles Lakers' largest lead in a home game during the 2016 season? SELECT MAX(plus_minus_home) FROM game WHERE team_abbreviation_home = 'LAL' AND season_id = '22016'; 27 False True False +How many times did the Los Angeles Lakers score over 120 points at home? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'LAL' AND pts_home > 120; 581 False True True +What is the highest three-point percentage the Los Angeles Lakers achieved in an away game? SELECT MAX(fg3_pct_away) FROM game WHERE team_abbreviation_away = 'LAL'; 1.0 False True True +What was the average points difference in home games won by the Los Angeles Lakers? SELECT AVG(pts_home - pts_away) FROM game WHERE team_abbreviation_home = 'LAL' AND wl_home = 'W'; 12.523783783783784 False True True +In 2018, which team has the most home wins and how many home wins did they have? SELECT team_abbreviation_home, COUNT(*) FROM game WHERE wl_home = 'W' AND season_id = '22018' GROUP BY team_abbreviation_home ORDER BY COUNT(*) DESC LIMIT 1; (DEN, 34) False True False +What is the total number of rebounds by the San Antonio Spurs in home games during the 2015 season? SELECT SUM(reb_home) FROM game WHERE team_abbreviation_home = 'SAS' AND season_id = '22015'; 1845.0 True True False +What is the average scoring ouput for home teams. Round to 2 decimal places. SELECT ROUND(AVG(pts_home),2) AS avg_home_points FROM game WHERE season_type = 'Regular Season'; 104.76 False True True +Which Los Angeles Lakers home game had the most lead changes? SELECT g.game_date, os.lead_changes FROM game g JOIN other_stats os ON g.game_id = os.game_id WHERE g.team_name_home = 'Los Angeles Lakers' ORDER BY os.lead_changes DESC LIMIT 1; (2021-11-10 00:00:00, 33) False True False +Which team is located in the state of Indiana? SELECT full_name FROM team WHERE state = 'Indiana'; Indiana Pacers True False False +Find Los Angeles Lakers' largest home victory margin in the 2008 season. SELECT MAX(pts_home - pts_away) AS biggest_win FROM game WHERE team_abbreviation_home = 'LAL' AND season_id = '22008'; 29.0 False True False +How many Los Angeles Lakers home games were there where they scored more paint points than their opponents? SELECT COUNT(*) FROM game g JOIN other_stats os ON g.game_id = os.game_id WHERE g.team_abbreviation_home = 'LAL' AND os.pts_paint_home > os.pts_paint_away; 490 True True True +How many Los Angeles Lakers home games had over 15 offensive rebounds and 10+ steals? SELECT game_date, oreb_home, stl_home FROM game WHERE team_name_home = 'Los Angeles Lakers' AND oreb_home > 15 AND stl_home >= 10; (1982-06-01 00:00:00, 17.0, 15.0), (1982-06-03 00:00:00, 16.0, 10.0), (1983-05-08 00:00:00, 17.0, 10.0), (1983-05-10 00:00:00, 16.0, 10.0), (1984-05-23 00:00:00, 16.0, 11.0), (1985-04-27 00:00:00, 20.0, 12.0), (1985-05-22 00:00:00, 17.0, 13.0), (1985-11-17 00:00:00, 16.0, 11.0), (1985-11-20 00:00:00, 18.0, 10.0), (1985-12-15 00:00:00, 16.0, 10.0), (1986-01-08 00:00:00, 19.0, 11.0), (1986-01-10 00:00:00, 16.0, 13.0), (1986-03-24 00:00:00, 19.0, 13.0), (1986-05-21 00:00:00, 19.0, 12.0), (1986-11-12 00:00:00, 16.0, 12.0), (1986-12-07 00:00:00, 16.0, 18.0), (1987-03-07 00:00:00, 19.0, 11.0), (1987-03-20 00:00:00, 22.0, 11.0), (1987-03-22 00:00:00, 19.0, 12.0), (1987-06-02 00:00:00, 17.0, 10.0), (1987-11-15 00:00:00, 21.0, 10.0), (1987-11-17 00:00:00, 16.0, 10.0), (1987-12-23 00:00:00, 18.0, 10.0), (1988-01-06 00:00:00, 18.0, 11.0), (1988-01-12 00:00:00, 17.0, 11.0), (1988-01-26 00:00:00, 19.0, 11.0), (1988-04-08 00:00:00, 17.0, 12.0), (1988-04-24 00:00:00, 21.0, 11.0), (1988-12-30 00:00:00, 17.0, 11.0), (1989-01-18 00:00:00, 21.0, 12.0), (1989-01-24 00:00:00, 17.0, 13.0), (1989-02-08 00:00:00, 17.0, 13.0), (1989-04-30 00:00:00, 17.0, 10.0), (1989-05-07 00:00:00, 18.0, 12.0), (1989-11-12 00:00:00, 16.0, 12.0), (1989-12-29 00:00:00, 16.0, 10.0), (1990-03-09 00:00:00, 16.0, 14.0), (1990-11-28 00:00:00, 17.0, 12.0), (1991-01-09 00:00:00, 20.0, 10.0), (1991-01-29 00:00:00, 21.0, 10.0), (1991-03-01 00:00:00, 18.0, 10.0), (1991-03-24 00:00:00, 16.0, 11.0), (1991-03-31 00:00:00, 21.0, 12.0), (1991-04-21 00:00:00, 20.0, 10.0), (1991-11-15 00:00:00, 17.0, 13.0), (1991-12-30 00:00:00, 16.0, 12.0), (1992-01-03 00:00:00, 19.0, 13.0), (1992-01-20 00:00:00, 22.0, 12.0), (1992-01-24 00:00:00, 17.0, 11.0), (1992-01-29 00:00:00, 20.0, 11.0), (1992-02-14 00:00:00, 20.0, 10.0), (1992-04-09 00:00:00, 16.0, 10.0), (1992-11-22 00:00:00, 16.0, 19.0), (1993-01-20 00:00:00, 17.0, 11.0), (1993-03-05 00:00:00, 23.0, 15.0), (1993-03-07 00:00:00, 18.0, 16.0), (1993-03-28 00:00:00, 16.0, 13.0), (1993-03-31 00:00:00, 20.0, 11.0), (1993-04-18 00:00:00, 16.0, 11.0), (1993-04-24 00:00:00, 17.0, 12.0), (1993-05-04 00:00:00, 16.0, 13.0), (1993-11-05 00:00:00, 20.0, 11.0), (1993-11-12 00:00:00, 19.0, 10.0), (1993-11-16 00:00:00, 31.0, 11.0), (1994-01-11 00:00:00, 20.0, 11.0), (1994-01-26 00:00:00, 18.0, 13.0), (1994-01-28 00:00:00, 25.0, 12.0), (1994-02-08 00:00:00, 19.0, 11.0), (1994-02-10 00:00:00, 18.0, 10.0), (1994-02-15 00:00:00, 22.0, 11.0), (1994-03-16 00:00:00, 27.0, 12.0), (1994-03-27 00:00:00, 17.0, 12.0), (1994-04-01 00:00:00, 21.0, 10.0), (1994-04-20 00:00:00, 19.0, 11.0), (1994-11-11 00:00:00, 17.0, 18.0), (1994-11-16 00:00:00, 21.0, 16.0), (1994-11-18 00:00:00, 16.0, 10.0), (1994-12-06 00:00:00, 24.0, 10.0), (1995-02-22 00:00:00, 19.0, 13.0), (1995-04-22 00:00:00, 16.0, 14.0), (1995-11-10 00:00:00, 17.0, 10.0), (1995-11-19 00:00:00, 17.0, 10.0), (1995-12-01 00:00:00, 20.0, 12.0), (1996-02-16 00:00:00, 17.0, 10.0), (1996-12-27 00:00:00, 18.0, 12.0), (1997-01-14 00:00:00, 17.0, 12.0), (1997-03-14 00:00:00, 22.0, 12.0), (1997-03-26 00:00:00, 19.0, 10.0), (1997-04-13 00:00:00, 17.0, 10.0), (1998-01-02 00:00:00, 17.0, 13.0), (1998-01-04 00:00:00, 22.0, 10.0), (1998-01-14 00:00:00, 19.0, 11.0), (1998-02-01 00:00:00, 16.0, 10.0), (1998-03-11 00:00:00, 20.0, 10.0), (1998-04-08 00:00:00, 20.0, 10.0), (1999-02-16 00:00:00, 17.0, 10.0), (1999-11-14 00:00:00, 18.0, 12.0), (1999-12-01 00:00:00, 23.0, 10.0), (1999-12-05 00:00:00, 17.0, 15.0), (1999-12-14 00:00:00, 19.0, 11.0), (2000-01-10 00:00:00, 26.0, 12.0), (2000-11-28 00:00:00, 19.0, 11.0), (2001-04-17 00:00:00, 20.0, 10.0), (2001-04-22 00:00:00, 17.0, 11.0), (2001-04-26 00:00:00, 16.0, 11.0), (2001-05-06 00:00:00, 19.0, 12.0), (2001-05-27 00:00:00, 16.0, 10.0), (2001-06-06 00:00:00, 16.0, 14.0), (2002-03-12 00:00:00, 16.0, 13.0), (2002-10-29 00:00:00, 17.0, 10.0), (2002-11-03 00:00:00, 18.0, 10.0), (2002-11-12 00:00:00, 19.0, 11.0), (2003-02-11 00:00:00, 16.0, 11.0), (2003-02-23 00:00:00, 18.0, 10.0), (2003-02-25 00:00:00, 16.0, 10.0), (2003-12-28 00:00:00, 23.0, 13.0), (2004-01-09 00:00:00, 19.0, 12.0), (2004-02-20 00:00:00, 22.0, 12.0), (2004-03-26 00:00:00, 18.0, 15.0), (2004-04-01 00:00:00, 18.0, 15.0), (2005-01-13 00:00:00, 17.0, 12.0), (2005-02-22 00:00:00, 21.0, 10.0), (2005-04-17 00:00:00, 17.0, 10.0), (2006-03-12 00:00:00, 17.0, 10.0), (2006-04-11 00:00:00, 19.0, 11.0), (2005-10-18 00:00:00, 16.0, 11.0), (2007-11-09 00:00:00, 16.0, 10.0), (2007-11-16 00:00:00, 23.0, 13.0), (2007-11-29 00:00:00, 17.0, 11.0), (2008-01-17 00:00:00, 23.0, 13.0), (2008-12-28 00:00:00, 16.0, 12.0), (2009-03-03 00:00:00, 18.0, 13.0), (2009-10-27 00:00:00, 17.0, 13.0), (2010-02-05 00:00:00, 18.0, 10.0), (2009-10-07 00:00:00, 17.0, 16.0), (2010-12-07 00:00:00, 22.0, 12.0), (2011-03-22 00:00:00, 18.0, 10.0), (2012-01-22 00:00:00, 18.0, 10.0), (2012-04-22 00:00:00, 25.0, 12.0), (2012-05-12 00:00:00, 24.0, 10.0), (2017-01-17 00:00:00, 20.0, 11.0), (2017-01-20 00:00:00, 16.0, 15.0), (2017-04-02 00:00:00, 17.0, 11.0), (2017-04-07 00:00:00, 16.0, 12.0), (2018-11-11 00:00:00, 17.0, 12.0), (2019-04-04 00:00:00, 18.0, 10.0), (2020-08-18 00:00:00, 17.0, 11.0) False True True +How many home games did the Los Angeles Lakers win in the 2020 season when the away team committed fewer personal fouls but had a higher plus-minus? SELECT COUNT(*) FROM game g WHERE g.team_abbreviation_home = 'LAL' AND g.wl_home = 'W' AND g.pf_away < g.pf_home AND g.plus_minus_away > g.plus_minus_home AND g.season_id = '22020'; 0 False True True +How many home games did the Oklahoma City Thunder win in the 2014 season when the away team committed fewer personal fouls but had a higher plus-minus? SELECT COUNT(*) FROM game g WHERE g.team_abbreviation_home = 'OKC' AND g.wl_home = 'W' AND g.pf_away < g.pf_home AND g.plus_minus_away > g.plus_minus_home AND g.season_id = '22014'; 0 False True True +Which teams were founded before 1979? SELECT full_name FROM team WHERE year_founded < 1979; Atlanta Hawks, Boston Celtics, Cleveland Cavaliers, Chicago Bulls, Denver Nuggets, Golden State Warriors, Houston Rockets, Los Angeles Clippers, Los Angeles Lakers, Milwaukee Bucks, Brooklyn Nets, New York Knicks, Indiana Pacers, Philadelphia 76ers, Phoenix Suns, Portland Trail Blazers, Sacramento Kings, San Antonio Spurs, Oklahoma City Thunder, Utah Jazz, Washington Wizards, Detroit Pistons True False False +How many times did the Houston Rockets lose at home in the 2016 season despite recording more steals and blocks than their opponent? SELECT COUNT(*) FROM game g WHERE g.team_abbreviation_home = 'HOU' AND g.wl_home = 'L' AND g.stl_home > g.stl_away AND g.blk_home > g.blk_away AND g.season_id = '22016'; 0 False True True +What is the maximum number of team rebounds recorded by the New Orleans Pelicans in away games where they committed more than 20 fouls? SELECT MAX(o.team_rebounds_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_away = 'NOP' AND g.pf_away > 20 AND g.season_id = '22022'; 16 False True True +How many times did the Memphis Grizzlies lose at home in the 2008 season despite recording more steals and blocks than their opponent? SELECT COUNT(*) FROM game g WHERE g.team_abbreviation_home = 'MEM' AND g.wl_home = 'L' AND g.stl_home > g.stl_away AND g.blk_home > g.blk_away AND g.season_id = '22008'; 3 False True True +In the 2016 season, what was the average number of second chance points allowed by the New Orleans Pelicans in games they won by less than 5 points? SELECT AVG(o.pts_2nd_chance_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE ((g.team_abbreviation_home = 'NOP' AND g.wl_home = 'W' AND ABS(g.pts_home - g.pts_away) < 5) OR (g.team_abbreviation_away = 'NOP' AND g.wl_away = 'W' AND ABS(g.pts_home - g.pts_away) < 5)) AND g.season_id = '22016'; 14.222222222222221 False True True +What is the maximum number of team rebounds recorded by the Portland Trail Blazers in away games where they committed more than 20 fouls? SELECT MAX(o.team_rebounds_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_away = 'POR' AND g.pf_away > 20 AND g.season_id = '22000'; 18 False True True +In what year was the Indiana Pacers founded? SELECT year_founded FROM team WHERE full_name = 'Indiana Pacers'; 1976.0 True False False +What team has the abbreviation 'IND'? SELECT full_name FROM team WHERE abbreviation = 'IND'; Indiana Pacers True False False +What was the total number of points scored by teams from Boston as home teams in games with more than 10 lead changes during the 2010 season? SELECT SUM(g.pts_home) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home IN ( SELECT full_name FROM team WHERE city = 'Boston' ) AND o.lead_changes > 10 AND g.season_id = '22010'; 772.0 False True True +Which team is located in the state of Minnesota? SELECT full_name FROM team WHERE state = 'Minnesota'; Minnesota Timberwolves True False False +What is the nickname of the team based in Detroit? SELECT nickname FROM team WHERE city = 'Detroit'; Pistons True False False +In the 2005 season, what was the average number of second chance points scored by the opponents when the Orlando Magic played at home and lost? SELECT AVG(o.pts_2nd_chance_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'ORL' AND g.wl_home = 'L' AND g.season_id = '22005'; 11.846153846153847 False True True +In the 2004 season, what was the average number of second chance points scored by the opponents when the Charlotte Hornets played at home and lost? SELECT AVG(o.pts_2nd_chance_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'CHA' AND g.wl_home = 'L' AND g.season_id = '22004'; 15.318181818181818 False True True +In the 2000 season, what was the average number of second chance points scored by the opponents when the Miami Heat played at home and lost? SELECT AVG(o.pts_2nd_chance_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'MIA' AND g.wl_home = 'L' AND g.season_id = '22000'; 11.0 False True True +In the 2001 season, what was the average number of second chance points scored by the opponents when the Atlanta Hawks played at home and lost? SELECT AVG(o.pts_2nd_chance_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'ATL' AND g.wl_home = 'L' AND g.season_id = '22001'; 13.333333333333334 False True True +What was the total number of points scored by teams from Brooklyn as home teams in games with more than 10 lead changes during the 2001 season? SELECT SUM(g.pts_home) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home IN ( SELECT full_name FROM team WHERE city = 'Brooklyn' ) AND o.lead_changes > 10 AND g.season_id = '22001'; False True True +What was the total number of points scored by teams from New York as home teams in games with more than 10 lead changes during the 2020 season? SELECT SUM(g.pts_home) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home IN ( SELECT full_name FROM team WHERE city = 'New York' ) AND o.lead_changes > 10 AND g.season_id = '22020'; 685.0 False True True +What was the total number of points scored by teams from Boston as home teams in games with more than 10 lead changes during the 1995 season? SELECT SUM(g.pts_home) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home IN ( SELECT full_name FROM team WHERE city = 'Boston' ) AND o.lead_changes > 10 AND g.season_id = '21995'; False True True +What was the total number of points scored by teams from Philadelphia as home teams in games with more than 10 lead changes during the 2005 season? SELECT SUM(g.pts_home) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home IN ( SELECT full_name FROM team WHERE city = 'Philadelphia' ) AND o.lead_changes > 10 AND g.season_id = '22005'; 310.0 False True True +What was the total number of points scored by teams from New York as home teams in games with more than 10 lead changes during the 2001 season? SELECT SUM(g.pts_home) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_name_home IN ( SELECT full_name FROM team WHERE city = 'New York' ) AND o.lead_changes > 10 AND g.season_id = '22001'; 189.0 False True True +Which team has the earliest founding year among all teams located in the Midwest? SELECT full_name FROM team WHERE state IN ('Illinois', 'Ohio', 'Wisconsin', 'Michigan', 'Indiana', 'Minnesota') ORDER BY year_founded ASC LIMIT 1; Detroit Pistons True False False +Which teams from Northern states were founded in 1974? SELECT full_name FROM team WHERE year_founded = 1974 AND state IN ('Wisconsin', 'Minnesota', 'Michigan'); True False False +List the nicknames of teams based in cities that start with the letter 'C'. SELECT nickname FROM team WHERE city LIKE 'C%'; Cavaliers, Bulls, Hornets True False False +Which cities in the Midwest had teams founded in the 1970s? SELECT city FROM team WHERE state IN ('Illinois', 'Ohio', 'Wisconsin', 'Michigan', 'Indiana', 'Minnesota') AND year_founded BETWEEN 1970 AND 1979; Cleveland, Indiana True False False +Which team located in Chicago has a nickname that starts with the letter 'B'? SELECT full_name FROM team WHERE city = 'Chicago' AND nickname LIKE 'B%'; Chicago Bulls True False False +Which team located in Cleveland has an abbreviation that includes the letter 'C'? SELECT full_name FROM team WHERE city = 'Cleveland' AND abbreviation LIKE '%C%'; Cleveland Cavaliers True False False +What is the year the Milwaukee team was founded? SELECT year_founded FROM team WHERE city = 'Milwaukee'; 1968.0 True True False +Which team from the Midwest has the nickname 'Bucks'? SELECT full_name FROM team WHERE nickname = 'Bucks' AND state IN ('Illinois', 'Ohio', 'Wisconsin', 'Michigan', 'Indiana', 'Minnesota'); Milwaukee Bucks True False False +Which cities host teams with abbreviations that start with 'C'? SELECT city FROM team WHERE abbreviation LIKE 'C%'; Cleveland, Chicago, Charlotte True False False +List all team abbreviations from teams located in Ohio or Michigan. SELECT abbreviation FROM team WHERE state IN ('Ohio', 'Michigan'); CLE, DET True False False +Which teams based in Northern states were founded after 1975? SELECT full_name FROM team WHERE state IN ('Illinois', 'Ohio', 'Wisconsin', 'Michigan', 'Indiana', 'Minnesota') AND year_founded > 1975; Minnesota Timberwolves, Indiana Pacers True False False +Which team based in Indiana was founded before 1980? SELECT full_name FROM team WHERE state = 'Indiana' AND year_founded < 1980; Indiana Pacers True False False +Which team founded in the 70s has a nickname starting with 'C'? SELECT full_name FROM team WHERE year_founded BETWEEN 1970 AND 1979 AND nickname LIKE 'C%'; Cleveland Cavaliers, Los Angeles Clippers True False False +In games from the 2005 season, how often did the Dallas Mavericks win despite committing more turnovers and having fewer rebounds than their opponent? SELECT COUNT(*) FROM game g WHERE ((g.team_abbreviation_home = 'DAL' AND g.wl_home = 'W' AND g.tov_home > g.tov_away AND g.reb_home < g.reb_away) OR (g.team_abbreviation_away = 'DAL' AND g.wl_away = 'W' AND g.tov_away > g.tov_home AND g.reb_away < g.reb_home)) AND g.season_id = '22005'; 0 False True True +What is the average number of points in the paint allowed by the Brooklyn Nets when playing at home in the 2020 season in games with more than 15 lead changes? SELECT AVG(o.pts_paint_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'BKN' AND g.season_id = '22020' AND o.lead_changes > 15; False True True +What is the average number of points in the paint allowed by the Philadelphia 76ers when playing at home in the 2020 season in games with more than 15 lead changes? SELECT AVG(o.pts_paint_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'PHI' AND g.season_id = '22020' AND o.lead_changes > 15; 50.0 False True True +How many times did the Minnesota Timberwolves lose at home in the 2004 season despite recording more steals and blocks than their opponent? SELECT COUNT(*) FROM game g WHERE g.team_abbreviation_home = 'MIN' AND g.wl_home = 'L' AND g.stl_home > g.stl_away AND g.blk_home > g.blk_away AND g.season_id = '22004'; 0 False True True +What is the average number of points in the paint allowed by the Miami Heat when playing at home in the 2003 season in games with more than 15 lead changes? SELECT AVG(o.pts_paint_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'MIA' AND g.season_id = '22003' AND o.lead_changes > 15; 38.0 False True True +What is the average number of points in the paint allowed by the Washington Wizards when playing at home in the 2002 season in games with more than 15 lead changes? SELECT AVG(o.pts_paint_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'WAS' AND g.season_id = '22002' AND o.lead_changes > 15; False True True +What is the average number of points in the paint allowed by the Detroit Pistons when playing at home in the 2017 season in games with more than 15 lead changes? SELECT AVG(o.pts_paint_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'DET' AND g.season_id = '22017' AND o.lead_changes > 15; 47.333333333333336 False True True +What is the average number of points in the paint allowed by the New York Knicks when playing at home in the 2007 season in games with more than 15 lead changes? SELECT AVG(o.pts_paint_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'NYK' AND g.season_id = '22007' AND o.lead_changes > 15; 40.666666666666664 True False False +What is the average number of points in the paint allowed by the New York Knicks when playing at home in the 2021 season in games with more than 15 lead changes? SELECT AVG(o.pts_paint_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'NYK' AND g.season_id = '22021' AND o.lead_changes > 15; 42.0 True True True +What is the average number of points in the paint allowed by the Boston Celtics when playing at home in the 2016 season in games with more than 15 lead changes? SELECT AVG(o.pts_paint_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'BOS' AND g.season_id = '22016' AND o.lead_changes > 15; 40.0 False True True +What is the maximum number of team rebounds recorded by the Denver Nuggets in away games where they committed more than 20 fouls? SELECT MAX(o.team_rebounds_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_away = 'DEN' AND g.pf_away > 20 AND g.season_id = '22013'; 17 False True True +What is the average number of points in the paint allowed by the Detroit Pistons when playing at home in the 2019 season in games with more than 15 lead changes? SELECT AVG(o.pts_paint_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'DET' AND g.season_id = '22019' AND o.lead_changes > 15; 52.0 False True True +What is the average number of points in the paint allowed by the Milwaukee Bucks when playing at home in the 2013 season in games with more than 15 lead changes? SELECT AVG(o.pts_paint_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'MIL' AND g.season_id = '22013' AND o.lead_changes > 15; 41.2 True True False +What is the average number of points in the paint allowed by the Washington Wizards when playing at home in the 2001 season in games with more than 15 lead changes? SELECT AVG(o.pts_paint_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'WAS' AND g.season_id = '22001' AND o.lead_changes > 15; 44.0 False True True +What is the average number of points in the paint allowed by the Orlando Magic when playing at home in the 2001 season in games with more than 15 lead changes? SELECT AVG(o.pts_paint_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'ORL' AND g.season_id = '22001' AND o.lead_changes > 15; 42.0 True True True +What is the average number of points in the paint allowed by the Chicago Bulls when playing at home in the 2001 season in games with more than 15 lead changes? SELECT AVG(o.pts_paint_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'CHI' AND g.season_id = '22001' AND o.lead_changes > 15; 31.333333333333332 False True True +What is the average number of points in the paint allowed by the Toronto Raptors when playing at home in the 2017 season in games with more than 15 lead changes? SELECT AVG(o.pts_paint_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'TOR' AND g.season_id = '22017' AND o.lead_changes > 15; 44.4 False True True +What is the average number of points in the paint allowed by the New York Knicks when playing at home in the 2009 season in games with more than 15 lead changes? SELECT AVG(o.pts_paint_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'NYK' AND g.season_id = '22009' AND o.lead_changes > 15; 45.0 False True True +What is the average number of points in the paint allowed by the Toronto Raptors when playing at home in the 2014 season in games with more than 15 lead changes? SELECT AVG(o.pts_paint_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'TOR' AND g.season_id = '22014' AND o.lead_changes > 15; 42.0 False True True +What is the average number of points in the paint allowed by the New York Knicks when playing at home in the 2015 season in games with more than 15 lead changes? SELECT AVG(o.pts_paint_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'NYK' AND g.season_id = '22015' AND o.lead_changes > 15; 36.0 False True True +What is the average number of points in the paint allowed by the Detroit Pistons when playing at home in the 2006 season in games with more than 15 lead changes? SELECT AVG(o.pts_paint_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'DET' AND g.season_id = '22006' AND o.lead_changes > 15; 44.0 False True True +What was the highest number of lead changes in a game where the Indiana Pacers won and committed more fouls than their opponent? SELECT MAX(o.lead_changes) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE (g.team_abbreviation_home = 'IND' AND g.wl_home = 'W' AND g.pf_home > g.pf_away) OR (g.team_abbreviation_away = 'IND' AND g.wl_away = 'W' AND g.pf_away > g.pf_home) AND g.season_id = '22008'; 25 False True True +What was the highest number of lead changes in a game where the Cleveland Cavaliers won and committed more fouls than their opponent? SELECT MAX(o.lead_changes) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE (g.team_abbreviation_home = 'CLE' AND g.wl_home = 'W' AND g.pf_home > g.pf_away) OR (g.team_abbreviation_away = 'CLE' AND g.wl_away = 'W' AND g.pf_away > g.pf_home) AND g.season_id = '22000'; 25 False True True +What was the highest number of lead changes in a game where the Orlando Magic won and committed more fouls than their opponent? SELECT MAX(o.lead_changes) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE (g.team_abbreviation_home = 'ORL' AND g.wl_home = 'W' AND g.pf_home > g.pf_away) OR (g.team_abbreviation_away = 'ORL' AND g.wl_away = 'W' AND g.pf_away > g.pf_home) AND g.season_id = '22007'; 27 False True True +What is the total number of games the Miami Heat played at home where they had more offensive rebounds than the away team and still lost? SELECT COUNT(*) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'MIA' AND g.wl_home = 'L' AND g.oreb_home > g.oreb_away AND g.season_id = '22008'; 4 True True False +In the 2007 season, how many games did the Milwaukee Bucks lose at home despite having fewer turnovers than their opponent? SELECT COUNT(*) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'MIL' AND g.wl_home = 'L' AND o.total_turnovers_home < o.total_turnovers_away AND g.season_id = '22007'; 8 False True False +In 2003, what was the average number of fast break points scored by opponents of the Atlanta Hawks when the home team had more than 10 steals? SELECT AVG(o.pts_fb_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'ATL' AND g.stl_home > 10 AND g.season_id = '22003'; 17.4 False True True +In the 2006 season, how many games did the Indiana Pacers lose at home despite having fewer turnovers than their opponent? SELECT COUNT(*) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'IND' AND g.wl_home = 'L' AND o.total_turnovers_home < o.total_turnovers_away AND g.season_id = '22006'; 7 False True False +What is the average plus-minus for the Detroit Pistons in games where they allowed more second chance points than they scored? SELECT AVG(g.plus_minus_home) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'DET' AND o.pts_2nd_chance_away > o.pts_2nd_chance_home AND g.season_id = '22003'; 9.9375 False True True +In the 2006 season, how many games did the Milwaukee Bucks lose at home despite having fewer turnovers than their opponent? SELECT COUNT(*) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'MIL' AND g.wl_home = 'L' AND o.total_turnovers_home < o.total_turnovers_away AND g.season_id = '22006'; 8 False True False +What is the average plus-minus for the New York Knicks in games where they allowed more second chance points than they scored? SELECT AVG(g.plus_minus_home) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE g.team_abbreviation_home = 'NYK' AND o.pts_2nd_chance_away > o.pts_2nd_chance_home AND g.season_id = '22002'; -3.2 False True True +In the 2020 season, what was the average number of second chance points allowed by the New Orleans Pelicans in games they won by less than 5 points? SELECT AVG(o.pts_2nd_chance_away) FROM game g JOIN other_stats o ON g.game_id = o.game_id WHERE ((g.team_abbreviation_home = 'NOP' AND g.wl_home = 'W' AND ABS(g.pts_home - g.pts_away) < 5) OR (g.team_abbreviation_away = 'NOP' AND g.wl_away = 'W' AND ABS(g.pts_home - g.pts_away) < 5)) AND g.season_id = '22020'; 16.6 False True True +In games from the 2012 season, how often did the Los Angeles Lakers win despite committing more turnovers and having fewer rebounds than their opponent? SELECT COUNT(*) FROM game g WHERE ((g.team_abbreviation_home = 'LAL' AND g.wl_home = 'W' AND g.tov_home > g.tov_away AND g.reb_home < g.reb_away) OR (g.team_abbreviation_away = 'LAL' AND g.wl_away = 'W' AND g.tov_away > g.tov_home AND g.reb_away < g.reb_home)) AND g.season_id = '22012'; 0 False True True +What is the average number of tov in away games by the Orlando Magic? SELECT AVG(tov_away) FROM game WHERE team_name_away = 'Orlando Magic'; 14.969909027291813 True True True +In which season did the Milwaukee Bucks have the highest average fg_pct at home? SELECT season_id, AVG(fg_pct_home) as avg_stat FROM game WHERE team_name_home = 'Milwaukee Bucks' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 42017.0 False True True +In which season did the Los Angeles Lakers have the highest average tov at home? SELECT season_id, AVG(tov_home) as avg_stat FROM game WHERE team_name_home = 'Los Angeles Lakers' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 21982.0 True True False +In which season did the Portland Trail Blazers have the highest average ast at home? SELECT season_id, AVG(ast_home) as avg_stat FROM game WHERE team_name_home = 'Portland Trail Blazers' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 41976.0 False True True +What is the average number of tov in away games by the Boston Celtics? SELECT AVG(tov_away) FROM game WHERE team_name_away = 'Boston Celtics'; 15.176572417772649 True True False +What is the average number of ast in home games by the Boston Celtics? SELECT AVG(ast_home) FROM game WHERE team_name_home = 'Boston Celtics'; 24.886892177589857 True True False +What is the average number of pts in away games by the Portland Trail Blazers? SELECT AVG(pts_away) FROM game WHERE team_name_away = 'Portland Trail Blazers'; 102.6668215613383 True True True +In which season did the Miami Heat have the highest average reb at home? SELECT season_id, AVG(reb_home) as avg_stat FROM game WHERE team_name_home = 'Miami Heat' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 2018.0 False True True +How many home games did the Portland Trail Blazers play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Portland Trail Blazers' AND season_id = '22018'; 41.0 False True False +How many home games did the Portland Trail Blazers play in the 2008 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Portland Trail Blazers' AND season_id = '22008'; 41.0 False True False +What is the average number of ft_pct in home games by the Portland Trail Blazers? SELECT AVG(ft_pct_home) FROM game WHERE team_name_home = 'Portland Trail Blazers'; 0.7597613053613043 False True True +What is the highest combined ft_pct in any game involving the Portland Trail Blazers? SELECT MAX(ft_pct_home + ft_pct_away) FROM game WHERE team_name_home = 'Portland Trail Blazers' OR team_name_away = 'Portland Trail Blazers'; 2.0 False True True +What is the average number of ft_pct in away games by the Portland Trail Blazers? SELECT AVG(ft_pct_away) FROM game WHERE team_name_away = 'Portland Trail Blazers'; 0.7524065985130116 False True True +How many home games did the Portland Trail Blazers play in the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Portland Trail Blazers' AND season_id = '22020'; 36.0 False True False +What is the average number of reb in home games by the Portland Trail Blazers? SELECT AVG(reb_home) FROM game WHERE team_name_home = 'Miami Heat'; 42.2 True True False +What is the highest combined ast in any game involving the Portland Trail Blazers? SELECT MAX(ast_home + ast_away) FROM game WHERE team_name_home = 'Portland Trail Blazers' OR team_name_away = 'Portland Trail Blazers'; 84.0 True True False +What is the average number of tov in away games by the Portland Trail Blazers? SELECT AVG(tov_away) FROM game WHERE team_name_away = 'Portland Trail Blazers'; 15.146252285191956 True True False +How many home games did the Portland Trail Blazers play in the 2007 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Portland Trail Blazers' AND season_id = '22007'; 41.0 False True False +What is the highest combined reb in any game involving the Portland Trail Blazers? SELECT MAX(reb_home + reb_away) FROM game WHERE team_name_home = 'Portland Trail Blazers' OR team_name_away = 'Portland Trail Blazers'; 150.0 True True False +What is the highest combined pts in any game involving the Toronto Raptors? SELECT MAX(pts_home + pts_away) FROM game WHERE team_name_home = 'Toronto Raptors' OR team_name_away = 'Toronto Raptors'; 278.0 False True True +What is the highest combined pts in any game involving the Houston Rockets? SELECT MAX(pts_home + pts_away) FROM game WHERE team_name_home = 'Houston Rockets' OR team_name_away = 'Houston Rockets'; 317.0 False True True +What is the highest combined pts in any game involving the Portland Trail Blazers? SELECT MAX(pts_home + pts_away) FROM game WHERE team_name_home = 'Portland Trail Blazers' OR team_name_away = 'Portland Trail Blazers'; 311.0 False True True +What is the average number of pts in away games by the Golden State Warriors? SELECT AVG(pts_away) FROM game WHERE team_name_away = 'Golden State Warriors'; 105.09242916860195 True True False +What is the average number of reb in home games by the Orlando Magic? SELECT AVG(reb_home) FROM game WHERE team_name_home = 'Orlando Magic'; 43.46391030133147 False True True +What is the average number of ast in away games by the Portland Trail Blazers? SELECT AVG(ast_away) FROM game WHERE team_name_away = 'Portland Trail Blazers'; 21.94177501413228 False True True +How many away games did the Milwaukee Bucks play in the 2019 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Milwaukee Bucks' AND season_id = '22019'; 38.0 False True False +How many away games did the Boston Celtics play in the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Boston Celtics' AND season_id = '22020'; 36.0 False True False +What is the highest combined pts in any game involving the Miami Heat? SELECT MAX(pts_home + pts_away) FROM game WHERE team_name_home = 'Miami Heat' OR team_name_away = 'Miami Heat'; 290.0 False True True +How many away games did the Milwaukee Bucks play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Milwaukee Bucks' AND season_id = '22018'; 41.0 False True False +In which season did the Cleveland Cavaliers have the highest average ft_pct at home? SELECT season_id, AVG(ft_pct_home) as avg_stat FROM game WHERE team_name_home = 'Cleveland Cavaliers' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 2014.0 False True True +In which season did the Golden State Warriors have the highest average ft_pct at home? SELECT season_id, AVG(ft_pct_home) as avg_stat FROM game WHERE team_name_home = 'Golden State Warriors' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 2016.0 False True True +In which season did the Houston Rockets have the highest average reb at home? SELECT season_id, AVG(reb_home) as avg_stat FROM game WHERE team_name_home = 'Houston Rockets' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 41984|58.0 False True True +What is the highest combined ast in any game involving the Los Angeles Lakers? SELECT MAX(ast_home + ast_away) FROM game WHERE team_name_home = 'Los Angeles Lakers' OR team_name_away = 'Los Angeles Lakers'; 86.0 True True False +How many away games did the Chicago Bulls play in the 2022 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Chicago Bulls' AND season_id = '22022'; 41.0 False True False +How many home games did the Boston Celtics play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Boston Celtics' AND season_id = '22018'; 41.0 False True False +How many home games did the Boston Celtics play in the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Boston Celtics' AND season_id = '22020'; 36.0 False True False +What is the average number of fg_pct in home games by the Chicago Bulls? SELECT AVG(fg_pct_home) FROM game WHERE team_name_home = 'Chicago Bulls'; 0.4636694306246544 True True False +In which season did the Los Angeles Lakers have the highest average ast at home? SELECT season_id, AVG(ast_home) as avg_stat FROM game WHERE team_name_home = 'Los Angeles Lakers' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 41969|36.6666666666667 True False False +What is the average number of ft_pct in home games by the Los Angeles Lakers? SELECT AVG(ft_pct_home) FROM game WHERE team_name_home = 'Los Angeles Lakers'; 0.7450706106870195 False True True +In which season did the Golden State Warriors have the highest average reb at home? SELECT season_id, AVG(reb_home) as avg_stat FROM game WHERE team_name_home = 'Golden State Warriors' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 1974.0 False True True +How many away games did the Miami Heat play in the 1999 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Miami Heat' AND season_id = '21999'; 41.0 False True False +How many away games did the Miami Heat play in the 2022 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Miami Heat' AND season_id = '22022'; 41.0 False True False +How many away games did the Golden State Warriors play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Golden State Warriors' AND season_id = '22018'; 41.0 False True False +What is the average number of pts in away games by the Boston Celtics? SELECT AVG(pts_away) FROM game WHERE team_name_away = 'Boston Celtics'; 102.25170288679855 True True False +What is the average number of fg_pct in home games by the Boston Celtics? SELECT AVG(fg_pct_home) FROM game WHERE team_name_home = 'Boston Celtics'; 0.4737531578947367 True True False +What is the highest combined tov in any game involving the Milwaukee Bucks? SELECT MAX(tov_home + tov_away) FROM game WHERE team_name_home = 'Milwaukee Bucks' OR team_name_away = 'Milwaukee Bucks'; 60.0 True True False +How many away games did the Chicago Bulls play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Chicago Bulls' AND season_id = '22018'; 41.0 False True False +What is the average number of fg_pct in home games by the Golden State Warriors? SELECT AVG(fg_pct_home) FROM game WHERE team_name_home = 'Golden State Warriors'; 0.4726067351598173 True True False +How many away games did the Miami Heat play in the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Miami Heat' AND season_id = '22020'; 36.0 False True False +How many home games did the Los Angeles Lakers play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Los Angeles Lakers' AND season_id = '22018'; 41.0 False True False +How many away games did the Boston Celtics play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Boston Celtics' AND season_id = '22018'; 41.0 False True False +What is the average number of tov in home games by the Miami Heat? SELECT AVG(tov_home) FROM game WHERE team_name_home = 'Miami Heat'; 14.627184466019418 True True False +What is the average number of ast in away games by the Los Angeles Lakers? SELECT AVG(ast_away) FROM game WHERE team_name_away = 'Los Angeles Lakers'; 22.594638949671772 False True True +How many home games did the Milwaukee Bucks play in the 2019 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Milwaukee Bucks' AND season_id = '22019'; 35.0 False True False +In which season did the Dallas Mavericks have the highest average reb at home? SELECT season_id, AVG(reb_home) as avg_stat FROM game WHERE team_name_home = 'Dallas Mavericks' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 2021.0 True False False +In which season did the Chicago Bulls have the highest average ft_pct at home? SELECT season_id, AVG(ft_pct_home) as avg_stat FROM game WHERE team_name_home = 'Chicago Bulls' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 2016.0 False True True +How many away games did the Golden State Warriors play in the 2007 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Golden State Warriors' AND season_id = '22007'; 41.0 False True False +What is the highest combined reb in any game involving the Chicago Bulls? SELECT MAX(reb_home + reb_away) FROM game WHERE team_name_home = 'Chicago Bulls' OR team_name_away = 'Chicago Bulls'; 129.0 True True False +What is the average number of ft_pct in home games by the Milwaukee Bucks? SELECT AVG(ft_pct_home) FROM game WHERE team_name_home = 'Milwaukee Bucks'; 0.7571402574345323 False True True +What is the average number of pts in home games by the Los Angeles Lakers? SELECT AVG(pts_home) FROM game WHERE team_name_home = 'Los Angeles Lakers'; 109.71476888387824 False True True +What is the average number of pts in home games by the Houston Rockets? SELECT AVG(pts_home) FROM game WHERE team_name_home = 'Houston Rockets'; 105.8650391524643 True True True +In which season did the Chicago Bulls have the highest average pts at home? SELECT season_id, AVG(pts_home) as avg_stat FROM game WHERE team_name_home = 'Chicago Bulls' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 2022.0 False True False +In which season did the Cleveland Cavaliers have the highest average reb at home? SELECT season_id, AVG(reb_home) as avg_stat FROM game WHERE team_name_home = 'Cleveland Cavaliers' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 1984.0 True False False +What is the highest combined reb in any game involving the Los Angeles Lakers? SELECT MAX(reb_home + reb_away) FROM game WHERE team_name_home = 'Los Angeles Lakers' OR team_name_away = 'Los Angeles Lakers'; 135.0 False True True +What is the highest combined tov in any game involving the Boston Celtics? SELECT MAX(tov_home + tov_away) FROM game WHERE team_name_home = 'Boston Celtics' OR team_name_away = 'Boston Celtics'; 66.0 True True False +How many home games did the Los Angeles Lakers play in the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Los Angeles Lakers' AND season_id = '22020'; 36.0 False True False +In which season did the Sacramento Kings have the highest average reb at home? SELECT season_id, AVG(reb_home) as avg_stat FROM game WHERE team_name_home = 'Sacramento Kings' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 2022.0 False True True +In which season did the Boston Celtics have the highest average reb at home? SELECT season_id, AVG(reb_home) as avg_stat FROM game WHERE team_name_home = 'Boston Celtics' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 1958.0 False True True +What is the average number of fg_pct in away games by the Los Angeles Lakers? SELECT AVG(fg_pct_away) FROM game WHERE team_name_away = 'Los Angeles Lakers'; 0.4678996728462382 False True True +What is the highest combined ft_pct in any game involving the Chicago Bulls? SELECT MAX(ft_pct_home + ft_pct_away) FROM game WHERE team_name_home = 'Chicago Bulls' OR team_name_away = 'Chicago Bulls'; 1.929 False True True +What is the average number of ft_pct in home games by the Miami Heat? SELECT AVG(ft_pct_home) FROM game WHERE team_name_home = 'Miami Heat'; 0.7464038834951452 True True False +What is the average number of ft_pct in home games by the Golden State Warriors? SELECT AVG(ft_pct_home) FROM game WHERE team_name_home = 'Golden State Warriors'; 0.7540829836829825 True True False +What is the average number of tov in home games by the Charlotte Hornets? SELECT AVG(tov_home) FROM game WHERE team_name_home = 'Charlotte Hornets'; 14.0927291886196 True True False +In which season did the Charlotte Hornets have the highest average pts at home? SELECT season_id, AVG(pts_home) as avg_stat FROM game WHERE team_name_home = 'Charlotte Hornets' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 2021.0 False True True +What is the average number of ast in away games by the Golden State Warriors? SELECT AVG(ast_away) FROM game WHERE team_name_away = 'Golden State Warriors'; 22.833996588971008 True True False +What is the average number of ft_pct in away games by the Miami Heat? SELECT AVG(ft_pct_away) FROM game WHERE team_name_away = 'Miami Heat'; 0.7408833551769328 True False True +In which season did the Milwaukee Bucks have the highest average ft_pct at home? SELECT season_id, AVG(ft_pct_home) as avg_stat FROM game WHERE team_name_home = 'Milwaukee Bucks' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 2009.0 False True True +What is the highest combined pts in any game involving the Boston Celtics? SELECT MAX(pts_home + pts_away) FROM game WHERE team_name_home = 'Boston Celtics' OR team_name_away = 'Boston Celtics'; 312.0 True True False +What is the average number of reb in home games by the Golden State Warriors? SELECT AVG(reb_home) FROM game WHERE team_name_home = 'Golden State Warriors'; 44.818285714285715 True True False +How many home games did the Golden State Warriors play in the 1999 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Golden State Warriors' AND season_id = '21999'; 41.0 False True False +How many home games did the Golden State Warriors play in the 2022 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Golden State Warriors' AND season_id = '22022'; 41.0 False True False +What is the average number of pts in away games by the Milwaukee Bucks? SELECT AVG(pts_away) FROM game WHERE team_name_away = 'Milwaukee Bucks'; 102.9162605228179 True True True +In which season did the Golden State Warriors have the highest average pts at home? SELECT season_id, AVG(pts_home) as avg_stat FROM game WHERE team_name_home = 'Golden State Warriors' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 1989.0 False True True +How many away games did the Golden State Warriors play in the 2011 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Golden State Warriors' AND season_id = '22011'; 33.0 False True False +How many away games did the Golden State Warriors play in the 2019 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Golden State Warriors' AND season_id = '22019'; 31.0 False True False +How many home games did the Los Angeles Lakers play in the 2021 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Los Angeles Lakers' AND season_id = '22021'; 41.0 False True False +What is the average number of tov in away games by the Los Angeles Lakers? SELECT AVG(tov_away) FROM game WHERE team_name_away = 'Los Angeles Lakers'; 14.554896142433234 True True False +What is the average number of ast in home games by the Chicago Bulls? SELECT AVG(ast_home) FROM game WHERE team_name_home = 'Chicago Bulls'; 24.980609418282548 False True True +What is the highest combined ast in any game involving the Boston Celtics? SELECT MAX(ast_home + ast_away) FROM game WHERE team_name_home = 'Boston Celtics' OR team_name_away = 'Boston Celtics'; 79.0 True True False +In which season did the Milwaukee Bucks have the highest average ast at home? SELECT season_id, AVG(ast_home) as avg_stat FROM game WHERE team_name_home = 'Milwaukee Bucks' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 1981.0 False True True +In which season did the Charlotte Hornets have the highest average reb at home? SELECT season_id, AVG(reb_home) as avg_stat FROM game WHERE team_name_home = 'Charlotte Hornets' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 2017.0 False True True +How many away games did the Golden State Warriors play in the 2022 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Golden State Warriors' AND season_id = '22022'; 41.0 False True False +What is the highest combined ft_pct in any game involving the Sacramento Kings? SELECT MAX(ft_pct_home + ft_pct_away) FROM game WHERE team_name_home = 'Sacramento Kings' OR team_name_away = 'Sacramento Kings'; 1.947 False True True +What is the highest combined ft_pct in any game involving the Miami Heat? SELECT MAX(ft_pct_home + ft_pct_away) FROM game WHERE team_name_home = 'Miami Heat' OR team_name_away = 'Miami Heat'; 1.913 False True True +What is the average number of pts in away games by the Miami Heat? SELECT AVG(pts_away) FROM game WHERE team_name_away = 'Miami Heat'; 96.7824377457405 True False True +What is the average number of tov in away games by the Miami Heat? SELECT AVG(tov_away) FROM game WHERE team_name_away = 'Miami Heat'; 15.235255570117957 True True False +What is the highest combined fg_pct in any game involving the Miami Heat? SELECT MAX(fg_pct_home + fg_pct_away) FROM game WHERE team_name_home = 'Miami Heat' OR team_name_away = 'Miami Heat'; 1.1949999999999998 True True False +What is the average number of pts in home games by the Chicago Bulls? SELECT AVG(pts_home) FROM game WHERE team_name_home = 'Chicago Bulls'; 103.32684824902724 True True True +What is the average number of ft_pct in home games by the Charlotte Hornets? SELECT AVG(ft_pct_home) FROM game WHERE team_name_home = 'Charlotte Hornets'; 0.7601475237091683 False True True +What is the average number of tov in home games by the Boston Celtics? SELECT AVG(tov_home) FROM game WHERE team_name_home = 'Boston Celtics'; 14.788121073672189 True True False +How many home games did the Golden State Warriors play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Golden State Warriors' AND season_id = '22018'; 41.0 False True False +In which season did the Chicago Bulls have the highest average ast at home? SELECT season_id, AVG(ast_home) as avg_stat FROM game WHERE team_name_home = 'Chicago Bulls' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 2021.0 False True True +What is the highest combined fg_pct in any game involving the Charlotte Hornets? SELECT MAX(fg_pct_home + fg_pct_away) FROM game WHERE team_name_home = 'Charlotte Hornets' OR team_name_away = 'Charlotte Hornets'; 1.233 False True True +How many away games did the Chicago Bulls play in the 2011 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Chicago Bulls' AND season_id = '22011'; 33.0 False True False +How many away games did the Golden State Warriors play in the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Golden State Warriors' AND season_id = '22020'; 36.0 False True False +What is the highest combined fg_pct in any game involving the Detroit Pistons? SELECT MAX(fg_pct_home + fg_pct_away) FROM game WHERE team_name_home = 'Detroit Pistons' OR team_name_away = 'Detroit Pistons'; 1.217 False True True +How many away games did the Miami Heat play in the 2021 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Miami Heat' AND season_id = '22021'; 41.0 False True False +How many away games did the Detroit Pistons play in the 2021 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Detroit Pistons' AND season_id = '22021'; 41.0 False True False +What is the average number of reb in away games by the Detroit Pistons? SELECT AVG(reb_away) FROM game WHERE team_name_away = 'Detroit Pistons'; 42.10948081264108 True True False +What is the average number of reb in away games by the Milwaukee Bucks? SELECT AVG(reb_away) FROM game WHERE team_name_away = 'Milwaukee Bucks'; 41.71580122836404 True True False +What is the average number of tov in home games by the Milwaukee Bucks? SELECT AVG(tov_home) FROM game WHERE team_name_home = 'Milwaukee Bucks'; 14.664838513101769 True True False +What is the average number of ast in away games by the Milwaukee Bucks? SELECT AVG(ast_away) FROM game WHERE team_name_away = 'Milwaukee Bucks'; 22.16927374301676 False True True +How many away games did the Chicago Bulls play in the 2019 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Chicago Bulls' AND season_id = '22019'; 31.0 False True False +How many away games did the Chicago Bulls play in the 2014 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Chicago Bulls' AND season_id = '22014'; 41.0 False True False +How many away games did the Los Angeles Lakers play in the 2007 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Los Angeles Lakers' AND season_id = '22007'; 41.0 False True False +How many away games did the Los Angeles Lakers play in the 2019 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Los Angeles Lakers' AND season_id = '22019'; 36.0 False True False +How many away games did the Los Angeles Lakers play in the 2009 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Los Angeles Lakers' AND season_id = '22009'; 41.0 False True False +In which season did the Detroit Pistons have the highest average ft_pct at home? SELECT season_id, AVG(ft_pct_home) as avg_stat FROM game WHERE team_name_home = 'Detroit Pistons' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 2021.0 False True True +What is the highest combined pts in any game involving the Milwaukee Bucks? SELECT MAX(pts_home + pts_away) FROM game WHERE team_name_home = 'Cleveland Cavaliers' OR team_name_away = 'Cleveland Cavaliers'; 307.0 False True True +How many home games did the Los Angeles Lakers play in the 2022 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Los Angeles Lakers' AND season_id = '22022'; 41.0 False True False +What is the highest combined pts in any game involving the Milwaukee Bucks? SELECT MAX(pts_home + pts_away) FROM game WHERE team_name_home = 'Milwaukee Bucks' OR team_name_away = 'Milwaukee Bucks'; 337.0 False True True +How many away games did the Chicago Bulls play in the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Chicago Bulls' AND season_id = '22020'; 36.0 False True False +In which season did the Golden State Warriors have the highest average fg_pct at home? SELECT season_id, AVG(fg_pct_home) as avg_stat FROM game WHERE team_name_home = 'Golden State Warriors' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 21981|0.5885 False True True +How many away games did the Chicago Bulls play in the 2001 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Chicago Bulls' AND season_id = '22001'; 41.0 False True False +What is the average number of fg_pct in away games by the Miami Heat? SELECT AVG(fg_pct_away) FROM game WHERE team_name_away = 'Miami Heat'; 0.4499279161205765 True True False +How many away games did the Chicago Bulls play in the 2002 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Chicago Bulls' AND season_id = '22002'; 41.0 False True False +What is the highest combined reb in any game involving the Los Angeles Clippers? SELECT MAX(reb_home + reb_away) FROM game WHERE team_name_home = 'Los Angeles Clippers' OR team_name_away = 'Los Angeles Clippers'; 134.0 False True True +How many home games did the Los Angeles Lakers play in the 2005 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Los Angeles Lakers' AND season_id = '22005'; 41.0 False True False +How many home games did the Los Angeles Lakers play in the 2003 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Los Angeles Lakers' AND season_id = '22003'; 41.0 False True False +In which season did the Golden State Warriors have the highest average ast at home? SELECT season_id, AVG(ast_home) as avg_stat FROM game WHERE team_name_home = 'Golden State Warriors' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 2016.0 False True True +What is the average number of reb in away games by the Boston Celtics? SELECT AVG(reb_away) FROM game WHERE team_name_away = 'Boston Celtics'; 42.40882509303562 False True True +In which season did the Los Angeles Clippers have the highest average ast at home? SELECT season_id, AVG(ast_home) as avg_stat FROM game WHERE team_name_home = 'Los Angeles Clippers' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 21988.0 False True True +What is the highest combined ast in any game involving the Houston Rockets? SELECT MAX(ast_home + ast_away) FROM game WHERE team_name_home = 'Houston Rockets' OR team_name_away = 'Houston Rockets'; 81.0 True True True +What is the highest combined ast in any game involving the Chicago Bulls? SELECT MAX(ast_home + ast_away) FROM game WHERE team_name_home = 'Chicago Bulls' OR team_name_away = 'Chicago Bulls'; 75.0 False True True +In which season did the Portland San Antonio Spurs have the highest average ast at home? SELECT season_id, AVG(ast_home) as avg_stat FROM game WHERE team_name_home = 'San Antonio Spurs' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 41982.0 False True True +What is the average number of ft_pct in away games by the Los Angeles Clippers? SELECT AVG(ft_pct_away) FROM game WHERE team_name_away = 'Los Angeles Clippers'; 0.7375894405043332 False True True +How many away games did the Golden State Warriors play in the 2009 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Golden State Warriors' AND season_id = '22009'; 41.0 False True False +How many away games did the Boston Celtics play in the 2009 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Boston Celtics' AND season_id = '22009'; 41.0 False True False +How many away games did the Boston Celtics play in the 2022 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Boston Celtics' AND season_id = '22022'; 41.0 False True False +What is the highest combined tov in any game involving the Golden State Warriors? SELECT MAX(tov_home + tov_away) FROM game WHERE team_name_home = 'Golden State Warriors' OR team_name_away = 'Golden State Warriors'; 60.0 True True False +What is the highest combined ft_pct in any game involving the Los Angeles Lakers? SELECT MAX(ft_pct_home + ft_pct_away) FROM game WHERE team_name_home = 'Los Angeles Lakers' OR team_name_away = 'Los Angeles Lakers'; 1.957 False True True +What is the highest combined fg_pct in any game involving the Golden State Warriors? SELECT MAX(fg_pct_home + fg_pct_away) FROM game WHERE team_name_home = 'Golden State Warriors' OR team_name_away = 'Golden State Warriors'; 1.196 True True False +What is the average number of pts in home games by the Boston Celtics? SELECT AVG(pts_home) FROM game WHERE team_name_home = 'Boston Celtics'; 106.27848911651728 True True False +What is the highest combined fg_pct in any game involving the Los Angeles Clippers? SELECT MAX(fg_pct_home + fg_pct_away) FROM game WHERE team_name_home = 'Los Angeles Clippers' OR team_name_away = 'Los Angeles Clippers'; 1.257 False True True +How many away games did the Miami Heat play in the 2019 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Miami Heat' AND season_id = '22019'; 37.0 False True False +How many home games did the Orlando Magic play in the 2013 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Orlando Magic' AND season_id = '22013'; 41.0 False True False +How many home games did the Milwaukee Bucks play in the 2011 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Milwaukee Bucks' AND season_id = '22011'; 33.0 False True False +How many away games did the Boston Celtics play in the 2002 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Boston Celtics' AND season_id = '22002'; 41.0 False True False +How many home games did the Golden State Warriors play in the 2001 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Golden State Warriors' AND season_id = '22001'; 41.0 False True False +How many home games did the Golden State Warriors play in the 2013 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Golden State Warriors' AND season_id = '22013'; 41.0 False True False +What is the highest combined ft_pct in any game involving the New York Knicks? SELECT MAX(ft_pct_home + ft_pct_away) FROM game WHERE team_name_home = 'New York Knicks' OR team_name_away = 'New York Knicks'; 9.167 False True True +What is the average number of pts in home games by the Milwaukee Bucks? SELECT AVG(pts_home) FROM game WHERE team_name_home = 'Milwaukee Bucks'; 106.24456280514868 True True True +How many home games did the Miami Heat play in the 2019 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Miami Heat' AND season_id = '22019'; 36.0 False True False +What is the average number of pts in away games by the New York Knicks? SELECT AVG(pts_away) FROM game WHERE team_name_away = 'New York Knicks'; 99.22237288135594 True True True +What is the average number of pts in away games by the Chicago Bulls? SELECT AVG(pts_away) FROM game WHERE team_name_away = 'Chicago Bulls'; 100.94640522875817 True True True +What is the average number of fg_pct in away games by the New York Knicks? SELECT AVG(fg_pct_away) FROM game WHERE team_name_away = 'New York Knicks'; 0.4504453081621318 False True True +In which season did the Boston Celtics have the highest average tov at home? SELECT season_id, AVG(tov_home) as avg_stat FROM game WHERE team_name_home = 'Boston Celtics' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 2005.0 False True True +In which season did the Orlando Magic have the highest average tov at home? SELECT season_id, AVG(tov_home) as avg_stat FROM game WHERE team_name_home = 'Orlando Magic' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 2011.0 False True True +What is the average number of ft_pct in away games by the San Antonio Spurs? SELECT AVG(ft_pct_away) FROM game WHERE team_name_away = 'San Antonio Spurs'; 0.7538615611192923 True False True +In which season did the Boston Celtics have the highest average fg_pct at home? SELECT season_id, AVG(fg_pct_home) as avg_stat FROM game WHERE team_name_home = 'Boston Celtics' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 41989.0 False True True +How many home games did the Chicago Bulls play in the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Chicago Bulls' AND season_id = '22020'; 36.0 False True False +What is the average number of tov in home games by the Chicago Bulls? SELECT AVG(tov_home) FROM game WHERE team_name_home = 'Chicago Bulls'; 14.512123004139562 True True False +How many away games did the Los Angeles Lakers play in the 2021 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Los Angeles Lakers' AND season_id = '22021'; 41.0 False True False +In which season did the Milwaukee Bucks have the highest average pts at home? SELECT season_id, AVG(pts_home) as avg_stat FROM game WHERE team_name_home = 'Milwaukee Bucks' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 42022.0 False True True +What is the average number of ft_pct in away games by the Chicago Bulls? SELECT AVG(ft_pct_away) FROM game WHERE team_name_away = 'Chicago Bulls'; 0.7549616557734183 True True True +How many home games did the Golden State Warriors play in the 2021 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Golden State Warriors' AND season_id = '22021'; 41.0 False True False +How many away games did the Los Angeles Lakers play in the 2022 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Los Angeles Lakers' AND season_id = '22022'; 41.0 False True False +What is the highest combined reb in any game involving the Boston Celtics? SELECT MAX(reb_home + reb_away) FROM game WHERE team_name_home = 'Boston Celtics' OR team_name_away = 'Boston Celtics'; 155.0 True True False +What is the average number of pts in home games by the Golden State Warriors? SELECT AVG(pts_home) FROM game WHERE team_name_home = 'Golden State Warriors'; 109.409324009324 True True False +In which season did the Miami Heat have the highest average ast at home? SELECT season_id, AVG(ast_home) as avg_stat FROM game WHERE team_name_home = 'Miami Heat' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 2019.0 False True True +How many away games did the Los Angeles Lakers play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Los Angeles Lakers' AND season_id = '22018'; 41.0 False True False +How many away games did the Miami Heat play in the 2016 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Miami Heat' AND season_id = '22016'; 41.0 False True False +What is the highest combined reb in any game involving the San Antonio Spurs? SELECT MAX(reb_home + reb_away) FROM game WHERE team_name_home = 'San Antonio Spurs' OR team_name_away = 'San Antonio Spurs'; 134.0 True True False +How many away games did the Miami Heat play in the 2017 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Miami Heat' AND season_id = '22017'; 41.0 False True False +How many away games did the San Antonio Spurs play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'San Antonio Spurs' AND season_id = '22018'; 41.0 False True False +What is the average number of tov in away games by the Golden State Warriors? SELECT AVG(tov_away) FROM game WHERE team_name_away = 'Golden State Warriors'; 15.801587301587302 True True False +What is the average number of ast in away games by the San Antonio Spurs? SELECT AVG(ast_away) FROM game WHERE team_name_away = 'San Antonio Spurs'; 22.72059635560464 True False True +How many home games did the Miami Heat play in the 2021 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Miami Heat' AND season_id = '22021'; 41.0 False True False +How many home games did the Boston Celtics play in the 2019 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Boston Celtics' AND season_id = '22019'; 36.0 False True False +How many home games did the Miami Heat play in the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Miami Heat' AND season_id = '22020'; 36.0 False True False +What is the highest combined tov in any game involving the San Antonio Spurs? SELECT MAX(tov_home + tov_away) FROM game WHERE team_name_home = 'San Antonio Spurs' OR team_name_away = 'San Antonio Spurs'; 60.0 False True True +How many home games did the San Antonio Spurs Lakers play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'San Antonio Spurs' AND season_id = '22018'; 41.0 False True False +What is the average number of ast in home games by the Miami Heat? SELECT AVG(ast_home) FROM game WHERE team_name_home = 'Miami Heat'; 21.454368932038836 True True True +What is the average number of tov in home games by the San Antonio Spurs? SELECT AVG(tov_home) FROM game WHERE team_name_home = 'San Antonio Spurs'; 14.41725768321513 True True False +How many away games did the Miami Heat play in the 2014 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Miami Heat' AND season_id = '22015'; 41.0 False True False +What is the average number of ft_pct in away games by the Milwaukee Bucks? SELECT AVG(ft_pct_away) FROM game WHERE team_name_away = 'Milwaukee Bucks'; 0.7545688967656173 True True True +What is the average number of pts in away games by the Houston Rockets? SELECT AVG(pts_away) FROM game WHERE team_name_away = 'Houston Rockets'; 102.85476410730804 True True True +What is the average number of pts in away games by the Orlando Magic? SELECT AVG(pts_away) FROM game WHERE team_name_away = 'Orlando Magic'; 99.26172148355494 True False True +What is the highest combined ast in any game involving the Orlando Magic? SELECT MAX(ast_home + ast_away) FROM game WHERE team_name_home = 'Orlando Magic' OR team_name_away = 'Orlando Magic'; 74.0 True True True +What is the average number of pts in home games by the Orlando Magic? SELECT AVG(pts_home) FROM game WHERE team_name_home = 'Orlando Magic'; 102.53608969866852 False True True +What is the highest combined ast in any game involving the San Antonio Spurs? SELECT MAX(ast_home + ast_away) FROM game WHERE team_name_home = 'San Antonio Spurs' OR team_name_away = 'San Antonio Spurs'; 88.0 False True True +What is the average number of ft_pct in away games by the Boston Celtics? SELECT AVG(ft_pct_away) FROM game WHERE team_name_away = 'Boston Celtics'; 0.7614488017429173 False True True +How many home games did the Orlando Magic play in the 2019 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Orlando Magic' AND season_id = '22019'; 35.0 False True False +What is the highest combined reb in any game involving the Orlando Magic? SELECT MAX(reb_home + reb_away) FROM game WHERE team_name_home = 'Orlando Magic' OR team_name_away = 'Orlando Magic'; 128.0 True True False +What is the highest combined tov in any game involving the Los Angeles Lakers? SELECT MAX(tov_home + tov_away) FROM game WHERE team_name_home = 'Los Angeles Lakers' OR team_name_away = 'Los Angeles Lakers'; 66.0 False True True +What is the average number of reb in home games by the Portland Trail Blazers? SELECT AVG(reb_home) FROM game WHERE team_name_home = 'Portland Trail Blazers'; 43.965986394557824 True True False +In which season did the Portland Trail Blazers have the highest average pts at home? SELECT season_id, AVG(pts_home) as avg_stat FROM game WHERE team_name_home = 'Portland Trail Blazers' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 21986.0 False True True +How many home games did the Portland Trail Blazers play in the 2022 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Portland Trail Blazers' AND season_id = '22022'; 41.0 False True False +What is the average number of fg_pct in home games by the Los Angeles Lakers? SELECT AVG(fg_pct_home) FROM game WHERE team_name_home = 'Los Angeles Lakers'; 0.4782432016418667 False True True +In which season did the Chicago Bulls have the highest average fg_pct at home? SELECT season_id, AVG(fg_pct_home) as avg_stat FROM game WHERE team_name_home = 'Chicago Bulls' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12022.0 False True True +What is the most points the Los Angeles Lakers have scored at home? SELECT MAX(pts_home) FROM game WHERE team_name_home = 'Los Angeles Lakers'; 162.0 False True False +How many home games did the Boston Celtics win in the 1946 season? SELECT COUNT(*) as wins FROM game WHERE team_name_home = 'Boston Celtics' AND wl_home = 'W' AND season_id = '21946'; 14.0 False True False +What is the total number of assists by the Chicago Bulls at home? SELECT SUM(ast_home) as total_assists FROM game WHERE team_name_home = 'Chicago Bulls'; 45090.0 True True False +How many games did the Miami Heat lose away in the 1996 season? SELECT COUNT(*) as losses FROM game WHERE team_name_away = 'Miami Heat' AND wl_away = 'L' AND season_id = '21996'; 9.0 False True False +What is the average field goal percentage for the New York Knicks at home? SELECT AVG(fg_pct_home) as avg_fg_pct FROM game WHERE team_name_home = 'New York Knicks'; 0.46 True True False +How many steals did the Houston Rockets make at home in the 1996 season? SELECT SUM(stl_home) as total_steals FROM game WHERE team_name_home = 'Houston Rockets' AND season_id = '21996'; 352.0 False True False +What is the highest plus-minus score for the Phoenix Suns at home? SELECT MAX(plus_minus_home) as max_plus_minus FROM game WHERE team_name_home = 'Phoenix Suns'; 55.0 True True True +How many games did the Cleveland Cavaliers play at home in 1996? SELECT COUNT(*) as home_games FROM game WHERE team_name_home = 'Cleveland Cavaliers' AND season_id = '21996'; 41.0 False True False +How many blocks did the Portland Trail Blazers make at home in 1996? SELECT SUM(blk_home) as total_blocks FROM game WHERE team_name_home = 'Portland Trail Blazers' AND season_id = '21996'; 188.0 False True False +What is the total number of rebounds by the Milwaukee Bucks at home? SELECT SUM(reb_home) as total_rebounds FROM game WHERE team_name_home = 'Milwaukee Bucks'; 76050.0 True True False +What is the lowest points scored by the Detroit Pistons at home? SELECT MIN(pts_home) as min_points FROM game WHERE team_name_home = 'Detroit Pistons'; 64.0 False True False +How many games did the Atlanta Hawks win away in 1996? SELECT COUNT(*) as away_wins FROM game WHERE team_name_away = 'Atlanta Hawks' AND wl_away = 'W' AND season_id = '21996'; 20.0 False True False +What is the total points scored by the Sacramento Kings away? SELECT SUM(pts_away) as total_points FROM game WHERE team_name_away = 'Sacramento Kings'; 159071.0 True True True +How many turnovers did the Utah Jazz have at home in 1996? SELECT SUM(tov_home) as total_turnovers FROM game WHERE team_name_home = 'Utah Jazz' AND season_id = '21996'; 633.0 True True True +What is the highest points scored by the Golden State Warriors away? SELECT MAX(pts_away) as max_points FROM game WHERE team_name_away = 'Golden State Warriors'; 162.0 True True True +How many games did the Philadelphia 76ers lose at home in 1996? SELECT COUNT(*) as home_losses FROM game WHERE team_name_home = 'Philadelphia 76ers' AND wl_home = 'L' AND season_id = '21996'; 30.0 False True False +What is the total free throws made by the Indiana Pacers at home? SELECT SUM(ftm_home) as total_ftm FROM game WHERE team_name_home = 'Indiana Pacers'; 39545.0 True True False +How many assists did the Charlotte Hornets have away in 1996? SELECT SUM(ast_away) as total_assists FROM game WHERE team_name_away = 'Charlotte Hornets' AND season_id = '21996'; 880.0 False True True +What is the average points scored by the Washington Wizards at home? SELECT AVG(pts_home) as avg_points FROM game WHERE team_name_home = 'Washington Wizards'; 102.91 False True True +How many games did the San Antonio Spurs win at home in 1996? SELECT COUNT(*) as home_wins FROM game WHERE team_name_home = 'San Antonio Spurs' AND wl_home = 'W' AND season_id = '21996'; 12.0 False True False +What is the total points in the paint by the Los Angeles Clippers at home? SELECT SUM(pts_paint_home) as total_pts_paint FROM other_stats WHERE team_abbreviation_home = 'LAC'; 40334.0 False True True +How many lead changes occurred in games where the Denver Nuggets played at home? SELECT SUM(lead_changes) as total_lead_changes FROM other_stats WHERE team_abbreviation_home = 'DEN'; 6168.0 False True False +What is the largest lead the Minnesota Timberwolves had at home? SELECT MAX(largest_lead_home) as max_lead FROM other_stats WHERE team_abbreviation_home = 'MIN'; 48.0 False False False +How many fast break points did the Orlando Magic score away? SELECT SUM(pts_fb_away) as total_fb_points FROM other_stats WHERE team_abbreviation_away = 'ORL'; 11743.0 False True True +What is the total second chance points by the Toronto Raptors at home? SELECT SUM(pts_2nd_chance_home) as total_2nd_chance FROM other_stats WHERE team_abbreviation_home = 'TOR'; 12057.0 True True True +What's the average number of three-pointers made by the Golden State Warriors in home games during the 2016 season? SELECT AVG(fg3m_home) FROM game WHERE team_name_home = 'Golden State Warriors' AND season_id = '22016'; 12.76 False True True +How many total team rebounds did the Los Angeles Clippers have in away games where they scored over 15 fast break points? SELECT SUM(os.team_rebounds_away) FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_abbreviation_away = 'LAC' AND os.pts_fb_away > 15; 2279.0 False True True +How many steals did the Dallas Mavericks have at home in 1996? SELECT SUM(stl_home) as total_steals FROM game WHERE team_name_home = 'Dallas Mavericks' AND season_id = '21996'; 322.0 False True False +What is the total rebounds by the Brooklyn Nets away? SELECT SUM(reb_away) as total_rebounds FROM game WHERE team_name_away = 'Brooklyn Nets'; 19103.0 True False False +How many blocks did the New Orleans Pelicans make at home? SELECT SUM(blk_home) as total_blocks FROM game WHERE team_name_home = 'New Orleans Pelicans'; 2368.0 False True False +What is the lowest plus-minus score for the Los Angeles Lakers at home? SELECT MIN(plus_minus_home) as min_plus_minus FROM game WHERE team_name_home = 'Los Angeles Lakers'; -48.0 False True True +How many games did the Golden State Warriors lose away in 1996? SELECT COUNT(*) as away_losses FROM game WHERE team_name_away = 'Golden State Warriors' AND wl_away = 'L' AND season_id = '21996'; 29.0 False True False +What is the total points scored by the Cleveland Cavaliers at home? SELECT SUM(pts_home) as total_points FROM game WHERE team_name_home = 'Cleveland Cavaliers'; 220683.0 True True True +How many assists did the Phoenix Suns have at home in 1996? SELECT SUM(ast_home) as total_assists FROM game WHERE team_name_home = 'Phoenix Suns' AND season_id = '21996'; 1096.0 False True False +What is the average free throw percentage for the Miami Heat away? SELECT AVG(ft_pct_away) as avg_ft_pct FROM game WHERE team_name_away = 'Miami Heat'; 0.74 True True False +How many games did the Chicago Bulls win at home in 1996? SELECT COUNT(*) as home_wins FROM game WHERE team_name_home = 'Chicago Bulls' AND wl_home = 'W' AND season_id = '21996'; 39.0 False True False +What is the total points off turnovers by the Atlanta Hawks at home? SELECT SUM(pts_off_to_home) as total_pts_off_to FROM other_stats WHERE team_abbreviation_home = 'ATL'; 13503.0 True True True +How many times were games tied when the Boston Celtics played at home? SELECT SUM(times_tied) as total_times_tied FROM other_stats WHERE team_abbreviation_home = 'BOS'; 5156.0 False True False +What is the highest fast break points by the Houston Rockets at home? SELECT MAX(pts_fb_home) as max_fb_points FROM other_stats WHERE team_abbreviation_home = 'HOU'; 37.0 True True True +How many team turnovers did the New York Knicks have at home? SELECT SUM(team_turnovers_home) as total_team_turnovers FROM other_stats WHERE team_abbreviation_home = 'NYK'; 550.0 False False True +What is the total points in the paint by the Philadelphia 76ers away? SELECT SUM(pts_paint_away) as total_pts_paint FROM other_stats WHERE team_abbreviation_away = 'PHI'; 41004.0 True False False +How many games did the Los Angeles Clippers play at home in 1996? SELECT COUNT(*) as home_games FROM game WHERE team_name_home = 'Los Angeles Clippers' AND season_id = '21996'; 41.0 False True False +What is the lowest points scored by the San Antonio Spurs at home? SELECT MIN(pts_home) as min_points FROM game WHERE team_name_home = 'San Antonio Spurs'; 64.0 False True True +How many steals did the Milwaukee Bucks make away in 1996? SELECT SUM(stl_away) as total_steals FROM game WHERE team_name_away = 'Milwaukee Bucks' AND season_id = '21996'; 295.0 False True True +What is the highest plus-minus score for the Indiana Pacers at home? SELECT MAX(plus_minus_home) as max_plus_minus FROM game WHERE team_name_home = 'Indiana Pacers'; 65.0 True True True +How many games did the Charlotte Hornets lose at home in 1996? SELECT COUNT(*) as home_losses FROM game WHERE team_name_home = 'Charlotte Hornets' AND wl_home = 'L' AND season_id = '21996'; 11.0 False True False +What is the average points scored by the Toronto Raptors away? SELECT AVG(pts_away) as avg_points FROM game WHERE team_name_away = 'Toronto Raptors'; 99.61 True False True +How many games did the Sacramento Kings win away in 1996? SELECT COUNT(*) as away_wins FROM game WHERE team_name_away = 'Sacramento Kings' AND wl_away = 'W' AND season_id = '21996'; 12.0 False True False +What is the largest lead the Phoenix Suns had at home? SELECT MAX(largest_lead_home) as max_lead FROM other_stats WHERE team_abbreviation_home = 'PHX'; 52.0 True False False +How many fast break points did the Atlanta Hawks score at home? SELECT SUM(pts_fb_home) as total_fb_points FROM other_stats WHERE team_abbreviation_home = 'ATL'; 12063.0 False True True +What is the total second chance points by the Boston Celtics away? SELECT SUM(pts_2nd_chance_away) as total_2nd_chance FROM other_stats WHERE team_abbreviation_away = 'BOS'; 11426.0 True True False +How many games did the Chicago Bulls play away in 1996? SELECT COUNT(*) as away_games FROM game WHERE team_name_away = 'Chicago Bulls' AND season_id = '21996'; 41.0 False True False +What is the highest points scored by the Los Angeles Lakers away? SELECT MAX(pts_away) as max_points FROM game WHERE team_name_away = 'Los Angeles Lakers'; 153.0 False True True +What is the lowest plus-minus score for the New York Knicks at home? SELECT MIN(plus_minus_home) as min_plus_minus FROM game WHERE team_name_home = 'New York Knicks'; -50.0 False True True +How many games did the Portland Trail Blazers win away in 1996? SELECT COUNT(*) as away_wins FROM game WHERE team_name_away = 'Portland Trail Blazers' AND wl_away = 'W' AND season_id = '21996'; 20.0 False True False +What is the average points scored by the San Antonio Spurs away? SELECT AVG(pts_away) as avg_points FROM game WHERE team_name_away = 'San Antonio Spurs'; 102.35 True False True +How many games did the Utah Jazz lose at home in 1996? SELECT COUNT(*) as home_losses FROM game WHERE team_name_home = 'Utah Jazz' AND wl_home = 'L' AND season_id = '21996'; 3.0 False True False +What is the total points in the paint by the Denver Nuggets at home? SELECT SUM(pts_paint_home) as total_pts_paint FROM other_stats WHERE team_abbreviation_home = 'DEN'; 44784.0 False False True +How many times were games tied when the Indiana Pacers played at home? SELECT SUM(times_tied) as total_times_tied FROM other_stats WHERE team_abbreviation_home = 'IND'; 4805.0 False True True +"What is the total second chance points by the Miami Heat at home?""" SELECT SUM(pts_2nd_chance_home) as total_2nd_chance FROM other_stats WHERE team_abbreviation_home = 'MIA'; 11670.0 True False False +How many games did the Cleveland Cavaliers play away in 1996? SELECT COUNT(*) as away_games FROM game WHERE team_name_away = 'Cleveland Cavaliers' AND season_id = '21996'; 41.0 False True False +What is the highest points scored by the Atlanta Hawks at home? SELECT MAX(pts_home) as max_points FROM game WHERE team_name_home = 'Atlanta Hawks'; 161.0 False True False +What is the average points scored by the Los Angeles Lakers at home when they won in the 1996 season? SELECT AVG(pts_home) as avg_points FROM game WHERE team_name_home = 'Los Angeles Lakers' AND wl_home = 'W' AND season_id = '21996'; 103.58 False True True +How many games did the Boston Celtics win at home with more than 15 assists in 1996? SELECT COUNT(*) as wins FROM game WHERE team_name_home = 'Boston Celtics' AND wl_home = 'W' AND ast_home > 15 AND season_id = '21996'; 11.0 False True False +What is the total points in the paint by the Chicago Bulls at home in games they lost in 1996? SELECT SUM(os.pts_paint_home) as total_pts_paint FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Chicago Bulls' AND g.wl_home = 'L' AND g.season_id = '21996'; 56.0 False True True +How many times did the Houston Rockets win at home with a plus-minus greater than 10 in 1996? SELECT COUNT(*) as wins FROM game WHERE team_name_home = 'Houston Rockets' AND wl_home = 'W' AND plus_minus_home > 10 AND season_id = '21996'; 11.0 False True True +What is the total fast break points by the Phoenix Suns in games they lost at home in 1996? SELECT SUM(os.pts_fb_home) as total_fb_points FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Phoenix Suns' AND g.wl_home = 'L' AND g.season_id = '21996'; 171.0 True True False +What is the average second chance points by the Milwaukee Bucks at home in games they won? SELECT AVG(os.pts_2nd_chance_home) as avg_2nd_chance FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Milwaukee Bucks' AND g.wl_home = 'W'; 13.12 False True True +What is the total points scored by the Detroit Pistons at home when they had more than 10 steals? SELECT SUM(pts_home) as total_points FROM game WHERE team_name_home = 'Detroit Pistons' AND stl_home > 10; 22493.0 False True True +How many games did the Atlanta Hawks win at home with a largest lead greater than 20 in 1996? SELECT COUNT(*) as wins FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Atlanta Hawks' AND g.wl_home = 'W' AND os.largest_lead_home > 20 AND g.season_id = '21996'; 7.0 False True False +What is the highest points in the paint by the Sacramento Kings away in games they won? SELECT MAX(os.pts_paint_away) as max_pts_paint FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_away = 'Sacramento Kings' AND g.wl_away = 'W'; 78.0 True True True +How many games did the Utah Jazz play at home with more than 30 points in the paint in 1996? SELECT COUNT(*) as games FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Utah Jazz' AND os.pts_paint_home > 30 AND g.season_id = '21996'; 25.0 False True False +What is the total second chance points by the Washington Wizards at home in games they won? SELECT SUM(os.pts_2nd_chance_home) as total_2nd_chance FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Washington Wizards' AND g.wl_home = 'W'; 6281.0 False True True +What is the total points in the paint by the Minnesota Timberwolves away when they lost? SELECT SUM(os.pts_paint_away) as total_pts_paint FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_away = 'Minnesota Timberwolves' AND g.wl_away = 'L'; 25564.0 False False False +What is the average points scored by the Toronto Raptors at home when they had more than 10 second chance points in 1996? SELECT AVG(g.pts_home) as avg_points FROM game g JOIN other_stats os ON g.game_id = os.game_id WHERE g.team_name_home = 'Toronto Raptors' AND os.pts_2nd_chance_home > 10 AND g.season_id = '21996'; 96.458 False True True +What is the total number of points scored by the Atlanta Hawks at home? SELECT SUM(pts_home) as total_points FROM game WHERE team_name_home = 'Atlanta Hawks'; 233546.0 False True False +How many games did the Boston Celtics lose at home in the 1996 season? SELECT COUNT(*) as losses FROM game WHERE team_name_home = 'Boston Celtics' AND wl_home = 'L' AND season_id = '21996'; 30.0 False True False +What is the highest field goals made by the Chicago Bulls at home? SELECT MAX(fgm_home) as max_fgm FROM game WHERE team_name_home = 'Chicago Bulls'; 67.0 False True True +How many games did the Cleveland Cavaliers lose away in 1996? SELECT COUNT(*) as away_losses FROM game WHERE team_name_away = 'Cleveland Cavaliers' AND wl_away = 'L' AND season_id = '21996'; 24.0 False True False +What is the total points scored by the Dallas Mavericks away? SELECT SUM(pts_away) as total_points FROM game WHERE team_name_away = 'Dallas Mavericks'; 187891.0 True False False +How many games did the Denver Nuggets win at home in 1996? SELECT COUNT(*) as home_wins FROM game WHERE team_name_home = 'Denver Nuggets' AND wl_home = 'W' AND season_id = '21996'; 12.0 False True False +What is the lowest points scored by the Detroit Pistons away? SELECT MIN(pts_away) as min_points FROM game WHERE team_name_away = 'Detroit Pistons'; 64.0 True False False +How many games did the Indiana Pacers play at home in 1996? SELECT COUNT(*) as home_games FROM game WHERE team_name_home = 'Indiana Pacers' AND season_id = '21996'; 41.0 False True False +What is the highest points scored by the Los Angeles Clippers away? SELECT MAX(pts_away) as max_points FROM game WHERE team_name_away = 'Los Angeles Clippers'; 142.0 True True True +How many games did the Los Angeles Lakers lose at home in 1996? SELECT COUNT(*) as home_losses FROM game WHERE team_name_home = 'Los Angeles Lakers' AND wl_home = 'L' AND season_id = '21996'; 10.0 False True False +What is the total assists by the Miami Heat at home? SELECT SUM(ast_home) as total_assists FROM game WHERE team_name_home = 'Miami Heat'; 33147.0 True True True +What is the lowest plus-minus score for the Minnesota Timberwolves away? SELECT MIN(plus_minus_away) as min_plus_minus FROM game WHERE team_name_away = 'Minnesota Timberwolves'; -48.0 False True True +How many games did the New York Knicks win at home in 1996? SELECT COUNT(*) as home_wins FROM game WHERE team_name_home = 'New York Knicks' AND wl_home = 'W' AND season_id = '21996'; 31.0 False True False +What is the total points scored by the Orlando Magic at home? SELECT SUM(pts_home) as total_points FROM game WHERE team_name_home = 'Orlando Magic'; 146319.0 False True False +How many games did the Portland Trail Blazers lose at home in 1996? SELECT COUNT(*) as home_losses FROM game WHERE team_name_home = 'Portland Trail Blazers' AND wl_home = 'L' AND season_id = '21996'; 12.0 False True False +What is the total points in the paint by the Sacramento Kings at home? SELECT SUM(pts_paint_home) as total_pts_paint FROM other_stats WHERE team_abbreviation_home = 'SAC'; 38278.0 True False True +How many lead changes occurred in games where the San Antonio Spurs played at home? SELECT SUM(lead_changes) as total_lead_changes FROM other_stats WHERE team_abbreviation_home = 'SAS'; 5666.0 False True True +What is the largest lead the Toronto Raptors had away? SELECT MAX(largest_lead_away) as max_lead FROM other_stats WHERE team_abbreviation_away = 'TOR'; 49.0 True True True +How many fast break points did the Utah Jazz score at home? SELECT SUM(pts_fb_home) as total_fb_points FROM other_stats WHERE team_abbreviation_home = 'UTA'; 11246.0 False True True +What is the total second chance points by the Washington Wizards away? SELECT SUM(pts_2nd_chance_away) as total_2nd_chance FROM other_stats WHERE team_abbreviation_away = 'WAS'; 13226.0 True True True +How many games did the Charlotte Hornets play away in 1996? SELECT COUNT(*) as away_games FROM game WHERE team_name_away = 'Charlotte Hornets' AND season_id = '21996'; 41.0 False True False +How many field goals made did the Atlanta Hawks have away in 1996? SELECT SUM(fgm_away) as total_fgm FROM game WHERE team_name_away = 'Atlanta Hawks' AND season_id = '21996'; 1366.0 False True False +What is the total points scored by the Denver Nuggets away? SELECT SUM(pts_away) as total_points FROM game WHERE team_name_away = 'Denver Nuggets'; 210741.0 False True True +What is the lowest points scored by the Los Angeles Lakers away? SELECT MIN(pts_away) as min_points FROM game WHERE team_name_away = 'Los Angeles Lakers'; 68.0 True False False +How many games did the Miami Heat win away in 1996? SELECT COUNT(*) as away_wins FROM game WHERE team_name_away = 'Miami Heat' AND wl_away = 'W' AND season_id = '21996'; 32.0 False True False +What is the total points in the paint by the Milwaukee Bucks away? SELECT SUM(pts_paint_away) as total_pts_paint FROM other_stats WHERE team_abbreviation_away = 'MIL'; 39056.0 True True True +How many times were games tied when the Minnesota Timberwolves played away? SELECT SUM(times_tied) as total_times_tied FROM other_stats WHERE team_abbreviation_away = 'MIN'; 5123.0 False True True +What is the highest fast break points by the New York Knicks away? SELECT MAX(pts_fb_away) as max_fb_points FROM other_stats WHERE team_abbreviation_away = 'NYK'; 38.0 True False False +How many games did the Phoenix Suns play away in 1996? SELECT COUNT(*) as away_games FROM game WHERE team_name_away = 'Phoenix Suns' AND season_id = '21996'; 41.0 False True False +What is the lowest points scored by the Portland Trail Blazers away? SELECT MIN(pts_away) as min_points FROM game WHERE team_name_away = 'Portland Trail Blazers'; 58.0 True False False +How many games did the Toronto Raptors lose away in 1996? SELECT COUNT(*) as away_losses FROM game WHERE team_name_away = 'Toronto Raptors' AND wl_away = 'L' AND season_id = '21996'; 29.0 False True False +What is the highest points scored by the Utah Jazz at home? SELECT MAX(pts_home) as max_points FROM game WHERE team_name_home = 'Utah Jazz'; 151.0 True False True +What is the total points scored by the Charlotte Hornets at home? SELECT SUM(pts_home) as total_points FROM game WHERE team_name_home = 'Charlotte Hornets'; 98559.0 False True False +What is the lowest points scored by the Chicago Bulls away? SELECT MIN(pts_away) as min_points FROM game WHERE team_name_away = 'Chicago Bulls'; 63.0 True True True +What is the total points in the paint by the Dallas Mavericks at home? SELECT SUM(pts_paint_home) as total_pts_paint FROM other_stats WHERE team_abbreviation_home = 'DAL'; 37764.0 True False False +How many lead changes occurred in games where the Denver Nuggets played away? SELECT SUM(lead_changes) as total_lead_changes FROM other_stats WHERE team_abbreviation_away = 'DEN'; 5828.0 False True True +What is the highest second chance points by the Detroit Pistons at home? SELECT MAX(pts_2nd_chance_home) as max_2nd_chance FROM other_stats WHERE team_abbreviation_home = 'DET'; 32.0 False False False +How many fast break points did the Golden State Warriors score away? SELECT SUM(pts_fb_away) as total_fb_points FROM other_stats WHERE team_abbreviation_away = 'GSW'; 15122.0 False True True +How many games did the Indiana Pacers lose away in 1996? SELECT COUNT(*) as away_losses FROM game WHERE team_name_away = 'Indiana Pacers' AND wl_away = 'L' AND season_id = '21996'; 23.0 False True False +What is the highest points scored by the Los Angeles Clippers at home? SELECT MAX(pts_home) as max_points FROM game WHERE team_name_home = 'Los Angeles Clippers'; 152.0 False True False +What is the total rebounds by the Miami Heat at home? SELECT SUM(reb_home) as total_rebounds FROM game WHERE team_name_home = 'Miami Heat'; 65199.0 True True True +What is the lowest plus-minus score for the New York Knicks away? SELECT MIN(plus_minus_away) as min_plus_minus FROM game WHERE team_name_away = 'New York Knicks'; -47.0 False True True +How many games did the Orlando Magic win away in 1996? SELECT COUNT(*) as away_wins FROM game WHERE team_name_away = 'Orlando Magic' AND wl_away = 'W' AND season_id = '21996'; 19.0 False True False +What is the total points scored by the Philadelphia Warriors away? SELECT SUM(pts_away) as total_points FROM game WHERE team_name_away = 'Philadelphia 76ers'; 251917.0 True False False +How many games did the Sacramento Kings lose at home in 1996? SELECT COUNT(*) as home_losses FROM game WHERE team_name_home = 'Sacramento Kings' AND wl_home = 'L' AND season_id = '21996'; 19.0 False True False +What is the total points in the paint by the San Antonio Spurs away? SELECT SUM(pts_paint_away) as total_pts_paint FROM other_stats WHERE team_abbreviation_away = 'SAS'; 42884.0 False True True +How many times were games tied when the Toronto Raptors played at home? SELECT SUM(times_tied) as total_times_tied FROM other_stats WHERE team_abbreviation_home = 'TOR'; 4685.0 False True True +What is the highest fast break points by the Utah Jazz away? SELECT MAX(pts_fb_away) as max_fb_points FROM other_stats WHERE team_abbreviation_away = 'UTA'; 35.0 True True True +What's the highest number of lead changes in any game involving the Miami Heat? SELECT MAX(os.lead_changes) FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_abbreviation_home = 'MIA' OR g.team_abbreviation_away = 'MIA'; 33.0 True True False +What is the highest points scored by the Atlanta Hawks away? SELECT MAX(pts_away) as max_points FROM game WHERE team_name_away = 'Atlanta Hawks'; 155.0 True False False +What is the lowest points scored by the Dallas Mavericks at home? SELECT MIN(pts_home) as min_points FROM game WHERE team_name_home = 'Dallas Mavericks'; 62.0 False True True +How many games did the Denver Nuggets lose away in 1996? SELECT COUNT(*) as away_losses FROM game WHERE team_name_away = 'Denver Nuggets' AND wl_away = 'L' AND season_id = '21996'; 32.0 False True False +What is the total points scored by the Detroit Pistons at home? SELECT SUM(pts_home) as total_points FROM game WHERE team_name_home = 'Detroit Pistons'; 265718.0 False False False +What is the total points in the paint by the Los Angeles Clippers away? SELECT SUM(pts_paint_away) as total_pts_paint FROM other_stats WHERE team_abbreviation_away = 'LAC'; 39516.0 False True True +How many lead changes occurred in games where the Los Angeles Lakers played away? SELECT SUM(lead_changes) as total_lead_changes FROM other_stats WHERE team_abbreviation_away = 'LAL'; 6184.0 False True True +What is the highest second chance points by the Miami Heat away? SELECT MAX(pts_2nd_chance_away) as max_2nd_chance FROM other_stats WHERE team_abbreviation_away = 'MIA'; 31.0 True True False +How many fast break points did the Milwaukee Bucks score at home? SELECT SUM(pts_fb_home) as total_fb_points FROM other_stats WHERE team_abbreviation_home = 'MIL'; 13134.0 False True True +How many free throws did the Houston Rockets attempt in away games they won during the 2020 season? SELECT SUM(fta_away) FROM game WHERE team_name_away = 'Houston Rockets' AND wl_away = 'W' AND season_id = '22020'; 149.0 False True True +What is the lowest points scored by the Phoenix Suns away? SELECT MIN(pts_away) as min_points FROM game WHERE team_name_away = 'Phoenix Suns'; 68.0 True True True +What is the average points scored by the Atlanta Hawks at home when they lost in 1996? SELECT AVG(pts_home) as avg_points FROM game WHERE team_name_home = 'Atlanta Hawks' AND wl_home = 'L' AND season_id = '21996'; 89.2 False False False +What is the total fast break points by the Chicago Bulls at home in games they won in 1996? SELECT SUM(os.pts_fb_home) as total_fb_points FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Chicago Bulls' AND g.wl_home = 'W' AND g.season_id = '21996'; 487.0 False True True +What is the highest points scored by the Dallas Mavericks away when they had more than 15 points in the paint? SELECT MAX(g.pts_away) as max_points FROM game g JOIN other_stats os ON g.game_id = os.game_id WHERE g.team_name_away = 'Dallas Mavericks' AND os.pts_paint_away > 15; 141.0 False True True +How many games did the Denver Nuggets win at home with a plus-minus greater than 15 in 1996? SELECT COUNT(*) as wins FROM game WHERE team_name_home = 'Denver Nuggets' AND wl_home = 'W' AND plus_minus_home > 15 AND season_id = '21996'; 2.0 False True False +What is the total second chance points by the Detroit Pistons away in games they lost? SELECT SUM(os.pts_2nd_chance_away) as total_2nd_chance FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_away = 'Detroit Pistons' AND g.wl_away = 'L'; 7547.0 False True True +What is the average points in the paint by the Houston Rockets at home in games they won? SELECT AVG(os.pts_paint_home) as avg_pts_paint FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Houston Rockets' AND g.wl_home = 'W'; 42.436 False True True +How many games did the Los Angeles Lakers win away with more than 20 points in the paint in 1996? SELECT COUNT(*) as wins FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_away = 'Los Angeles Lakers' AND g.wl_away = 'W' AND os.pts_paint_away > 20 AND g.season_id = '21996'; 21.0 False True False +What is the highest points scored by the Miami Heat at home when they had more than 10 second chance points? SELECT MAX(g.pts_home) as max_points FROM game g JOIN other_stats os ON g.game_id = os.game_id WHERE g.team_name_home = 'Miami Heat' AND os.pts_2nd_chance_home > 10; 149.0 True True False +What is the total fast break points by the New York Knicks at home in games they lost? SELECT SUM(os.pts_fb_home) as total_fb_points FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'New York Knicks' AND g.wl_home = 'L'; 4270.0 True True True +What is the total second chance points by the Portland Trail Blazers away in games they won? SELECT SUM(os.pts_2nd_chance_away) as total_2nd_chance FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_away = 'Portland Trail Blazers' AND g.wl_away = 'W'; 5309.0 False True True +How many games did the Toronto Raptors play away with more than 20 points in the paint in 1996? SELECT COUNT(*) as games FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_away = 'Toronto Raptors' AND os.pts_paint_away > 20 AND g.season_id = '21996'; 35.0 False True False +What is the total points in the paint by the Utah Jazz at home when they won? SELECT SUM(os.pts_paint_home) as total_pts_paint FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Utah Jazz' AND g.wl_home = 'W'; 27796.0 True False False +What is the total fast break points by the Atlanta Hawks away in games they lost? SELECT SUM(os.pts_fb_away) as total_fb_points FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_away = 'Atlanta Hawks' AND g.wl_away = 'L'; 8378.0 True True True +What is the highest points scored by the Chicago Bulls away when they had more than 5 lead changes? SELECT MAX(g.pts_away) as max_points FROM game g JOIN other_stats os ON g.game_id = os.game_id WHERE g.team_name_away = 'Chicago Bulls' AND os.lead_changes > 5; 168.0 False True True +How many games did the Cleveland Cavaliers lose away with more than 10 fast break points in 1996? SELECT COUNT(*) as losses FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_away = 'Cleveland Cavaliers' AND g.wl_away = 'L' AND os.pts_fb_away > 10 AND g.season_id = '21996'; 4.0 False True False +What is the total second chance points by the Dallas Mavericks at home in games they lost? SELECT SUM(os.pts_2nd_chance_home) as total_2nd_chance FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Dallas Mavericks' AND g.wl_home = 'L'; 4478.0 True False False +What is the average points in the paint by the Detroit Pistons at home when they won? SELECT AVG(os.pts_paint_home) as avg_pts_paint FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Detroit Pistons' AND g.wl_home = 'W'; 37.94 False True True +How many games did the Indiana Pacers win at home with more than 15 fast break points in 1996? SELECT COUNT(*) as wins FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Indiana Pacers' AND g.wl_home = 'W' AND os.pts_fb_home > 15 AND g.season_id = '21996'; 7.0 False True False +How many games did the Los Angeles Lakers lose at home with more than 10 second chance points in 1996? SELECT COUNT(*) as losses FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Los Angeles Lakers' AND g.wl_home = 'L' AND os.pts_2nd_chance_home > 10 AND g.season_id = '21996'; 4.0 False True False +How many games did the Sacramento Kings win at home with more than 20 points in the paint in 1996? SELECT COUNT(*) as wins FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Sacramento Kings' AND g.wl_home = 'W' AND os.pts_paint_home > 20 AND g.season_id = '21996'; 16.0 False True False +What is the total second chance points by the San Antonio Spurs away in games they lost? SELECT SUM(os.pts_2nd_chance_away) as total_2nd_chance FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_away = 'San Antonio Spurs' AND g.wl_away = 'L'; 5810.0 False True True +What is the average points in the paint by the Utah Jazz away when they won? SELECT AVG(os.pts_paint_away) as avg_pts_paint FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_away = 'Utah Jazz' AND g.wl_away = 'W'; 42.48 False True True +How many games did the Toronto Raptors lose at home with more than 15 fast break points in 1996? SELECT COUNT(*) as losses FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Toronto Raptors' AND g.wl_home = 'L' AND os.pts_fb_home > 15 AND g.season_id = '21996'; 13.0 False True False +How many games did the Phoenix Suns lose away with more than 5 times tied in 1996? SELECT COUNT(*) as losses FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_away = 'Phoenix Suns' AND g.wl_away = 'L' AND os.times_tied > 5 AND g.season_id = '21996'; 10.0 False True False +What is the total fast break points by the Philadelphia 76ers at home in games they won? SELECT SUM(os.pts_fb_home) as total_fb_points FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Philadelphia 76ers' AND g.wl_home = 'W'; 8025.0 True False False +How many games did the Milwaukee Bucks lose at home with more than 5 lead changes in 1996? SELECT COUNT(*) as losses FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Milwaukee Bucks' AND g.wl_home = 'L' AND os.lead_changes > 5 AND g.season_id = '21996'; 8.0 False True False +What is the total points in the paint by the Miami Heat away when they won? SELECT SUM(os.pts_paint_away) as total_pts_paint FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_away = 'Miami Heat' AND g.wl_away = 'W'; True True True +What is the highest points scored by the Los Angeles Clippers away when they had more than 5 blocks? SELECT MAX(pts_away) as max_points FROM game WHERE team_name_away = 'Los Angeles Clippers' AND blk_away > 5; 131.0 True True True +What is the average points scored by the New York Knicks away when they had more than 10 assists? SELECT AVG(pts_away) as avg_points FROM game WHERE team_name_away = 'New York Knicks' AND ast_away > 10; 98.9 False True True +How many games did the Boston Celtics win away with more than 10 field goals made in 1996? SELECT COUNT(*) as wins FROM game WHERE team_name_away = 'Boston Celtics' AND wl_away = 'W' AND fgm_away > 10 AND season_id = '21996'; 4.0 False True False +How many games did the Cleveland Cavaliers play at home with more than 8 times tied in 1996? SELECT COUNT(*) as games FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Cleveland Cavaliers' AND os.times_tied > 8 AND g.season_id = '21996'; 5.0 False True False +How many games did the Golden State Warriors lose at home with more than 5 lead changes in 1996? SELECT COUNT(*) as losses FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Golden State Warriors' AND g.wl_home = 'L' AND os.lead_changes > 5 AND g.season_id = '21996'; 8.0 False True False +How many games did the Indiana Pacers lose at home with more than 10 fast break points in 1996? SELECT COUNT(*) as losses FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Indiana Pacers' AND g.wl_home = 'L' AND os.pts_fb_home > 10 AND g.season_id = '21996'; 12.0 False True False +What is the total points scored by the Los Angeles Clippers at home when they had more than 5 times tied? SELECT SUM(g.pts_home) as total_points FROM game g JOIN other_stats os ON g.game_id = os.game_id WHERE g.team_name_home = 'Los Angeles Clippers' AND os.times_tied > 5; 26047.0 False True True +How many games did the Orlando Magic play at home with more than 15 points in the paint in 1996? SELECT COUNT(*) as games FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Orlando Magic' AND os.pts_paint_home > 15 AND g.season_id = '21996'; 34.0 False True False +What is the average points scored by the Philadelphia 76ers away when they had more than 5 steals? SELECT AVG(pts_away) as avg_points FROM game WHERE team_name_away = 'Philadelphia 76ers' AND stl_away > 5; 100.42 False True True +How many games did the Phoenix Suns win at home with more than 10 lead changes in 1996? SELECT COUNT(*) as wins FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Phoenix Suns' AND g.wl_home = 'W' AND os.lead_changes > 10 AND g.season_id = '21996'; 3.0 False True False +How many games did the Sacramento Kings lose away with more than 15 fast break points in 1996? SELECT COUNT(*) as losses FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_away = 'Sacramento Kings' AND g.wl_away = 'L' AND os.pts_fb_away > 15 AND g.season_id = '21996'; 10.0 False True False +How many blocks did the San Antonio Spurs have at home in 1996? SELECT SUM(blk_home) as total_blocks FROM game WHERE team_name_home = 'San Antonio Spurs' AND season_id = '21996'; 262.0 False True False +What is the total rebounds by the Sacramento Kings at home? SELECT SUM(reb_home) as total_rebounds FROM game WHERE team_name_home = 'Sacramento Kings'; 67364.0 True True False +How many field goals made did the Portland Trail Blazers have away in 1996? SELECT SUM(fgm_away) as total_fgm FROM game WHERE team_name_away = 'Portland Trail Blazers' AND season_id = '21996'; 1494.0 False True True +How many games did the Indiana Pacers win away in 1996? SELECT COUNT(*) as away_wins FROM game WHERE team_name_away = 'Indiana Pacers' AND wl_away = 'W' AND season_id = '21996'; 18.0 False True False +What is the highest free throws attempted by the Houston Rockets away? SELECT MAX(fta_away) as max_fta FROM game WHERE team_name_away = 'Houston Rockets'; 57.0 True True False +How many assists did the Golden State Warriors have at home in 1996? SELECT SUM(ast_home) as total_assists FROM game WHERE team_name_home = 'Golden State Warriors' AND season_id = '21996'; 1020.0 False True False +How many steals did the Cleveland Cavaliers have away in 1996? SELECT SUM(stl_away) as total_steals FROM game WHERE team_name_away = 'Cleveland Cavaliers' AND season_id = '21996'; 306.0 False True True +What is the total turnovers by the Chicago Bulls at home? SELECT SUM(tov_home) as total_turnovers FROM game WHERE team_name_home = 'Chicago Bulls'; 24540.0 True False True +How many field goals attempted did the Boston Celtics have away in 1996? SELECT SUM(fga_away) as total_fga FROM game WHERE team_name_away = 'Boston Celtics' AND season_id = '21996'; 3448.0 False True True +What is the total points off turnovers by the Charlotte Hornets away? SELECT SUM(pts_off_to_away) as total_pts_off_to FROM other_stats WHERE team_abbreviation_away = 'CHA'; 10441.0 False True True +How many team turnovers did the Washington Wizards have at home? SELECT SUM(team_turnovers_home) as total_team_turnovers FROM other_stats WHERE team_abbreviation_home = 'WAS'; 526.0 True True True +What is the highest field goals made by the Portland Trail Blazers at home? SELECT MAX(fgm_home) as max_fgm FROM game WHERE team_name_home = 'Portland Trail Blazers'; 65.0 False True True +How many assists did the Phoenix Suns have away in 1996? SELECT SUM(ast_away) as total_assists FROM game WHERE team_name_away = 'Phoenix Suns' AND season_id = '21996'; 971.0 False True False +How many blocks did the Milwaukee Bucks have away in 1996? SELECT SUM(blk_away) as total_blocks FROM game WHERE team_name_away = 'Milwaukee Bucks' AND season_id = '21996'; 166.0 False True False +How many steals did the Los Angeles Lakers have away in 1996? SELECT SUM(stl_away) as total_steals FROM game WHERE team_name_away = 'Los Angeles Lakers' AND season_id = '21996'; 366.0 False True True +What is the total number of three-point field goals made by the Golden State Warriors at home? SELECT SUM(fg3m_home) as total_fg3m FROM game WHERE team_name_home = 'Golden State Warriors'; 12093.0 True True False +What is the highest number of personal fouls committed by the Denver Nuggets away? SELECT MAX(pf_away) as max_pf FROM game WHERE team_name_away = 'Denver Nuggets'; 44.0 False True True +How many games did the Sacramento Kings win away in the 1996 season? SELECT COUNT(*) as away_wins FROM game WHERE team_name_away = 'Sacramento Kings' AND wl_away = 'W' AND season_id = '21996'; 12.0 False True False +What is the total number of minutes played by the Chicago Bulls at home? SELECT SUM(min) as total_minutes FROM game WHERE team_name_home = 'Chicago Bulls'; 559395.0 False True False +How many games did the Los Angeles Lakers play away in 1996? SELECT COUNT(*) as away_games FROM game WHERE team_name_away = 'Los Angeles Lakers' AND season_id = '21996'; 41.0 False True False +What is the lowest number of points scored by the Boston Celtics at home? SELECT MIN(pts_home) as min_points FROM game WHERE team_name_home = 'Boston Celtics'; 36.0 False True False +How many points in the paint did the Cleveland Cavaliers score at home in 1996? SELECT SUM(os.pts_paint_home) as total_pts_paint FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Cleveland Cavaliers' AND g.season_id = '21996'; 1136.0 False True True +What is the largest lead the Phoenix Suns had away? SELECT MAX(largest_lead_away) as max_lead FROM other_stats WHERE team_abbreviation_away = 'PHX'; 47.0 True False False +How many times were games tied when the Indiana Pacers played away? SELECT SUM(times_tied) as total_times_tied FROM other_stats WHERE team_abbreviation_away = 'IND'; 4910.0 False True True +How many games did the San Antonio Spurs lose at home with more than 30 points in the paint in 1996? SELECT COUNT(*) as losses FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'San Antonio Spurs' AND g.wl_home = 'L' AND os.pts_paint_home > 30 AND g.season_id = '21996'; 22.0 False True False +What is the total number of points scored by the Milwaukee Bucks away when they had more than 5 lead changes? SELECT SUM(g.pts_away) as total_points FROM game g JOIN other_stats os ON g.game_id = os.game_id WHERE g.team_name_away = 'Milwaukee Bucks' AND os.lead_changes > 5; 44835.0 False True True +How many games did the Toronto Raptors win at home with more than 15 fast break points in the 1996 season? SELECT COUNT(*) as wins FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Toronto Raptors' AND g.wl_home = 'W' AND os.pts_fb_home > 15 AND g.season_id = '21996'; 9.0 False True False +What is the highest number of points scored by the Utah Jazz away when they had more than 10 second chance points? SELECT MAX(g.pts_away) as max_points FROM game g JOIN other_stats os ON g.game_id = os.game_id WHERE g.team_name_away = 'Utah Jazz' AND os.pts_2nd_chance_away > 10; 137.0 False True True +What's the average points in the paint for the Boston Celtics in home games where they won by at least 10 points? SELECT AVG(os.pts_paint_home) FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Boston Celtics' AND g.plus_minus_home >= 10; 41.85 False True True +How many overtime home games did the Los Angeles Lakers play? (Overtime = 5+ minute periods) SELECT COUNT(*) FROM game WHERE team_name_home = 'Los Angeles Lakers' AND min > 288; -- 48 regulation minutes * 60 seconds / 10 (min column format) 22.0 False True False +What's the total second-chance points the Toronto Raptors scored in away losses during the 2019 season? SELECT SUM(os.pts_2nd_chance_away) FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_away = 'Toronto Raptors' AND g.wl_away = 'L' AND g.season_id = '22019'; 94.0 False True True +What's the highest number of team turnovers the Detroit Pistons had in any home game during the 2018 season? SELECT MAX(os.team_turnovers_home) FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_name_home = 'Detroit Pistons' AND g.season_id = '22018'; 3.0 True True False +How many games did the Milwaukee Bucks play at home during the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Milwaukee Bucks' AND season_id = '22020'; 36 False True False +What is the highest field goal percentage recorded by the Dallas Mavericks in a home game? SELECT MAX(fg_pct_home) FROM game WHERE team_name_home = 'Dallas Mavericks'; 0.652 False True True +What is the total number of turnovers committed by the Orlando Magic at home in the 2021 season? SELECT SUM(tov_home) FROM game WHERE team_name_home = 'Orlando Magic' AND season_id = '22021'; 589.0 False True True +How many home games did the Boston Celtics win in the 2022 season? SELECT COUNT(*) AS home_wins FROM game WHERE team_name_home = 'Boston Celtics' AND wl_home = 'W' AND season_id = '22022'; 32 False True False +What is the highest combined score in a game between the Golden State Warriors and Houston Rockets? SELECT MAX(pts_home + pts_away) AS highest_combined_score FROM game WHERE (team_name_home = 'Golden State Warriors' AND team_name_away = 'Houston Rockets') OR (team_name_home = 'Houston Rockets' AND team_name_away = 'Golden State Warriors'); 278.0 False True True +What is the most three-pointers the Dallas Mavericks have made in a single game? SELECT MAX(fg3m_home) AS max_three_pointers FROM game WHERE team_name_home = 'Dallas Mavericks'; 25.0 False True True +What is the largest lead the Miami Heat have had in any game? SELECT MAX(largest_lead_home) AS largest_lead FROM other_stats WHERE team_abbreviation_home = 'MIA'; 46 True False False +What is the most total rebounds the Minnesota Timberwolves have recorded in a game? SELECT MAX(reb_home) AS max_rebounds FROM game WHERE team_name_home = 'Minnesota Timberwolves'; 67.0 False True True +How many times have the Philadelphia 76ers scored more than 120 points in a game? SELECT COUNT(*) AS high_scoring_games FROM game WHERE team_name_home = 'Philadelphia 76ers' AND pts_home > 120; 414 False True True +What is the most fast break points the Chicago Bulls have scored in a single game? SELECT MAX(pts_fb_home) AS max_fast_break_points FROM other_stats WHERE team_abbreviation_home = 'CHI'; 37 False True True +Which team had the highest field goal percentage at home in the 2005 season? SELECT team_name_home, MAX(fg_pct_home) FROM game WHERE season_id = '22005' GROUP BY team_name_home ORDER BY MAX(fg_pct_home) DESC LIMIT 1; Denver Nuggets|0.64 False True False +What is the average number of three-pointers made by the Golden State Warriors at home in the 2018 season? SELECT AVG(fg3m_home) FROM game WHERE team_abbreviation_home = 'GSW' AND season_id = '22018'; 13.1951219512195 False True True +Which team had the most total rebounds at home in a single game in the 1999 season? SELECT team_name_home, MAX(reb_home) FROM game WHERE season_id = '21999' GROUP BY team_name_home ORDER BY MAX(reb_home) DESC LIMIT 1; Miami Heat|66.0 False True False +How many times did the Miami Heat score more than 120 points at home in the 2015 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'MIA' AND season_id = '22015' AND pts_home > 120; 3 False True True +What is the highest number of assists recorded by the New York Knicks at home in a single game? SELECT MAX(ast_home) FROM game WHERE team_abbreviation_home = 'NYK'; 43.0 False True False +How many games did the Chicago Bulls play at home in the 1996 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'CHI' AND season_id = '21996'; 41 False True False +What is the total number of lead changes in all games played by the Chicago Bulls in the 2010 season? SELECT SUM(os.lead_changes) AS total_lead_changes FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.season_id = '22010' AND (g.team_abbreviation_home = 'CHI' OR g.team_abbreviation_away = 'CHI'); 470 False True False +How many fast-break points did the Miami Heat score in away games during the 2015 season? SELECT SUM(os.pts_fb_away) AS total_fast_break_points FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.season_id = '22015' AND g.team_abbreviation_away = 'MIA'; 472 False True True +Which team had the largest lead in a single game in the 2001 season? SELECT g.team_name_home AS team, os.largest_lead_home AS lead FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.season_id = '22001' ORDER BY os.largest_lead_home DESC LIMIT 1; Portland Trail Blazers|47 False True False +How many times were games tied during the 1998 season in which the Boston Celtics played? SELECT SUM(os.times_tied) AS total_times_tied FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.season_id = '21998' AND (g.team_abbreviation_home = 'BOS' OR g.team_abbreviation_away = 'BOS'); 172 False True False +In the 2019 season, how many total points off turnovers did the Brooklyn Nets score in home games? SELECT SUM(os.pts_off_to_home) AS total_points_off_turnovers FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.season_id = '22019' AND g.team_abbreviation_home = 'BKN'; 518 False True True +How many total turnovers did the San Antonio Spurs commit in away games during the 2014 season? SELECT SUM(os.total_turnovers_away) AS total_turnovers FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.season_id = '22014' AND g.team_abbreviation_away = 'SAS'; 462 False True True +How many total times were games tied in the 2006 season? SELECT SUM(os.times_tied) AS total_times_tied FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.season_id = '22006'; 5352 False True False +What was the average number of second-chance points per game in the 2015 season? SELECT AVG(os.pts_2nd_chance_home + os.pts_2nd_chance_away) AS avg_second_chance_points FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.season_id = '22015'; 25.4900849858357 False True True +What is the total number of points in the paint scored by both teams combined in the 2008 season? SELECT SUM(os.pts_paint_home + os.pts_paint_away) AS total_paint_points FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.season_id = '22008'; 81148 False True True +How many times did the Boston Celtics win at home during the 2015 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'BOS' AND season_id = '22015' AND wl_home = 'W'; 28 False True False +What was the largest lead the Golden State Warriors had in any game in the 2018 season? SELECT MAX(other_stats.largest_lead_home) FROM other_stats JOIN game ON other_stats.game_id = game.game_id WHERE game.team_abbreviation_home = 'GSW' AND game.season_id = '22018'; 44 False True True +Which season had the highest total points scored by the Chicago Bulls at home? SELECT season_id, SUM(pts_home) AS total_points FROM game WHERE team_abbreviation_home = 'CHI' GROUP BY season_id ORDER BY total_points DESC LIMIT 1; 21990|4696.0 False True False +How many times did the New York Knicks and Brooklyn Nets play each other in the 2012 season? SELECT COUNT(*) FROM game WHERE (team_abbreviation_home = 'NYK' AND team_abbreviation_away = 'BKN') OR (team_abbreviation_home = 'BKN' AND team_abbreviation_away = 'NYK') AND season_id = '22012'; 21 False True False +What is the highest number of times the Orlando Magic have tied a game in the 2008 season? SELECT MAX(other_stats.times_tied) FROM other_stats JOIN game ON other_stats.game_id = game.game_id WHERE game.team_abbreviation_home = 'ORL' AND game.season_id = '22008'; 15 False True False +Which team had the most rebounds in a single game during the 2020 season? SELECT team_name_home AS team, MAX(reb_home) AS rebounds FROM game WHERE season_id = '22020' UNION SELECT team_name_away AS team, MAX(reb_away) AS rebounds FROM game WHERE season_id = '22020' ORDER BY rebounds DESC LIMIT 1; New Orleans Pelicans|70.0 False True False +Which team forced the most turnovers in a single game during the 2016 season? SELECT game.team_name_home AS team, MAX(other_stats.total_turnovers_away) AS forced_turnovers FROM other_stats JOIN game ON other_stats.game_id = game.game_id WHERE game.season_id = '22016' UNION SELECT game.team_name_away AS team, MAX(other_stats.total_turnovers_home) AS forced_turnovers FROM other_stats JOIN game ON other_stats.game_id = game.game_id WHERE game.season_id = '22016' ORDER BY forced_turnovers DESC LIMIT 1; Houston Rockets|28 False True True +How many games did the Chicago Bulls win at home in the 2010 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'CHI' AND wl_home = 'W' AND season_id = '22010'; 36 False True False +How many points did the Golden State Warriors score in their first home game of the 2015 season? SELECT pts_home FROM game WHERE team_abbreviation_home = 'GSW' AND season_id = '22015' ORDER BY game_date ASC LIMIT 1; 111.0 False True False +What is the average number of fast break points the New York Knicks scored per game in the 2018 season? SELECT AVG(pts_fb_home) FROM other_stats WHERE team_abbreviation_home = 'NYK' AND game_id IN (SELECT game_id FROM game WHERE season_id = '22018'); 11.8648648648649 False True True +Which team had the most total rebounds in a single home game during the 1997 season? SELECT team_name_home, reb_home FROM game WHERE season_id = '21997' ORDER BY reb_home DESC LIMIT 1; Golden State Warriors|68.0 False True False +Find the game where the Brooklyn Nets had the largest lead at home in the 2013 season. SELECT game_id, largest_lead_home FROM other_stats WHERE team_abbreviation_home = 'BKN' AND game_id IN (SELECT game_id FROM game WHERE season_id = '22013') ORDER BY largest_lead_home DESC LIMIT 1; 0021300866|38 False True False +How many lead changes were there in games where the Oklahoma City Thunder played at home in the 2009 season? SELECT SUM(lead_changes) FROM other_stats WHERE team_abbreviation_home = 'OKC' AND game_id IN (SELECT game_id FROM game WHERE season_id = '22009'); 191 False True True +How many games did the Los Angeles Lakers play at home in the 2017 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'LAL' AND season_id = '22017'; 41 False True False +What is the highest number of rebounds recorded by a home team in a game during the 2005 season? SELECT MAX(reb_home) FROM game WHERE season_id = '22005'; 65.0 False True False +Find the number of times the Houston Rockets played a game on January 10, 2015. SELECT COUNT(*) FROM game WHERE (team_abbreviation_home = 'HOU' OR team_abbreviation_away = 'HOU') AND DATE(game_date) = '2015-01-10'; 1 False True False +Find the average number of assists the Chicago Bulls had per game at home in the 2016 season. SELECT AVG(ast_home) FROM game WHERE team_abbreviation_home = 'CHI' AND season_id = '22016'; 23.7317073170732 False True True +How many total games did the Boston Celtics play in the 2015 season? SELECT COUNT(*) FROM game WHERE (team_abbreviation_home = 'BOS' OR team_abbreviation_away = 'BOS') AND season_id = '22015'; 82 False True False +Which teams played on Christmas Day in 2021? SELECT team_abbreviation_home, team_abbreviation_away FROM game WHERE DATE(game_date) = '2021-12-25'; PHX|GSW MIL|BOS UTA|DAL NYK|ATL LAL|BKN True False False +What is the highest number of points scored by an away team in a single game during the 2003 season? SELECT MAX(pts_away) FROM game WHERE season_id = '22003'; 136 False True False +Find the total number of rebounds in all games in the 2018 season. SELECT SUM(reb_home + reb_away) FROM game WHERE season_id = '22018'; 111107.0 False True True +How many times did the Golden State Warriors win at home in the 2017 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'GSW' AND season_id = '22017' AND pts_home > pts_away; 29 False True False +Find the average points per game for the San Antonio Spurs in the 2006 season. SELECT AVG(points) FROM ( SELECT pts_home AS points FROM game WHERE team_abbreviation_home = 'SAS' AND season_id = '22006' UNION ALL SELECT pts_away AS points FROM game WHERE team_abbreviation_away = 'SAS' AND season_id = '22006' ) AS team_points; 98.5243902439024 False True True +Which game had the largest margin of victory in the 1998 season? SELECT game_id, team_abbreviation_home, team_abbreviation_away, ABS(pts_home - pts_away) AS margin FROM game WHERE season_id = '21998' ORDER BY margin DESC LIMIT 1; 0029800450|CHI|ORL|47.0 False True False +How many games ended with a total combined score of exactly 200 points in the 2014 season? SELECT COUNT(*) FROM game WHERE season_id = '22014' AND (pts_home + pts_away) = 200; 33 False True False +Find all games where the Chicago Bulls and New York Knicks played each other in the 2000 season. SELECT * FROM game WHERE season_id = '22000' AND ((team_abbreviation_home = 'CHI' AND team_abbreviation_away = 'NYK') OR (team_abbreviation_home = 'NYK' AND team_abbreviation_away = 'CHI')); 22000|1610612741|CHI|Chicago Bulls|0020000229|2000-12-01 00:00:00|CHI vs. NYK|L|240|26.0|70.0|0.371|4.0|13.0|0.308|30.0|39.0|0.769|13.0|25.0|38.0|19.0|4.0|7.0|12.0|27.0|86.0|-5|0|1610612752|NYK|New York Knicks|NYK @ CHI|W|29.0|69.0|0.42|3.0|11.0|0.273|30.0|36.0|0.833|10.0|30.0|40.0|13.0|4.0|3.0|11.0|25.0|91.0|5|0|Regular Season 22000|1610612752|NYK|New York Knicks|0020000422|2000-12-29 00:00:00|NYK vs. CHI|W|240|34.0|70.0|0.486|5.0|11.0|0.455|22.0|29.0|0.759|8.0|35.0|43.0|18.0|8.0|2.0|12.0|20.0|95.0|27|0|1610612741|CHI|Chicago Bulls|CHI @ NYK|L|25.0|71.0|0.352|6.0|16.0|0.375|12.0|16.0|0.75|8.0|26.0|34.0|16.0|9.0|1.0|16.0|21.0|68.0|-27|0|Regular Season 22000|1610612741|CHI|Chicago Bulls|0020000844|2001-03-02 00:00:00|CHI vs. NYK|W|240|31.0|73.0|0.425|4.0|13.0|0.308|15.0|22.0|0.682|7.0|36.0|43.0|27.0|7.0|3.0|13.0|16.0|81.0|9|0|1610612752|NYK|New York Knicks|NYK @ CHI|L|27.0|74.0|0.365|5.0|20.0|0.25|13.0|18.0|0.722|6.0|36.0|42.0|23.0|7.0|3.0|13.0|21.0|72.0|-9|0|Regular Season 22000|1610612752|NYK|New York Knicks|0020000951|2001-03-17 00:00:00|NYK vs. CHI|W|240|41.0|66.0|0.621|3.0|6.0|0.5|16.0|22.0|0.727|7.0|32.0|39.0|24.0|5.0|4.0|20.0|19.0|101.0|21|0|1610612741|CHI|Chicago Bulls|CHI @ NYK|L|31.0|88.0|0.352|4.0|16.0|0.25|14.0|21.0|0.667|18.0|20.0|38.0|17.0|14.0|2.0|11.0|19.0|80.0|-21|0|Regular Season True False False +What was the total number of three-pointers made by both teams in all games during the 2019 season? SELECT SUM(fg3m_home + fg3m_away) FROM game WHERE season_id = '22019'; 25862.0 False True True +Find the game with the highest total combined score in the 2005 season. SELECT game_id, team_abbreviation_home, team_abbreviation_away, (pts_home + pts_away) AS total_score FROM game WHERE season_id = '22005' ORDER BY total_score DESC LIMIT 1; 0020500589|PHX|SEA|301.0 False True False +How many games in the 2008 season had a final score difference of exactly 1 point? SELECT COUNT(*) FROM game WHERE season_id = '22008' AND ABS(pts_home - pts_away) = 1; 43 False True False +Find the average number of assists per game for the Miami Heat in the 2016 season. SELECT AVG(assists) FROM ( SELECT ast_home AS assists FROM game WHERE team_abbreviation_home = 'MIA' AND season_id = '22016' UNION ALL SELECT ast_away AS assists FROM game WHERE team_abbreviation_away = 'MIA' AND season_id = '22016' ) AS team_assists; 21.2439024390244 True True False +Which teams played on February 14, 2018? SELECT team_abbreviation_home, team_abbreviation_away FROM game WHERE DATE(game_date) = '2018-02-14'; POR|GSW BOS|LAC UTA|PHX DET|ATL HOU|SAC MEM|OKC CHI|TOR NOP|LAL NYK|WAS PHI|MIA ORL|CHA BKN|IND False True False +List all games where the Houston Rockets and Dallas Mavericks played each other in the 2015 season. SELECT * FROM game WHERE season_id = '22015' AND ((team_abbreviation_home = 'HOU' AND team_abbreviation_away = 'DAL') OR (team_abbreviation_home = 'DAL' AND team_abbreviation_away = 'HOU')); 22015|1610612745|HOU|Houston Rockets|0021500140|2015-11-14 00:00:00|HOU vs. DAL|L|240|32.0|84.0|0.381|9.0|34.0|0.265|25.0|32.0|0.781|12.0|31.0|43.0|22.0|9.0|5.0|14.0|23.0|98.0|-12|1|1610612742|DAL|Dallas Mavericks|DAL @ HOU|W|43.0|89.0|0.483|8.0|28.0|0.286|16.0|21.0|0.762|8.0|37.0|45.0|24.0|6.0|7.0|11.0|21.0|110.0|12|1|Regular Season 22015|1610612742|DAL|Dallas Mavericks|0021500287|2015-12-04 00:00:00|DAL vs. HOU|L|240|37.0|81.0|0.457|8.0|29.0|0.276|14.0|20.0|0.7|11.0|31.0|42.0|23.0|8.0|5.0|18.0|17.0|96.0|-4|1|1610612745|HOU|Houston Rockets|HOU @ DAL|W|39.0|84.0|0.464|12.0|26.0|0.462|10.0|18.0|0.556|15.0|30.0|45.0|20.0|12.0|5.0|18.0|22.0|100.0|4|1|Regular Season 22015|1610612745|HOU|Houston Rockets|0021500665|2016-01-24 00:00:00|HOU vs. DAL|W|240|43.0|89.0|0.483|15.0|44.0|0.341|14.0|21.0|0.667|9.0|31.0|40.0|27.0|9.0|7.0|9.0|21.0|115.0|11|1|1610612742|DAL|Dallas Mavericks|DAL @ HOU|L|36.0|79.0|0.456|15.0|30.0|0.5|17.0|22.0|0.773|8.0|28.0|36.0|17.0|4.0|4.0|16.0|20.0|104.0|-11|1|Regular Season 22015|1610612742|DAL|Dallas Mavericks|0021501170|2016-04-06 00:00:00|DAL vs. HOU|W|240|33.0|80.0|0.413|10.0|33.0|0.303|12.0|14.0|0.857|13.0|27.0|40.0|19.0|9.0|4.0|14.0|20.0|88.0|2|1|1610612745|HOU|Houston Rockets|HOU @ DAL|L|34.0|78.0|0.436|6.0|20.0|0.3|12.0|18.0|0.667|12.0|29.0|41.0|19.0|6.0|4.0|16.0|17.0|86.0|-2|1|Regular Season False True False +How many total points were scored in all games during the 2003 season? SELECT SUM(pts_home + pts_away) FROM game WHERE season_id = '22003'; 222097.0 False True False +Find the team that had the most assists in a single game during the 2017 season. SELECT team, assists FROM ( SELECT team_abbreviation_home AS team, ast_home AS assists FROM game WHERE season_id = '22017' UNION ALL SELECT team_abbreviation_away AS team, ast_away AS assists FROM game WHERE season_id = '22017' ) AS assist_data ORDER BY assists DESC LIMIT 1; GSW|46.0 True True False +List all games played on Christmas Day in the 2010 season. SELECT game_id, team_abbreviation_home, team_abbreviation_away FROM game WHERE DATE(game_date) = '2010-12-25'; 0021000435|LAL|MIA 0021000433|NYK|CHI 0021000437|GSW|POR 0021000434|ORL|BOS 0021000436|OKC|DEN False True False +Which game had the largest margin of victory in the 2001 season? SELECT game_id, team_abbreviation_home, team_abbreviation_away, ABS(pts_home - pts_away) AS margin FROM game WHERE season_id = '22001' ORDER BY margin DESC LIMIT 1; 0020100073|MIN|CHI|53.0 False True False +Find the average number of three-pointers made per game by the Golden State Warriors in the 2015 season. SELECT AVG(fg3m) FROM ( SELECT fg3m_home AS fg3m FROM game WHERE team_abbreviation_home = 'GSW' AND season_id = '22015' UNION ALL SELECT fg3m_away AS fg3m FROM game WHERE team_abbreviation_away = 'GSW' AND season_id = '22015' ) AS three_pointers; 13.1341463414634 False True True +How many games in the 2018 season had a total combined score of 250 points or more? SELECT COUNT(*) FROM game WHERE season_id = '22018' AND (pts_home + pts_away) >= 250; 114 False True False +Which team had the most rebounds in a single game at home during the 2010 season? SELECT team_name_home, MAX(reb_home) AS max_rebounds FROM game WHERE season_id = '22010' GROUP BY team_name_home ORDER BY max_rebounds DESC LIMIT 1; Minnesota Timberwolves|66.0 False True False +How many games did the Golden State Warriors win at home in the 2018 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'GSW' AND season_id = '22018' AND wl_home = 'W'; 30 False True False +What is the average number of points scored by the Brooklyn Nets on the road during the 2015 season? SELECT AVG(pts_away) FROM game WHERE team_abbreviation_away = 'BKN' AND season_id = '22015'; 98.3658536585366 False True True +Which game had the most lead changes in the 2003 season? SELECT g.game_id, g.team_name_home, g.team_name_away, os.lead_changes FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.season_id = '22003' ORDER BY os.lead_changes DESC LIMIT 1; 0020300151|Seattle SuperSonics|Miami Heat|29 False True False +What is the total number of turnovers committed by the Boston Celtics in home games during the 1998 season? SELECT SUM(tov_home) FROM game WHERE team_abbreviation_home = 'BOS' AND season_id = '21998'; 415.0 False True True +How many times did the Chicago Bulls score at least 120 points in a game during the 1992 season? SELECT COUNT(*) FROM game WHERE (team_abbreviation_home = 'CHI' AND pts_home >= 120 OR team_abbreviation_away = 'CHI' AND pts_away >= 120) AND season_id = '21992'; 12 False True False +How many three-pointers did the Golden State Warriors make in total during the 2016 season? SELECT SUM(fg3m_home + fg3m_away) AS total_three_pointers FROM game WHERE season_id = '22016' AND (team_name_home = 'Golden State Warriors' OR team_name_away = 'Golden State Warriors'); 1719.0 False True False +What is the most points the Miami Heat have scored in a single home game? SELECT pts_home FROM game WHERE team_name_home = 'Miami Heat' ORDER BY pts_home DESC LIMIT 1; 149.0 False True False +How many total rebounds did the Milwaukee Bucks have in away games during the 2013 season? SELECT SUM(reb_away) AS total_rebounds FROM game WHERE season_id = '22013' AND team_name_away = 'Milwaukee Bucks'; 1656.0 False True True +Which game had the most combined points in the 1987 season? SELECT game_id, game_date, team_name_home, team_name_away, (pts_home + pts_away) AS total_points FROM game WHERE season_id = '21987' ORDER BY total_points DESC LIMIT 1; 0028700084|1987-11-20 00:00:00|Denver Nuggets|San Antonio Spurs|298.0 False True False +What is the highest number of offensive rebounds recorded by the New York Knicks in a single game? SELECT game_id, game_date, team_name_home, oreb_home AS offensive_rebounds FROM game WHERE team_name_home = 'New York Knicks' UNION ALL SELECT game_id, game_date, team_name_away, oreb_away AS offensive_rebounds FROM game WHERE team_name_away = 'New York Knicks' ORDER BY offensive_rebounds DESC LIMIT 1; 0020500024|2005-11-04 00:00:00|New York Knicks|29.0 False True False +How many total games did the San Antonio Spurs play in the 2015 season? SELECT COUNT(*) AS total_games FROM game WHERE season_id = '22015' AND (team_name_home = 'San Antonio Spurs' OR team_name_away = 'San Antonio Spurs'); 82 False True False +How many field goals did the Houston Rockets make in total during the 1995 season? SELECT SUM(CASE WHEN team_name_home = 'Houston Rockets' THEN fgm_home ELSE 0 END) + SUM(CASE WHEN team_name_away = 'Houston Rockets' THEN fgm_away ELSE 0 END) AS total_field_goals FROM game WHERE season_id = '21995'; 3078.0 False True False +What is the highest-scoring away game for the Miami Heat? SELECT game_id, game_date, pts_away FROM game WHERE team_name_away = 'Miami Heat' ORDER BY pts_away DESC LIMIT 1; 0029000615|1991-02-06 00:00:00|134.0 True True False +How many games did the Boston Celtics win at home during the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Boston Celtics' AND wl_home = 'W' AND season_id = '22020'; 21 False True False +What is the highest number of rebounds recorded by the Chicago Bulls in a home game? SELECT MAX(reb_home) FROM game WHERE team_name_home = 'Chicago Bulls'; 71.0 True True False +What is the highest number of three-pointers made in a single game by the Houston Rockets at home? SELECT MAX(fg3m_home) FROM game WHERE team_name_home = 'Houston Rockets'; 27.0 False True True +How many turnovers did the New York Knicks commit at home during the 1998 season? SELECT SUM(tov_home) FROM game WHERE team_name_home = 'New York Knicks' AND season_id = '21998'; 384.0 False True True +What is the total number of fast break points scored by the Memphis Grizzlies at home during the 2005 season? SELECT SUM(pts_fb_home) FROM other_stats WHERE game_id IN ( SELECT game_id FROM game WHERE team_name_home = 'Memphis Grizzlies' AND season_id = '22005' ); 368 False True True +What is the highest number of points the Golden State Warriors have scored in a single game during the 2016 season? SELECT MAX(pts) AS max_points FROM ( SELECT pts_home AS pts FROM game WHERE team_abbreviation_home = 'GSW' AND season_id = '22016' UNION ALL SELECT pts_away AS pts FROM game WHERE team_abbreviation_away = 'GSW' AND season_id = '22016' ); 149.0 False True False +How many total assists did the Miami Heat have in the 1999 season? SELECT SUM(ast) AS total_assists FROM ( SELECT ast_home AS ast FROM game WHERE team_abbreviation_home = 'MIA' AND season_id = '21999' UNION ALL SELECT ast_away AS ast FROM game WHERE team_abbreviation_away = 'MIA' AND season_id = '21999' ); 1931.0 False True False +How many total points did the Chicago Bulls score across all games in the 1988 season? SELECT SUM(pts) AS total_points FROM ( SELECT pts_home AS pts FROM game WHERE team_abbreviation_home = 'CHI' AND season_id = '21988' UNION ALL SELECT pts_away AS pts FROM game WHERE team_abbreviation_away = 'CHI' AND season_id = '21988' ); 8726.0 False True False +What is the most offensive rebounds the Denver Nuggets have had in a single game in the 2011 season? SELECT MAX(oreb) AS max_offensive_rebounds FROM ( SELECT oreb_home AS oreb FROM game WHERE team_abbreviation_home = 'DEN' AND season_id = '22011' UNION ALL SELECT oreb_away AS oreb FROM game WHERE team_abbreviation_away = 'DEN' AND season_id = '22011' ); 21.0 False True True +What was the largest lead the Oklahoma City Thunder had in a single game in the 2020 season? SELECT MAX(largest_lead) AS max_lead FROM ( SELECT largest_lead_home AS largest_lead FROM other_stats WHERE team_abbreviation_home = 'OKC' AND game_id IN (SELECT game_id FROM game WHERE season_id = '22020') UNION ALL SELECT largest_lead_away AS largest_lead FROM other_stats WHERE team_abbreviation_away = 'OKC' AND game_id IN (SELECT game_id FROM game WHERE season_id = '22020') ); 30 False True True +How many total fast break points did the Indiana Pacers have during the 2015 season? SELECT SUM(pts_fb) AS total_fast_break_points FROM ( SELECT pts_fb_home AS pts_fb FROM other_stats WHERE team_abbreviation_home = 'IND' AND game_id IN (SELECT game_id FROM game WHERE season_id = '22015') UNION ALL SELECT pts_fb_away AS pts_fb FROM other_stats WHERE team_abbreviation_away = 'IND' AND game_id IN (SELECT game_id FROM game WHERE season_id = '22015') ); 904 False True True +How many total lead changes occurred in all Memphis Grizzlies games during the 2018 season? SELECT SUM(lead_changes) AS total_lead_changes FROM other_stats WHERE game_id IN ( SELECT game_id FROM game WHERE season_id = '22018' AND (team_abbreviation_home = 'MEM' OR team_abbreviation_away = 'MEM') ); 496 False True False +What is the highest number of three-pointers made by the Houston Rockets in a single game during the 2017 season? SELECT MAX(fg3m) AS max_three_pointers FROM ( SELECT fg3m_home AS fg3m FROM game WHERE team_abbreviation_home = 'HOU' AND season_id = '22017' UNION ALL SELECT fg3m_away AS fg3m FROM game WHERE team_abbreviation_away = 'HOU' AND season_id = '22017' ); 23.0 False True True +How many total rebounds did the Los Angeles Lakers grab in the 1985 season? SELECT SUM(reb) AS total_rebounds FROM ( SELECT reb_home AS reb FROM game WHERE team_abbreviation_home = 'LAL' AND season_id = '21985' UNION ALL SELECT reb_away AS reb FROM game WHERE team_abbreviation_away = 'LAL' AND season_id = '21985' ); 3655.0 False True False +What was the most blocks recorded by the Orlando Magic in a single home game in the 1999 season? SELECT MAX(blk_home) AS max_blocks FROM game WHERE team_abbreviation_home = 'ORL' AND season_id = '21999'; 10.0 False True True +What was the highest field goal percentage achieved by the Boston Celtics in a single game in the 2003 season? SELECT MAX(fg_pct) AS highest_fg_percentage FROM ( SELECT fg_pct_home AS fg_pct FROM game WHERE team_abbreviation_home = 'BOS' AND season_id = '22003' UNION ALL SELECT fg_pct_away AS fg_pct FROM game WHERE team_abbreviation_away = 'BOS' AND season_id = '22003' ); 0.577 False True False +How many total lead changes occurred in all New York Knicks games during the 2006 season? SELECT SUM(lead_changes) AS total_lead_changes FROM other_stats WHERE game_id IN ( SELECT game_id FROM game WHERE season_id = '22006' AND (team_abbreviation_home = 'NYK' OR team_abbreviation_away = 'NYK') ); 358 False True True +What was the highest number of assists recorded by the Miami Heat in a single game during the 2015 season? SELECT MAX(ast) AS max_assists FROM ( SELECT ast_home AS ast FROM game WHERE team_abbreviation_home = 'MIA' AND season_id = '22015' UNION ALL SELECT ast_away AS ast FROM game WHERE team_abbreviation_away = 'MIA' AND season_id = '22015' ); 31.0 False True False +How many total points did the Chicago Bulls score during the 1996 season? SELECT SUM(pts) AS total_points FROM ( SELECT pts_home AS pts FROM game WHERE team_abbreviation_home = 'CHI' AND season_id = '21996' UNION ALL SELECT pts_away AS pts FROM game WHERE team_abbreviation_away = 'CHI' AND season_id = '21996' ); 8458.0 False True False +How many three-pointers did the Golden State Warriors attempt in total during the 2017 season? SELECT SUM(fg3a) AS total_three_attempts FROM ( SELECT fg3a_home AS fg3a FROM game WHERE team_abbreviation_home = 'GSW' AND season_id = '22017' UNION ALL SELECT fg3a_away AS fg3a FROM game WHERE team_abbreviation_away = 'GSW' AND season_id = '22017' ); 2369.0 False True True +How many total turnovers did the Sacramento Kings commit in the 2001 season? SELECT SUM(tov) AS total_turnovers FROM ( SELECT tov_home AS tov FROM game WHERE team_abbreviation_home = 'SAC' AND season_id = '22001' UNION ALL SELECT tov_away AS tov FROM game WHERE team_abbreviation_away = 'SAC' AND season_id = '22001' ); 1128.0 False True True +What was the lowest-scoring game involving the Indiana Pacers in the 1994 season? SELECT MIN(total_points) AS lowest_scoring_game FROM ( SELECT (pts_home + pts_away) AS total_points FROM game WHERE season_id = '21994' AND (team_abbreviation_home = 'IND' OR team_abbreviation_away = 'IND') ); 155.0 False True False +What was the highest-scoring game of the 2016 season? SELECT game_id, (pts_home + pts_away) AS total_points FROM game WHERE season_id = '22016' ORDER BY total_points DESC LIMIT 1; 0021600711|281.0 False True False +How many free throws did the Boston Celtics attempt in the 2013 season? SELECT SUM(fta) AS total_free_throws_attempted FROM ( SELECT fta_home AS fta FROM game WHERE team_abbreviation_home = 'BOS' AND season_id = '22013' UNION ALL SELECT fta_away AS fta FROM game WHERE team_abbreviation_away = 'BOS' AND season_id = '22013' ); 1706.0 False True True +What was the lowest field goal percentage recorded by the New York Knicks in any game of the 2005 season? SELECT MIN(fg_pct) AS lowest_fg_percentage FROM ( SELECT fg_pct_home AS fg_pct FROM game WHERE team_abbreviation_home = 'NYK' AND season_id = '22005' UNION ALL SELECT fg_pct_away FROM game WHERE team_abbreviation_away = 'NYK' AND season_id = '22005' ); 0.329 False True True +How many total rebounds did the Houston Rockets collect in the 2010 season? SELECT SUM(reb) AS total_rebounds FROM ( SELECT reb_home AS reb FROM game WHERE team_abbreviation_home = 'HOU' AND season_id = '22010' UNION ALL SELECT reb_away AS reb FROM game WHERE team_abbreviation_away = 'HOU' AND season_id = '22010' ); 3511.0 False True False +What was the largest margin of victory in the 2003 season? SELECT MAX(ABS(pts_home - pts_away)) AS largest_margin FROM game WHERE season_id = '22003'; 47.0 False True False +How many games did the Orlando Magic win at home in the 2015 season? SELECT COUNT(*) AS home_wins FROM game WHERE season_id = '22015' AND team_abbreviation_home = 'ORL' AND pts_home > pts_away; 23 False True False +Which team had the worst average point differential in the 2007 season? SELECT team_abbreviation, AVG(point_diff) AS avg_point_differential FROM ( SELECT team_abbreviation_home AS team_abbreviation, (pts_home - pts_away) AS point_diff FROM game WHERE season_id = '22007' UNION ALL SELECT team_abbreviation_away, (pts_away - pts_home) FROM game WHERE season_id = '22007' ) GROUP BY team_abbreviation ORDER BY avg_point_differential ASC LIMIT 1; SEA|-8.75609756097561 True False False +Which game had the most lead changes in the 2020 season? SELECT game_id, lead_changes FROM other_stats WHERE game_id IN ( SELECT game_id FROM game WHERE season_id = '22020' ) ORDER BY lead_changes DESC LIMIT 1; 0022000890|26 False True False +What is the highest field goal percentage the Miami Heat have recorded at home? SELECT MAX(fg_pct_home) FROM game WHERE team_name_home = 'Miami Heat'; 0.675 False True True +How many total offensive rebounds did the Houston Rockets have in away games during the 2018 season? SELECT SUM(oreb_away) FROM game WHERE team_name_away = 'Houston Rockets' AND season_id = '22018'; 419.0 False True True +How many times did the Cleveland Cavaliers lose by more than 20 points in the 2010 season? SELECT COUNT(*) FROM game WHERE season_id = '22010' AND ( (team_name_home = 'Cleveland Cavaliers' AND wl_home = 'L' AND (pts_away - pts_home) > 20) OR (team_name_away = 'Cleveland Cavaliers' AND wl_away = 'L' AND (pts_home - pts_away) > 20) ); 9 False True True +What is the highest number of points the Golden State Warriors have ever scored in a single home game? SELECT MAX(pts_home) FROM game WHERE team_abbreviation_home = 'GSW'; 149.0 True True False +When was the last time the New York Knicks won a home game? SELECT game_date FROM game WHERE team_abbreviation_home = 'NYK' AND wl_home = 'W' ORDER BY game_date DESC LIMIT 1; 2023-05-10 00:00:00 False True False +Which away team has scored the most points against the Miami Heat in a single game? SELECT team_name_away, pts_away FROM game WHERE team_abbreviation_home = 'MIA' ORDER BY pts_away DESC LIMIT 1; Milwaukee Bucks|144.0 True True False +What was the largest lead the Chicago Bulls have ever had in a home game? SELECT MAX(largest_lead_home) FROM other_stats WHERE team_abbreviation_home = 'CHI'; 47 True True False +What is the most fast break points the Brooklyn Nets have scored at home in a game? SELECT MAX(pts_fb_home) FROM other_stats WHERE team_abbreviation_home = 'BKN'; 38 False True True +What is the highest number of points the Los Angeles Lakers have scored in a single away game? SELECT MAX(pts_away) FROM game WHERE team_abbreviation_away = 'LAL'; 153.0 True True True +What is the highest-scoring game in Chicago Bulls history (considering both home and away games)? SELECT game_id, pts_home, pts_away, game_date FROM game WHERE team_abbreviation_home = 'CHI' OR team_abbreviation_away = 'CHI' ORDER BY (pts_home + pts_away) DESC LIMIT 1; 0021800928|161.0|168.0|2019-03-01 00:00:00 False True False +What is the largest margin of victory the Miami Heat have ever had in an away game? SELECT MAX(ABS(pts_away - pts_home)) AS largest_margin FROM game WHERE team_abbreviation_away = 'MIA' AND pts_away > pts_home; 34.0 False True True +What is the most fast-break points the Houston Rockets have ever scored in an away game? SELECT MAX(pts_fb_away) FROM other_stats WHERE team_abbreviation_away = 'HOU'; 34 False True True +What is the most points in the paint the Milwaukee Bucks have ever scored in an away game? SELECT MAX(pts_paint_away) FROM other_stats WHERE team_abbreviation_away = 'MIL'; 86 True True True +What is the lowest number of points the Golden State Warriors have scored in an away game? SELECT MIN(pts_away) FROM game WHERE team_abbreviation_away = 'GSW'; 65.0 True True False +How many times have the Boston Celtics won an away game by at least 20 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'BOS' AND wl_away = 'W' AND (pts_away - pts_home) >= 20; 179 False True True +Which opponent has the Los Angeles Clippers lost to the most in away games? SELECT team_abbreviation_home, COUNT(*) AS losses FROM game WHERE team_abbreviation_away = 'LAC' AND wl_away = 'L' GROUP BY team_abbreviation_home ORDER BY losses DESC LIMIT 1; POR|65 True True False +How many times have the Toronto Raptors scored exactly 100 points in an away game? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'TOR' AND pts_away = 100; 35 False True True +What is the highest combined score in a game between the Golden State Warriors and the Cleveland Cavaliers? SELECT MAX(pts_home + pts_away) FROM game WHERE (team_name_home = 'Golden State Warriors' AND team_name_away = 'Cleveland Cavaliers') OR (team_name_home = 'Cleveland Cavaliers' AND team_name_away = 'Golden State Warriors'); 266.0 False True True +What is the largest lead the Boston Celtics have ever had in a game? SELECT MAX(largest_lead_home) FROM other_stats WHERE team_abbreviation_home = 'BOS'; 60 True False False +What is the most three-pointers the Brooklyn Nets have ever made in a home game? SELECT MAX(fg3m_home) FROM game WHERE team_name_home = 'Brooklyn Nets'; 22.0 False True True +What is the most second-chance points the Chicago Bulls have scored in a home game? SELECT MAX(pts_2nd_chance_home) FROM other_stats WHERE team_abbreviation_home = 'CHI'; 34 False True True +In which season did the San Antonio Spurs win the most games? SELECT season_id, COUNT(*) AS win_count FROM game WHERE (team_name_home = 'San Antonio Spurs' AND wl_home = 'W') OR (team_name_away = 'San Antonio Spurs' AND wl_away = 'W') GROUP BY season_id ORDER BY win_count DESC LIMIT 1; 22015|67 False True False +What is the most points the Chicago Bulls have scored at home in the 1996 season? SELECT MAX(pts_home) FROM game WHERE team_abbreviation_home = 'CHI' AND season_id = '21996'; 134.0 False True False +How many games did the Boston Celtics win at home in the 1984 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'BOS' AND season_id = '21984' AND wl_home = 'W'; 35 False True False +What is the average number of turnovers per game for the Philadelphia 76ers at home in the 2018 season? SELECT AVG(tov_home) FROM game WHERE team_abbreviation_home = 'PHI' AND season_id = '22018'; 14.2682926829268 False True True +In the 1972 season, how many times did the New York Knicks and Brooklyn Nets play against each other? SELECT COUNT(*) FROM game WHERE (team_abbreviation_home = 'NYK' AND team_abbreviation_away = 'BKN') OR (team_abbreviation_home = 'BKN' AND team_abbreviation_away = 'NYK') AND season_id = '21972'; 21 False True False +What was the highest-scoring game (total points combined) in the 2001 season? SELECT game_id, (pts_home + pts_away) AS total_points FROM game WHERE season_id = '22001' ORDER BY total_points DESC LIMIT 1; 0020100682|281.0 False True False +What is the most points the Detroit Pistons have scored in an away game in the 2004 season? SELECT MAX(pts_away) FROM game WHERE team_abbreviation_away = 'DET' AND season_id = '22004'; 114.0 False False False +How many games did the San Antonio Spurs win on the road in the 1999 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'SAS' AND season_id = '21999' AND wl_away = 'W'; 22 False True False +What was the average number of personal fouls committed by the Indiana Pacers in away games during the 2011 season? SELECT AVG(pf_away) FROM game WHERE team_abbreviation_away = 'IND' AND season_id = '22011'; 21.3939393939394 False True True +What is the highest number of turnovers the Dallas Mavericks committed in a single away game during the 2016 season? SELECT MAX(tov_away) FROM game WHERE team_abbreviation_away = 'DAL' AND season_id = '22016'; 22.0 False True True +How many total offensive rebounds did the Sacramento Kings record in all away games in the 1990 season? SELECT SUM(oreb_away) FROM game WHERE team_abbreviation_away = 'SAC' AND season_id = '21990'; 517.0 False True True +What is the highest-scoring game (combined points) the Utah Jazz played in the 1998 season, home or away? SELECT game_id, (pts_home + pts_away) AS total_points FROM game WHERE (team_abbreviation_home = 'UTA' OR team_abbreviation_away = 'UTA') AND season_id = '21998' ORDER BY total_points DESC LIMIT 1; 0029800077|232.0 False True False +How many fast break points did the Toronto Raptors score on the road in total during the 2002 season? SELECT SUM(pts_fb_away) FROM other_stats WHERE game_id IN ( SELECT game_id FROM game WHERE team_abbreviation_away = 'TOR' AND season_id = '22002' ); 465 False True True +What is the highest number of three-pointers the Houston Rockets made in a single away game during the 2018 season? SELECT MAX(fg3m_away) FROM game WHERE team_abbreviation_away = 'HOU' AND season_id = '22018'; 26.0 False True True +How many total rebounds did the New York Knicks grab in away games during the 1995 season? SELECT SUM(reb_away) FROM game WHERE team_abbreviation_away = 'NYK' AND season_id = '21995'; 1643.0 False True True +How many games in the 2005 season had a combined score of at least 250 points? SELECT COUNT(*) FROM game WHERE (pts_home + pts_away) >= 250 AND season_id = '22005'; 6 False True False +What is the largest margin of victory the Boston Celtics had in an away game during the 2010 season? SELECT MAX(ABS(pts_away - pts_home)) FROM game WHERE team_abbreviation_away = 'BOS' AND season_id = '22010' AND wl_away = 'W'; 31.0 False True True +How many overtime games did the Portland Trail Blazers play in the 1994 season? SELECT COUNT(*) FROM game WHERE (team_abbreviation_home = 'POR' OR team_abbreviation_away = 'POR') AND season_id = '21994' AND min > 48; 82 False True False +What was the highest number of assists the Philadelphia 76ers recorded in an away game during the 2001 season? SELECT MAX(ast_away) FROM game WHERE team_abbreviation_away = 'PHI' AND season_id = '22001'; 30.0 False True True +How many times did the Milwaukee Bucks win an away game by 20 or more points in the 1983 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'MIL' AND season_id = '21983' AND wl_away = 'W' AND (pts_away - pts_home) >= 20; 3 False True True +What is the highest number of points the Chicago Bulls scored in an away game during the 1997 season? SELECT MAX(pts_away) FROM game WHERE team_abbreviation_away = 'CHI' AND season_id = '21997'; 123.0 True True False +What was the highest-scoring combined total of any game the San Antonio Spurs played in during the 2007 season? SELECT MAX(pts_home + pts_away) FROM game WHERE team_abbreviation_home = 'SAS' OR team_abbreviation_away = 'SAS' AND season_id = '22007'; 301.0 False True True +How many total three-pointers did the Cleveland Cavaliers make in away games during the 2016 season? SELECT SUM(fg3m_away) FROM game WHERE team_abbreviation_away = 'CLE' AND season_id = '22016'; 530.0 False True True +What was the largest win margin for the Denver Nuggets in an away game during the 1985 season? SELECT MAX(pts_away - pts_home) FROM game WHERE team_abbreviation_away = 'DEN' AND season_id = '21985' AND wl_away = 'W'; 18.0 False True True +What was the lowest-scoring game the Utah Jazz played in during the 2002 season? SELECT MIN(pts_home + pts_away) FROM game WHERE team_abbreviation_home = 'UTA' OR team_abbreviation_away = 'UTA' AND season_id = '22002'; 134.0 False True False +How many times did the Detroit Pistons win an away game while holding their opponent to under 90 points in the 1990 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'DET' AND season_id = '21990' AND wl_away = 'W' AND pts_home < 90; 6 False True True +How many times have the Boston Celtics won at home in the 2021 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'BOS' AND wl_home = 'W' AND season_id = '22021'; 28 False True False +What is the largest lead the Miami Heat have had in a game at home? SELECT MAX(largest_lead_home) FROM other_stats WHERE team_abbreviation_home = 'MIA'; 46 True False False +How many points did the Golden State Warriors score in their first game of the 2005 season? SELECT pts_home FROM game WHERE team_abbreviation_home = 'GSW' AND season_id = '22005' ORDER BY game_date ASC LIMIT 1; 122.0 False True False +What is the most total rebounds the New York Knicks have had in a home game? SELECT MAX(reb_home) FROM game WHERE team_abbreviation_home = 'NYK'; 75.0 False True True +How many times did the Chicago Bulls lose at home in the 2015 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'CHI' AND wl_home = 'L' AND season_id = '22015'; 15 False True False +What is the highest number of fast break points the Houston Rockets have scored in a home game? SELECT MAX(pts_fb_home) FROM other_stats WHERE team_abbreviation_home = 'HOU'; 37 True True False +What is the most points the Cleveland Cavaliers have scored in a road game? SELECT MAX(pts_away) FROM game WHERE team_abbreviation_away = 'CLE'; 140.0 False True False +What is the highest-scoring game played by the Boston Celtics at home? SELECT game_date, pts_home FROM game WHERE team_abbreviation_home = 'BOS' ORDER BY pts_home DESC LIMIT 1; 1959-02-27 00:00:00|173.0 False True False +How many times have the Chicago Bulls won a home game while scoring at least 120 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'CHI' AND pts_home >= 120 AND wl_home = 'W'; 236 False True True +How many times have the Detroit Pistons won an away game in the 2004 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'DET' AND wl_away = 'W' AND season_id = '22004'; 22 False True False +In how many home games did the Minnesota Timberwolves score more fast-break points than their opponent? SELECT COUNT(*) FROM other_stats WHERE team_abbreviation_home = 'MIN' AND pts_fb_home > pts_fb_away; 374 False True True +What is the most turnovers the Philadelphia 76ers have committed in a home game? SELECT MAX(total_turnovers_home) FROM other_stats WHERE team_abbreviation_home = 'PHI'; 30 True True False +What was the highest field goal percentage the Denver Nuggets achieved in a single game in the 1999 season? SELECT MAX(fg_pct_home) FROM game WHERE team_abbreviation_home = 'DEN' AND season_id = '21999'; 0.631 False True True +How many times have the Los Angeles Clippers won a game by 30 or more points? SELECT COUNT(*) FROM game WHERE (team_abbreviation_home = 'LAC' AND (pts_home - pts_away) >= 30 AND wl_home = 'W') OR (team_abbreviation_away = 'LAC' AND (pts_away - pts_home) >= 30 AND wl_away = 'W'); 48 False True False +What is the highest-scoring away game played by the Los Angeles Lakers? SELECT game_date, pts_away FROM game WHERE team_abbreviation_away = 'LAL' ORDER BY pts_away DESC LIMIT 1; 1980-01-29 00:00:00|153.0 False True False +How many times have the Houston Rockets won an away game while scoring at least 110 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'HOU' AND pts_away >= 110 AND wl_away = 'W'; 425 True True True +What is the largest lead the New York Knicks have ever had in an away game? SELECT MAX(largest_lead_away) FROM other_stats WHERE team_abbreviation_away = 'NYK'; 48 True False False +Which team had the most rebounds in a single away game during the 2010 season? SELECT team_abbreviation_away AS team, reb_away AS rebounds, game_date FROM game WHERE season_id = '22010' ORDER BY reb_away DESC LIMIT 1; SAC|60.0|2011-01-14 00:00:00 False True True +How many lead changes were there in the closest away game the San Antonio Spurs played in the 2005 season? SELECT lead_changes FROM other_stats WHERE game_id IN ( SELECT game_id FROM game WHERE season_id = '22005' AND team_abbreviation_away = 'SAS' ORDER BY ABS(pts_home - pts_away) ASC LIMIT 1 ); 26 False True True +In how many away games did the Orlando Magic score more fast-break points than their opponent? SELECT COUNT(*) FROM other_stats WHERE team_abbreviation_away = 'ORL' AND pts_fb_away > pts_fb_home; 417 True True True +What is the most turnovers the Brooklyn Nets have committed in an away game? SELECT MAX(total_turnovers_away) FROM other_stats WHERE team_abbreviation_away = 'BKN'; 29 True True False +What was the highest field goal percentage the Dallas Mavericks achieved in a single away game in the 2008 season? SELECT MAX(fg_pct_away) FROM game WHERE team_abbreviation_away = 'DAL' AND season_id = '22008'; 0.603 False True True +How many times have the Portland Trail Blazers won an away game by at least 25 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'POR' AND (pts_away - pts_home) >= 25 AND wl_away = 'W'; 33 False True True +What is the highest-scoring home game for the Chicago Bulls? SELECT game_date, pts_home FROM game WHERE team_abbreviation_home = 'CHI' ORDER BY pts_home DESC LIMIT 1; 1990-12-04 00:00:00|155.0 True True True +How many games in total have ended with a margin of exactly 1 point, regardless of home or away? SELECT COUNT(*) FROM game WHERE ABS(pts_home - pts_away) = 1; 3050 False True True +What is the highest combined total score (home + away) in a single game in the dataset? SELECT game_date, (pts_home + pts_away) AS total_points FROM game ORDER BY total_points DESC LIMIT 1; 2017-02-19 00:00:00|374.0 False True True +How many games have the Boston Celtics won, both home and away, in the 2006 season? SELECT COUNT(*) FROM game WHERE season_id = '22006' AND ((team_abbreviation_home = 'BOS' AND wl_home = 'W') OR (team_abbreviation_away = 'BOS' AND wl_away = 'W')); 24 False True False +Which team had the most rebounds in a single home game during the 2015 season? SELECT team_abbreviation_home AS team, reb_home AS rebounds, game_date FROM game WHERE season_id = '22015' ORDER BY reb_home DESC LIMIT 1; MIA|67.0|2016-02-20 00:00:00 False True False +What was the lowest-scoring home game for the Golden State Warriors? SELECT game_date, pts_home FROM game WHERE team_abbreviation_home = 'GSW' ORDER BY pts_home ASC LIMIT 1; 1997-12-03 00:00:00|67.0 False True False +How many games did the Los Angeles Lakers play at home in the 2010 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'LAL' AND season_id = '22010'; 41 False True False +What is the largest margin of victory in a game, whether home or away? SELECT game_date, ABS(pts_home - pts_away) AS margin FROM game ORDER BY margin DESC LIMIT 1; 2021-12-02 00:00:00|73.0 False True True +What was the highest total rebound count by an away team in a game? SELECT team_abbreviation_away, reb_away, game_date FROM game ORDER BY reb_away DESC LIMIT 1; BOS|90.0|1957-10-22 00:00:00 False True True +How many times has the Boston Celtics won an away game by at least 20 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'BOS' AND wl_away = 'W' AND (pts_away - pts_home) >= 20; 179 False True True +How many times has a team won while shooting under 40% from the field (home or away)? SELECT COUNT(*) FROM game WHERE (fg_pct_home < 0.40 AND wl_home = 'W') OR (fg_pct_away < 0.40 AND wl_away = 'W'); 2437 False True True +What is the highest-scoring home game in NBA history? SELECT MAX(pts_home) FROM game; 192.0 False True False +What was the lowest field goal percentage by an away team in a game? SELECT MIN(fg_pct_away) FROM game; 0.156 False True True +How many times has a team won while scoring fewer than 80 points? SELECT COUNT(*) FROM game WHERE (pts_home < 80 AND wl_home = 'W') OR (pts_away < 80 AND wl_away = 'W'); 1364 False True True +How many times has a team lost while shooting over 55% from the field? SELECT COUNT(*) FROM game WHERE (fg_pct_home > 0.55 AND wl_home = 'L') OR (fg_pct_away > 0.55 AND wl_away = 'L'); 714 False True True +How many games were decided by more than 40 points? SELECT COUNT(*) FROM game WHERE ABS(pts_home - pts_away) > 40; 307 False True False +What is the most steals recorded by an away team in a game? SELECT MAX(stl_away) FROM game; 27.0 False True True +How many games ended with both teams scoring at least 120 points? SELECT COUNT(*) FROM game WHERE pts_home >= 120 AND pts_away >= 120; 3043 False True False +How many games had at least one team with 30+ assists? SELECT COUNT(*) FROM game WHERE ast_home >= 30 OR ast_away >= 30; 11305 False True True +Which game had the highest combined total of turnovers and steals? SELECT game_id, (tov_home + tov_away + stl_home + stl_away) AS total FROM game ORDER BY total DESC LIMIT 1; 0028500026|102.0 False True True +What was the largest lead the Golden State Warriors had in a game during the 2018 season? SELECT MAX(other_stats.largest_lead_home) FROM other_stats JOIN game ON other_stats.game_id = game.game_id WHERE game.team_name_home = 'Golden State Warriors' AND game.season_id = '22018'; 44 False True True +Which team had the most fast break points in a single home game during the 2020 season? SELECT team_name_home, MAX(pts_fb_home) FROM other_stats JOIN game ON other_stats.game_id = game.game_id WHERE game.season_id = '22020'; Houston Rockets|35 True True False +What is the highest number of assists recorded by the Indiana Pacers in a single home game? SELECT MAX(ast_home) FROM game WHERE team_name_home = 'Indiana Pacers'; 44.0 False True False