diff --git "a/train-data/data_augmentation_final.tsv" "b/train-data/data_augmentation_final.tsv" new file mode 100644--- /dev/null +++ "b/train-data/data_augmentation_final.tsv" @@ -0,0 +1,1871 @@ +natural_query sql_query result +What is the most points the Cleveland Cavaliers have scored at home? SELECT MAX(pts_home) FROM game WHERE team_name_home = 'Cleveland Cavaliers'; 154 +What is the most points the Minnesota Timberwolves have scored at home? SELECT MAX(pts_home) FROM game WHERE team_name_home = 'Minnesota Timberwolves'; 150 +What is the most points the New York Knicks have scored at home? SELECT MAX(pts_home) FROM game WHERE team_name_home = 'New York Knicks'; 152 +What is the most points the Detroit Pistons have scored at home? SELECT MAX(pts_home) FROM game WHERE team_name_home = 'Detroit Pistons'; 160 +What is the second-highest number of points the New York Knicks have ever scored in a single home game? SELECT pts_home FROM game WHERE team_name_home = 'New York Knicks' ORDER BY pts_home DESC LIMIT 1 OFFSET 1; 151 +What is the second-highest number of points the New Orleans Pelicans have ever scored in a single home game? SELECT pts_home FROM game WHERE team_name_home = 'New Orleans Pelicans' ORDER BY pts_home DESC LIMIT 1 OFFSET 1; 140 +What is the second-highest number of points the Brooklyn Nets have ever scored in a single home game? SELECT pts_home FROM game WHERE team_name_home = 'Brooklyn Nets' ORDER BY pts_home DESC LIMIT 1 OFFSET 1; 144 +What is the second-highest number of points the Washington Wizards have ever scored in a single home game? SELECT pts_home FROM game WHERE team_name_home = 'Washington Wizards' ORDER BY pts_home DESC LIMIT 1 OFFSET 1; 154 +How many home games did the Milwaukee Bucks win in the 2017 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'MIL' AND wl_home = 'W' AND season_id = '22017'; 25 +What is the average number of assists by the Minnesota Timberwolves in home wins? SELECT AVG(ast_home) FROM game WHERE team_abbreviation_home = 'MIN' AND wl_home = 'W'; 25.92228739 +What is the average number of assists by the Atlanta Hawks in home wins? SELECT AVG(ast_home) FROM game WHERE team_abbreviation_home = 'ATL' AND wl_home = 'W'; 25.0786309 +What is the average number of assists by the Sacramento Kings in home wins? SELECT AVG(ast_home) FROM game WHERE team_abbreviation_home = 'SAC' AND wl_home = 'W'; 24.74970344 +What is the average number of assists by the Denver Nuggets in home wins? SELECT AVG(ast_home) FROM game WHERE team_abbreviation_home = 'DEN' AND wl_home = 'W'; 26.97093551 +What is the Charlotte Hornets' largest lead in a home game during the 2016 season? SELECT MAX(plus_minus_home) FROM game WHERE team_abbreviation_home = 'CHA' AND season_id = '22016'; 40 +What is the Orlando Magic' largest lead in a home game during the 2016 season? SELECT MAX(plus_minus_home) FROM game WHERE team_abbreviation_home = 'ORL' AND season_id = '22016'; 28 +How many times did the Chicago Bulls score over 120 points at home? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'CHI' AND pts_home > 120; 237 +How many times did the Boston Celtics score over 120 points at home? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'BOS' AND pts_home > 120; 561 +How many times did the Memphis Grizzlies score over 120 points at home? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'MEM' AND pts_home > 120; 90 +How many times did the Utah Jazz score over 120 points at home? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'UTA' AND pts_home > 120; 99 +What is the highest three-point percentage the Philadelphia 76ers achieved in an away game? SELECT MAX(fg3_pct_away) FROM game WHERE team_abbreviation_away = 'PHI'; 1 +What is the highest three-point percentage the Orlando Magic achieved in an away game? SELECT MAX(fg3_pct_away) FROM game WHERE team_abbreviation_away = 'ORL'; 1 +What is the highest three-point percentage the Chicago Bulls achieved in an away game? SELECT MAX(fg3_pct_away) FROM game WHERE team_abbreviation_away = 'CHI'; 1 +What was the average points difference in home games won by the Detroit Pistons? SELECT AVG(pts_home - pts_away) FROM game WHERE team_abbreviation_home = 'DET' AND wl_home = 'W'; 11.20827858 +What was the average points difference in home games won by the Portland Trail Blazers? SELECT AVG(pts_home - pts_away) FROM game WHERE team_abbreviation_home = 'POR' AND wl_home = 'W'; 12.41772152 +What was the average points difference in home games won by the Atlanta Hawks? SELECT AVG(pts_home - pts_away) FROM game WHERE team_abbreviation_home = 'ATL' AND wl_home = 'W'; 11.10289855 +What was the average points difference in home games won by the Golden State Warriors? SELECT AVG(pts_home - pts_away) FROM game WHERE team_abbreviation_home = 'GSW' AND wl_home = 'W'; 13.37057992 +What is the total number of rebounds by the Houston Rockets in home games during the 2015 season? SELECT SUM(reb_home) FROM game WHERE team_abbreviation_home = 'HOU' AND season_id = '22015'; 1786 +What is the total number of rebounds by the Chicago Bulls in home games during the 2015 season? SELECT SUM(reb_home) FROM game WHERE team_abbreviation_home = 'CHI' AND season_id = '22015'; 1997 +What is the total number of rebounds by the Toronto Raptors in home games during the 2015 season? SELECT SUM(reb_home) FROM game WHERE team_abbreviation_home = 'TOR' AND season_id = '22015'; 1775 +Which Cleveland Cavaliers 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 = 'Cleveland Cavaliers' ORDER BY os.lead_changes DESC LIMIT 1; 2010-04-09 00:00:00 | 31 +Which Denver Nuggets 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 = 'Denver Nuggets' ORDER BY os.lead_changes DESC LIMIT 1; 2006-01-10 00:00:00 | 32 +Which Detroit Pistons 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 = 'Detroit Pistons' ORDER BY os.lead_changes DESC LIMIT 1; 2022-03-07 00:00:00 | 30 +What is the average fast break points scored by the New York Knicks 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 = 'NYK' AND g.season_id = '22018'; 10.06060606 +What is the average fast break points scored by the Houston Rockets 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 = 'HOU' AND g.season_id = '22018'; 12.13157895 +What is the average fast break points scored by the Los Angeles Lakers 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 = 'LAL' AND g.season_id = '22018'; 17.45454545 +How many Charlotte Hornets 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 = 'CHA' AND os.pts_paint_home > os.pts_paint_away; 293 +How many Brooklyn Nets 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 = 'BKN' AND os.pts_paint_home > os.pts_paint_away; 178 +How many Miami Heat 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 = 'MIA' AND os.pts_paint_home > os.pts_paint_away; 457 +How many Minnesota Timberwolves 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 = 'MIN' AND os.pts_paint_home > os.pts_paint_away; 422 +How many Miami Heat home games had over 15 offensive rebounds and 10+ steals? SELECT game_date, oreb_home, stl_home FROM game WHERE team_name_home = 'Miami Heat' AND oreb_home > 15 AND stl_home >= 10; ('1988-11-11 00:00:00', 17.0, 11.0) | ('1988-11-15 00:00:00', 19.0, 14.0) | ('1988-12-23 00:00:00', 18.0, 13.0) | ('1988-12-26 00:00:00', 18.0, 19.0) | ('1989-01-15 00:00:00', 18.0, 14.0) | ('1989-02-26 00:00:00', 20.0, 12.0) | ('1989-04-08 00:00:00', 22.0, 13.0) | ('1989-12-02 00:00:00', 17.0, 12.0) | ('1989-12-08 00:00:00', 16.0, 16.0) | ('1990-01-17 00:00:00', 17.0, 11.0) | ('1990-02-02 00:00:00', 17.0, 10.0) | ('1990-02-06 00:00:00', 16.0, 10.0) | ('1990-11-02 00:00:00', 18.0, 11.0) | ('1990-11-24 00:00:00', 17.0, 13.0) | ('1990-12-15 00:00:00', 28.0, 10.0) | ('1991-01-15 00:00:00', 22.0, 10.0) | ('1991-01-30 00:00:00', 23.0, 15.0) | ('1991-02-01 00:00:00', 16.0, 13.0) | ('1991-04-19 00:00:00', 24.0, 12.0) | ('1991-11-22 00:00:00', 18.0, 11.0) | ('1991-12-03 00:00:00', 19.0, 10.0) | ('1991-12-11 00:00:00', 23.0, 11.0) | ('1991-12-18 00:00:00', 18.0, 14.0) | ('1991-12-21 00:00:00', 17.0, 10.0) | ('1992-01-10 00:00:00', 19.0, 11.0) | ('1992-01-22 00:00:00', 16.0, 11.0) | ('1992-02-11 00:00:00', 21.0, 10.0) | ('1992-04-07 00:00:00', 16.0, 10.0) | ('1992-04-11 00:00:00', 19.0, 10.0) | ('1992-04-16 00:00:00', 16.0, 10.0) | ('1992-11-27 00:00:00', 17.0, 12.0) | ('1993-01-20 00:00:00', 19.0, 10.0) | ('1993-02-17 00:00:00', 17.0, 11.0) | ('1993-04-20 00:00:00', 19.0, 10.0) | ('1993-04-23 00:00:00', 17.0, 11.0) | ('1993-12-26 00:00:00', 22.0, 11.0) | ('1994-02-05 00:00:00', 21.0, 20.0) | ('1994-03-09 00:00:00', 20.0, 13.0) | ('1994-03-29 00:00:00', 20.0, 11.0) | ('1994-04-19 00:00:00', 22.0, 10.0) | ('1995-03-12 00:00:00', 22.0, 10.0) | ('1995-04-02 00:00:00', 18.0, 10.0) | ('1995-11-28 00:00:00', 18.0, 14.0) | ('1996-02-25 00:00:00', 22.0, 10.0) | ('1996-04-21 00:00:00', 16.0, 14.0) | ('1996-11-12 00:00:00', 17.0, 10.0) | ('1996-11-16 00:00:00', 16.0, 11.0) | ('1996-12-17 00:00:00', 16.0, 11.0) | ('1997-03-28 00:00:00', 17.0, 10.0) | ('1997-11-03 00:00:00', 21.0, 13.0) | ('1997-11-08 00:00:00', 16.0, 10.0) | ('1997-11-11 00:00:00', 22.0, 11.0) | ('2000-02-15 00:00:00', 20.0, 12.0) | ('2002-03-29 00:00:00', 16.0, 11.0) | ('2003-02-01 00:00:00', 20.0, 13.0) | ('2007-12-20 00:00:00', 16.0, 11.0) | ('2010-01-06 00:00:00', 17.0, 10.0) | ('2012-04-08 00:00:00', 16.0, 13.0) | ('2012-04-22 00:00:00', 17.0, 10.0) | ('2016-11-15 00:00:00', 17.0, 11.0) | ('2017-03-21 00:00:00', 17.0, 13.0) | ('2017-12-26 00:00:00', 16.0, 11.0) | ('2018-03-05 00:00:00', 16.0, 12.0) | ('2021-03-16 00:00:00', 16.0, 11.0) | ('2022-01-29 00:00:00', 19.0, 12.0) +How many Milwaukee Bucks home games had over 15 offensive rebounds and 10+ steals? SELECT game_date, oreb_home, stl_home FROM game WHERE team_name_home = 'Milwaukee Bucks' AND oreb_home > 15 AND stl_home >= 10; ('1982-03-12 00:00:00', 16.0, 10.0) | ('1985-02-26 00:00:00', 17.0, 11.0) | ('1985-11-15 00:00:00', 22.0, 12.0) | ('1985-12-13 00:00:00', 17.0, 12.0) | ('1985-12-21 00:00:00', 21.0, 14.0) | ('1985-12-30 00:00:00', 17.0, 15.0) | ('1986-01-07 00:00:00', 26.0, 12.0) | ('1986-01-16 00:00:00', 20.0, 13.0) | ('1986-01-19 00:00:00', 19.0, 10.0) | ('1986-02-25 00:00:00', 18.0, 11.0) | ('1986-03-22 00:00:00', 17.0, 12.0) | ('1986-12-10 00:00:00', 20.0, 13.0) | ('1986-12-20 00:00:00', 23.0, 10.0) | ('1987-01-03 00:00:00', 16.0, 16.0) | ('1987-01-16 00:00:00', 27.0, 17.0) | ('1987-02-16 00:00:00', 16.0, 10.0) | ('1987-03-04 00:00:00', 29.0, 15.0) | ('1987-03-06 00:00:00', 29.0, 11.0) | ('1987-04-04 00:00:00', 16.0, 12.0) | ('1987-04-11 00:00:00', 16.0, 18.0) | ('1988-02-19 00:00:00', 16.0, 10.0) | ('1988-03-22 00:00:00', 16.0, 12.0) | ('1988-03-31 00:00:00', 18.0, 18.0) | ('1988-11-26 00:00:00', 16.0, 13.0) | ('1988-12-23 00:00:00', 20.0, 15.0) | ('1989-01-04 00:00:00', 20.0, 13.0) | ('1989-01-18 00:00:00', 17.0, 13.0) | ('1989-02-19 00:00:00', 17.0, 16.0) | ('1989-02-21 00:00:00', 19.0, 14.0) | ('1989-02-27 00:00:00', 19.0, 20.0) | ('1989-04-19 00:00:00', 17.0, 12.0) | ('1989-11-11 00:00:00', 16.0, 13.0) | ('1989-12-30 00:00:00', 16.0, 12.0) | ('1990-01-12 00:00:00', 17.0, 11.0) | ('1990-01-16 00:00:00', 22.0, 18.0) | ('1990-02-01 00:00:00', 21.0, 19.0) | ('1990-02-08 00:00:00', 18.0, 11.0) | ('1990-04-19 00:00:00', 17.0, 12.0) | ('1990-11-21 00:00:00', 20.0, 12.0) | ('1990-12-05 00:00:00', 16.0, 10.0) | ('1990-12-11 00:00:00', 18.0, 15.0) | ('1991-01-16 00:00:00', 16.0, 10.0) | ('1991-01-29 00:00:00', 22.0, 11.0) | ('1991-02-19 00:00:00', 16.0, 14.0) | ('1991-03-07 00:00:00', 18.0, 11.0) | ('1991-11-06 00:00:00', 18.0, 14.0) | ('1991-11-16 00:00:00', 20.0, 16.0) | ('1991-11-21 00:00:00', 25.0, 13.0) | ('1991-12-05 00:00:00', 18.0, 12.0) | ('1991-12-08 00:00:00', 18.0, 19.0) | ('1992-01-03 00:00:00', 16.0, 10.0) | ('1992-01-11 00:00:00', 21.0, 12.0) | ('1992-01-19 00:00:00', 22.0, 12.0) | ('1992-02-02 00:00:00', 16.0, 15.0) | ('1992-03-01 00:00:00', 18.0, 12.0) | ('1992-03-06 00:00:00', 21.0, 24.0) | ('1992-03-14 00:00:00', 17.0, 13.0) | ('1992-03-17 00:00:00', 20.0, 12.0) | ('1992-03-22 00:00:00', 16.0, 11.0) | ('1992-04-01 00:00:00', 20.0, 12.0) | ('1992-04-05 00:00:00', 16.0, 10.0) | ('1992-04-14 00:00:00', 17.0, 11.0) | ('1992-11-13 00:00:00', 17.0, 10.0) | ('1992-11-15 00:00:00', 16.0, 13.0) | ('1992-11-25 00:00:00', 20.0, 12.0) | ('1992-12-22 00:00:00', 21.0, 10.0) | ('1993-01-23 00:00:00', 20.0, 12.0) | ('1993-03-02 00:00:00', 17.0, 14.0) | ('1993-03-20 00:00:00', 19.0, 10.0) | ('1993-04-15 00:00:00', 17.0, 10.0) | ('1993-11-10 00:00:00', 17.0, 11.0) | ('1993-11-24 00:00:00', 16.0, 14.0) | ('1993-11-27 00:00:00', 16.0, 10.0) | ('1993-12-08 00:00:00', 21.0, 19.0) | ('1994-02-16 00:00:00', 19.0, 16.0) | ('1994-02-22 00:00:00', 17.0, 13.0) | ('1994-02-26 00:00:00', 16.0, 11.0) | ('1994-03-05 00:00:00', 16.0, 15.0) | ('1994-03-29 00:00:00', 16.0, 11.0) | ('1994-12-01 00:00:00', 16.0, 12.0) | ('1995-04-11 00:00:00', 21.0, 10.0) | ('1996-02-13 00:00:00', 19.0, 10.0) | ('1996-02-21 00:00:00', 19.0, 10.0) | ('1996-12-08 00:00:00', 17.0, 10.0) | ('1996-12-18 00:00:00', 17.0, 13.0) | ('1997-02-01 00:00:00', 16.0, 13.0) | ('1997-11-06 00:00:00', 19.0, 11.0) | ('1998-03-05 00:00:00', 17.0, 10.0) | ('1999-03-05 00:00:00', 19.0, 10.0) | ('2000-12-03 00:00:00', 16.0, 13.0) | ('2001-01-03 00:00:00', 18.0, 17.0) | ('2001-01-27 00:00:00', 16.0, 10.0) | ('2001-03-03 00:00:00', 20.0, 10.0) | ('2002-11-02 00:00:00', 16.0, 11.0) | ('2003-03-08 00:00:00', 20.0, 11.0) | ('2003-04-02 00:00:00', 16.0, 10.0) | ('2004-01-07 00:00:00', 16.0, 13.0) | ('2005-03-05 00:00:00', 17.0, 13.0) | ('2005-04-01 00:00:00', 17.0, 11.0) | ('2006-02-24 00:00:00', 16.0, 10.0) | ('2007-01-17 00:00:00', 16.0, 10.0) | ('2007-04-07 00:00:00', 20.0, 16.0) | ('2008-01-27 00:00:00', 16.0, 12.0) | ('2008-11-21 00:00:00', 17.0, 10.0) | ('2009-03-15 00:00:00', 21.0, 11.0) | ('2009-10-31 00:00:00', 16.0, 10.0) | ('2011-01-22 00:00:00', 16.0, 10.0) | ('2011-12-27 00:00:00', 16.0, 13.0) | ('2012-02-28 00:00:00', 20.0, 11.0) | ('2012-03-07 00:00:00', 16.0, 12.0) | ('2012-03-14 00:00:00', 16.0, 10.0) | ('2013-12-28 00:00:00', 16.0, 12.0) | ('2014-11-05 00:00:00', 18.0, 10.0) | ('2015-04-01 00:00:00', 20.0, 11.0) | ('2015-04-23 00:00:00', 17.0, 11.0) | ('2016-11-05 00:00:00', 17.0, 12.0) | ('2018-03-04 00:00:00', 16.0, 15.0) | ('2019-12-22 00:00:00', 16.0, 10.0) | ('2021-04-24 00:00:00', 16.0, 10.0) | ('2021-05-11 00:00:00', 17.0, 10.0) | ('2021-06-25 00:00:00', 16.0, 14.0) | ('2021-07-14 00:00:00', 17.0, 11.0) | ('2022-10-01 00:00:00', 17.0, 10.0) +How many Philadelphia 76ers home games had over 15 offensive rebounds and 10+ steals? SELECT game_date, oreb_home, stl_home FROM game WHERE team_name_home = 'Philadelphia 76ers' AND oreb_home > 15 AND stl_home >= 10; ('1977-05-22 00:00:00', 18.0, 16.0) | ('1982-01-09 00:00:00', 26.0, 12.0) | ('1982-01-23 00:00:00', 25.0, 11.0) | ('1982-05-27 00:00:00', 18.0, 11.0) | ('1982-12-11 00:00:00', 16.0, 19.0) | ('1983-04-27 00:00:00', 17.0, 10.0) | ('1983-05-08 00:00:00', 22.0, 13.0) | ('1983-05-22 00:00:00', 21.0, 11.0) | ('1983-05-26 00:00:00', 16.0, 10.0) | ('1983-12-07 00:00:00', 25.0, 11.0) | ('1985-04-17 00:00:00', 16.0, 15.0) | ('1985-05-03 00:00:00', 17.0, 13.0) | ('1985-05-18 00:00:00', 17.0, 13.0) | ('1985-05-19 00:00:00', 19.0, 12.0) | ('1985-11-08 00:00:00', 22.0, 13.0) | ('1985-11-10 00:00:00', 19.0, 16.0) | ('1985-12-04 00:00:00', 23.0, 11.0) | ('1985-12-06 00:00:00', 23.0, 10.0) | ('1985-12-18 00:00:00', 18.0, 14.0) | ('1985-12-21 00:00:00', 18.0, 11.0) | ('1986-01-08 00:00:00', 27.0, 14.0) | ('1986-01-10 00:00:00', 26.0, 19.0) | ('1986-01-20 00:00:00', 22.0, 14.0) | ('1986-03-09 00:00:00', 20.0, 12.0) | ('1986-04-02 00:00:00', 18.0, 14.0) | ('1986-04-04 00:00:00', 25.0, 14.0) | ('1986-04-06 00:00:00', 17.0, 16.0) | ('1986-05-03 00:00:00', 17.0, 12.0) | ('1986-12-03 00:00:00', 21.0, 17.0) | ('1986-12-10 00:00:00', 16.0, 10.0) | ('1986-12-17 00:00:00', 18.0, 10.0) | ('1987-01-05 00:00:00', 20.0, 21.0) | ('1987-01-28 00:00:00', 17.0, 11.0) | ('1987-02-11 00:00:00', 16.0, 11.0) | ('1987-04-01 00:00:00', 18.0, 10.0) | ('1987-04-13 00:00:00', 19.0, 10.0) | ('1987-11-06 00:00:00', 16.0, 13.0) | ('1987-11-13 00:00:00', 25.0, 10.0) | ('1987-11-24 00:00:00', 16.0, 13.0) | ('1987-12-12 00:00:00', 17.0, 10.0) | ('1988-02-11 00:00:00', 25.0, 14.0) | ('1988-03-11 00:00:00', 16.0, 11.0) | ('1988-04-08 00:00:00', 18.0, 11.0) | ('1988-04-13 00:00:00', 22.0, 10.0) | ('1988-11-04 00:00:00', 20.0, 17.0) | ('1988-11-16 00:00:00', 20.0, 11.0) | ('1988-11-26 00:00:00', 17.0, 10.0) | ('1988-11-30 00:00:00', 17.0, 15.0) | ('1989-01-27 00:00:00', 27.0, 10.0) | ('1989-03-22 00:00:00', 23.0, 13.0) | ('1990-01-27 00:00:00', 16.0, 10.0) | ('1990-03-23 00:00:00', 16.0, 10.0) | ('1990-04-03 00:00:00', 17.0, 13.0) | ('1990-04-26 00:00:00', 18.0, 11.0) | ('1990-11-14 00:00:00', 18.0, 10.0) | ('1990-11-16 00:00:00', 27.0, 12.0) | ('1991-11-22 00:00:00', 18.0, 15.0) | ('1992-01-24 00:00:00', 19.0, 12.0) | ('1992-01-29 00:00:00', 16.0, 11.0) | ('1992-02-05 00:00:00', 17.0, 11.0) | ('1992-03-23 00:00:00', 19.0, 10.0) | ('1992-04-01 00:00:00', 17.0, 11.0) | ('1992-11-20 00:00:00', 22.0, 14.0) | ('1992-12-21 00:00:00', 18.0, 12.0) | ('1993-01-29 00:00:00', 18.0, 10.0) | ('1993-11-17 00:00:00', 19.0, 13.0) | ('1993-12-15 00:00:00', 20.0, 14.0) | ('1994-01-29 00:00:00', 16.0, 11.0) | ('1995-01-21 00:00:00', 25.0, 10.0) | ('1995-03-08 00:00:00', 22.0, 10.0) | ('1995-03-22 00:00:00', 22.0, 13.0) | ('1995-11-03 00:00:00', 21.0, 15.0) | ('1996-03-15 00:00:00', 17.0, 11.0) | ('1996-11-05 00:00:00', 18.0, 13.0) | ('1996-11-26 00:00:00', 20.0, 10.0) | ('1997-01-17 00:00:00', 17.0, 11.0) | ('1997-12-10 00:00:00', 19.0, 10.0) | ('1998-01-15 00:00:00', 17.0, 13.0) | ('1998-02-17 00:00:00', 18.0, 10.0) | ('1998-03-04 00:00:00', 16.0, 12.0) | ('1998-04-03 00:00:00', 16.0, 11.0) | ('1999-02-06 00:00:00', 17.0, 14.0) | ('1999-02-09 00:00:00', 20.0, 18.0) | ('1999-02-20 00:00:00', 17.0, 13.0) | ('1999-02-24 00:00:00', 16.0, 13.0) | ('1999-03-03 00:00:00', 16.0, 14.0) | ('1999-03-05 00:00:00', 24.0, 12.0) | ('1999-03-07 00:00:00', 17.0, 12.0) | ('1999-03-10 00:00:00', 16.0, 17.0) | ('1999-05-05 00:00:00', 20.0, 11.0) | ('1999-05-13 00:00:00', 17.0, 20.0) | ('1999-05-21 00:00:00', 19.0, 14.0) | ('1999-11-08 00:00:00', 21.0, 12.0) | ('1999-12-08 00:00:00', 17.0, 14.0) | ('1999-12-15 00:00:00', 19.0, 12.0) | ('2000-01-05 00:00:00', 18.0, 13.0) | ('2000-01-14 00:00:00', 17.0, 12.0) | ('2000-02-06 00:00:00', 20.0, 13.0) | ('2000-02-18 00:00:00', 16.0, 10.0) | ('2000-02-23 00:00:00', 19.0, 12.0) | ('2000-11-01 00:00:00', 17.0, 11.0) | ('2001-01-05 00:00:00', 17.0, 11.0) | ('2001-01-26 00:00:00', 18.0, 11.0) | ('2001-02-21 00:00:00', 19.0, 13.0) | ('2001-03-26 00:00:00', 21.0, 15.0) | ('2001-03-28 00:00:00', 24.0, 14.0) | ('2001-04-24 00:00:00', 16.0, 12.0) | ('2001-05-30 00:00:00', 18.0, 13.0) | ('2001-06-03 00:00:00', 17.0, 11.0) | ('2002-02-20 00:00:00', 16.0, 16.0) | ('2002-04-15 00:00:00', 19.0, 13.0) | ('2002-12-20 00:00:00', 16.0, 14.0) | ('2003-01-06 00:00:00', 19.0, 12.0) | ('2003-02-12 00:00:00', 22.0, 15.0) | ('2003-03-14 00:00:00', 16.0, 17.0) | ('2003-03-28 00:00:00', 17.0, 12.0) | ('2003-04-06 00:00:00', 17.0, 14.0) | ('2004-01-30 00:00:00', 17.0, 11.0) | ('2005-04-08 00:00:00', 17.0, 10.0) | ('2006-03-09 00:00:00', 22.0, 11.0) | ('2005-10-25 00:00:00', 18.0, 16.0) | ('2007-11-07 00:00:00', 16.0, 17.0) | ('2008-01-08 00:00:00', 18.0, 12.0) | ('2008-01-11 00:00:00', 19.0, 13.0) | ('2008-03-22 00:00:00', 18.0, 10.0) | ('2008-04-11 00:00:00', 16.0, 12.0) | ('2009-01-31 00:00:00', 16.0, 10.0) | ('2009-02-05 00:00:00', 16.0, 12.0) | ('2009-02-18 00:00:00', 18.0, 10.0) | ('2009-12-14 00:00:00', 25.0, 11.0) | ('2010-03-10 00:00:00', 16.0, 11.0) | ('2011-03-06 00:00:00', 17.0, 14.0) | ('2011-03-09 00:00:00', 16.0, 11.0) | ('2012-03-16 00:00:00', 17.0, 12.0) | ('2013-12-03 00:00:00', 20.0, 10.0) | ('2014-01-17 00:00:00', 19.0, 11.0) | ('2014-01-25 00:00:00', 19.0, 15.0) | ('2013-10-23 00:00:00', 17.0, 11.0) | ('2014-11-29 00:00:00', 22.0, 10.0) | ('2014-12-05 00:00:00', 19.0, 13.0) | ('2014-12-15 00:00:00', 16.0, 11.0) | ('2015-03-07 00:00:00', 17.0, 14.0) | ('2015-03-11 00:00:00', 17.0, 12.0) | ('2015-03-30 00:00:00', 20.0, 11.0) | ('2015-04-08 00:00:00', 17.0, 11.0) | ('2018-04-11 00:00:00', 17.0, 15.0) | ('2018-11-30 00:00:00', 17.0, 11.0) | ('2019-10-30 00:00:00', 16.0, 14.0) | ('2021-01-12 00:00:00', 16.0, 10.0) +What is the average second-chance points for Chicago Bulls 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 = 'CHI' AND g.season_id BETWEEN '22015' AND '22020'; 12.41538462 +What is the average second-chance points for Portland Trail Blazers 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 = 'POR' AND g.season_id BETWEEN '22015' AND '22020'; 13.82653061 +What is the average second-chance points for Sacramento Kings 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 = 'SAC' AND g.season_id BETWEEN '22015' AND '22020'; 12.35233161 +What is the average second-chance points for Memphis Grizzlies 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 = 'MEM' AND g.season_id BETWEEN '22015' AND '22020'; 12.19402985 +What was the highest number of steals by the Utah Jazz 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 = 'UTA' AND season_id = '22004' UNION ALL SELECT stl_away AS stl FROM game WHERE team_abbreviation_away = 'UTA' AND season_id = '22004' ); 12 +What was the highest number of steals by the Phoenix Suns 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 = 'PHX' AND season_id = '22004' UNION ALL SELECT stl_away AS stl FROM game WHERE team_abbreviation_away = 'PHX' AND season_id = '22004' ); 15 +How many total free throws did the Charlotte Hornets make in the 2011 season? SELECT SUM(ftm) AS total_free_throws FROM ( SELECT ftm_home AS ftm FROM game WHERE team_abbreviation_home = 'CHA' AND season_id = '22011' UNION ALL SELECT ftm_away AS ftm FROM game WHERE team_abbreviation_away = 'CHA' AND season_id = '22011' ); 1090 +Which game had the lowest combined score when the Milwaukee Bucks 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 = 'MIL' OR team_abbreviation_away = 'MIL') ORDER BY total_points ASC LIMIT 1; 0021900895 | 178.0 +Which game had the lowest combined score when the Detroit Pistons 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 = 'DET' OR team_abbreviation_away = 'DET') ORDER BY total_points ASC LIMIT 1; 0021900793 | 163.0 +Which game had the lowest combined score when the Minnesota Timberwolves 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 = 'MIN' OR team_abbreviation_away = 'MIN') ORDER BY total_points ASC LIMIT 1; 0021900479 | 182.0 +What was the average three-point percentage for the Atlanta Hawks in away games during the 2020 season? SELECT AVG(fg3_pct_away) AS avg_3p_pct FROM game WHERE team_abbreviation_away = 'ATL' AND season_id = '22020'; 0.3589444444 +What was the average three-point percentage for the San Antonio Spurs in away games during the 2020 season? SELECT AVG(fg3_pct_away) AS avg_3p_pct FROM game WHERE team_abbreviation_away = 'SAS' AND season_id = '22020'; 0.3377222222 +How many games did the Indiana Pacers win on the road during the 2018 season? SELECT COUNT(*) AS away_wins FROM game WHERE team_name_away = 'Indiana Pacers' AND wl_away = 'W' AND season_id = '22018'; 19 +What was the total number of assists made by the Toronto Raptors in games where they scored more than 110 points at home? SELECT SUM(ast_home) AS total_assists FROM game WHERE team_name_home = 'Toronto Raptors' AND pts_home > 110; 8125 +What was the total number of assists made by the Chicago Bulls in games where they scored more than 110 points at home? SELECT SUM(ast_home) AS total_assists FROM game WHERE team_name_home = 'Chicago Bulls' AND pts_home > 110; 14266 +What was the total number of assists made by the Los Angeles Lakers in games where they scored more than 110 points at home? SELECT SUM(ast_home) AS total_assists FROM game WHERE team_name_home = 'Los Angeles Lakers' AND pts_home > 110; 23837 +What was the total number of assists made by the Detroit Pistons in games where they scored more than 110 points at home? SELECT SUM(ast_home) AS total_assists FROM game WHERE team_name_home = 'Detroit Pistons' AND pts_home > 110; 12408 +When did the Sacramento Kings 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 = 'Sacramento Kings' ORDER BY o.pts_paint_away DESC LIMIT 1; 2012-04-22 00:00:00 | 78 +When did the New York Knicks 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 = 'New York Knicks' ORDER BY o.pts_paint_away DESC LIMIT 1; 2022-02-05 00:00:00 | 72 +When did the Utah Jazz 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 = 'Utah Jazz' ORDER BY o.pts_paint_away DESC LIMIT 1; 2019-04-10 00:00:00 | 76 +When did the Washington Wizards 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 = 'Washington Wizards' ORDER BY o.pts_paint_away DESC LIMIT 1; 2014-02-27 00:00:00 | 80 +What is the average number of turnovers committed by the Toronto Raptors in games they won at home? SELECT AVG(tov_home) AS avg_turnovers FROM game WHERE team_name_home = 'Toronto Raptors' AND wl_home = 'W'; 13.61777778 +What is the average number of turnovers committed by the Dallas Mavericks in games they won at home? SELECT AVG(tov_home) AS avg_turnovers FROM game WHERE team_name_home = 'Dallas Mavericks' AND wl_home = 'W'; 13.47395301 +What is the average number of turnovers committed by the Charlotte Hornets in games they won at home? SELECT AVG(tov_home) AS avg_turnovers FROM game WHERE team_name_home = 'Charlotte Hornets' AND wl_home = 'W'; 14.0019084 +What was the average number of rebounds grabbed by the Oklahoma City Thunder 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 = 'Oklahoma City Thunder' 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 = 'Oklahoma City Thunder' AND o.pts_fb_away >= 40 ); 40 +What was the average number of rebounds grabbed by the San Antonio Spurs 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 = 'San Antonio Spurs' 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 = 'San Antonio Spurs' AND o.pts_fb_away >= 40 ); 46 +What was the average points scored by the Houston Rockets in home games during the 2019 season? SELECT AVG(pts_home) AS avg_home_points FROM game WHERE team_name_home = 'Houston Rockets' AND season_id = '22019'; 117.8333333 +What was the average points scored by the Phoenix Suns in home games during the 2019 season? SELECT AVG(pts_home) AS avg_home_points FROM game WHERE team_name_home = 'Phoenix Suns' AND season_id = '22019'; 114.4871795 +How many games did the Los Angeles Lakers lose by more than 20 points in the 2018 season? SELECT COUNT(*) AS blowout_losses FROM game WHERE (team_name_home = 'Los Angeles Lakers' AND wl_home = 'L' AND plus_minus_home < -20) OR (team_name_away = 'Los Angeles Lakers' AND wl_away = 'L' AND plus_minus_away < -20) AND season_id = '22018'; 71 +How many games did the Houston Rockets lose by more than 20 points in the 2018 season? SELECT COUNT(*) AS blowout_losses FROM game WHERE (team_name_home = 'Houston Rockets' AND wl_home = 'L' AND plus_minus_home < -20) OR (team_name_away = 'Houston Rockets' AND wl_away = 'L' AND plus_minus_away < -20) AND season_id = '22018'; 60 +How many games did the Detroit Pistons lose by more than 20 points in the 2018 season? SELECT COUNT(*) AS blowout_losses FROM game WHERE (team_name_home = 'Detroit Pistons' AND wl_home = 'L' AND plus_minus_home < -20) OR (team_name_away = 'Detroit Pistons' AND wl_away = 'L' AND plus_minus_away < -20) AND season_id = '22018'; 92 +What is the total number of points scored by the Memphis Grizzlies 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 = 'Memphis Grizzlies' AND fg3m_home > 20 UNION ALL SELECT pts_away AS points FROM game WHERE team_name_away = 'Memphis Grizzlies' AND fg3m_away > 20 ); 546 +What is the total number of points scored by the Atlanta Hawks 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 = 'Atlanta Hawks' AND fg3m_home > 20 UNION ALL SELECT pts_away AS points FROM game WHERE team_name_away = 'Atlanta Hawks' AND fg3m_away > 20 ); 1189 +What is the total number of points scored by the Los Angeles Lakers 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 = 'Los Angeles Lakers' AND fg3m_home > 20 UNION ALL SELECT pts_away AS points FROM game WHERE team_name_away = 'Los Angeles Lakers' AND fg3m_away > 20 ); 129 +What is the total number of points scored by the Toronto Raptors 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 = 'Toronto Raptors' AND fg3m_home > 20 UNION ALL SELECT pts_away AS points FROM game WHERE team_name_away = 'Toronto Raptors' AND fg3m_away > 20 ); 1504 +What was the average margin of victory for the Miami Heat in home wins during the 2021 season? SELECT AVG(plus_minus_home) AS avg_victory_margin FROM game WHERE team_name_home = 'Miami Heat' AND wl_home = 'W' AND season_id = '22021'; 13.20689655 +What was the average margin of victory for the Minnesota Timberwolves in home wins during the 2021 season? SELECT AVG(plus_minus_home) AS avg_victory_margin FROM game WHERE team_name_home = 'Minnesota Timberwolves' AND wl_home = 'W' AND season_id = '22021'; 15.84615385 +What was the average margin of victory for the Philadelphia 76ers in home wins during the 2021 season? SELECT AVG(plus_minus_home) AS avg_victory_margin FROM game WHERE team_name_home = 'Philadelphia 76ers' AND wl_home = 'W' AND season_id = '22021'; 12.20833333 +How many games did the Denver Nuggets play that went to overtime in the 2016 season? SELECT COUNT(*) AS overtime_games FROM game WHERE (team_name_home = 'Denver Nuggets' OR team_name_away = 'Denver Nuggets') AND min > 240 AND season_id = '22016'; 3 +How many games did the Boston Celtics play that went to overtime in the 2016 season? SELECT COUNT(*) AS overtime_games FROM game WHERE (team_name_home = 'Boston Celtics' OR team_name_away = 'Boston Celtics') AND min > 240 AND season_id = '22016'; 3 +What's the highest number of points the Sacramento Kings 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 = 'Sacramento Kings' 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 = 'Sacramento Kings' AND g.season_id = '22020' ); 68 +How many games did the Milwaukee Bucks 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 = 'Milwaukee Bucks' AND g.pts_home / 4 > 30) OR (g.team_name_away = 'Milwaukee Bucks' AND g.pts_away / 4 > 30) AND g.season_id = '22017'; 128 +How many games did the Phoenix Suns 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 = 'Phoenix Suns' AND g.pts_home / 4 > 30) OR (g.team_name_away = 'Phoenix Suns' AND g.pts_away / 4 > 30) AND g.season_id = '22017'; 147 +How many times did the Toronto Raptors score more than 120 points but still lose the game? SELECT COUNT(*) AS high_scoring_losses FROM game WHERE ((team_name_home = 'Toronto Raptors' AND pts_home > 120 AND wl_home = 'L') OR (team_name_away = 'Toronto Raptors' AND pts_away > 120 AND wl_away = 'L')); 27 +How many times did the Boston Celtics score more than 120 points but still lose the game? SELECT COUNT(*) AS high_scoring_losses FROM game WHERE ((team_name_home = 'Boston Celtics' AND pts_home > 120 AND wl_home = 'L') OR (team_name_away = 'Boston Celtics' AND pts_away > 120 AND wl_away = 'L')); 92 +How many times did the Milwaukee Bucks score more than 120 points but still lose the game? SELECT COUNT(*) AS high_scoring_losses FROM game WHERE ((team_name_home = 'Milwaukee Bucks' AND pts_home > 120 AND wl_home = 'L') OR (team_name_away = 'Milwaukee Bucks' AND pts_away > 120 AND wl_away = 'L')); 78 +How many times did the Detroit Pistons score more than 120 points but still lose the game? SELECT COUNT(*) AS high_scoring_losses FROM game WHERE ((team_name_home = 'Detroit Pistons' AND pts_home > 120 AND wl_home = 'L') OR (team_name_away = 'Detroit Pistons' AND pts_away > 120 AND wl_away = 'L')); 128 +What is the average number of points scored by the Detroit Pistons 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 = 'Detroit Pistons' 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 = 'Detroit Pistons' AND o.pts_2nd_chance_away >= 15 ); 99.97317437 +What is the average number of points scored by the Oklahoma City Thunder 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 = 'Oklahoma City Thunder' 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 = 'Oklahoma City Thunder' AND o.pts_2nd_chance_away >= 15 ); 107.3780761 +What is the average number of points scored by the Cleveland Cavaliers 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 = 'Cleveland Cavaliers' 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 = 'Cleveland Cavaliers' AND o.pts_2nd_chance_away >= 15 ); 100.0884831 +What is the average number of points scored by the Memphis Grizzlies 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 = 'Memphis Grizzlies' 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 = 'Memphis Grizzlies' AND o.pts_2nd_chance_away >= 15 ); 103.8890815 +How many games did the Miami Heat 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 = 'Miami Heat' AND g.wl_home = 'W' AND o.pts_paint_home < o.pts_paint_away) OR (g.team_name_away = 'Miami Heat' AND g.wl_away = 'W' AND o.pts_paint_away < o.pts_paint_home)); 528 +How many games did the Philadelphia 76ers 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 = 'Philadelphia 76ers' AND g.wl_home = 'W' AND o.pts_paint_home < o.pts_paint_away) OR (g.team_name_away = 'Philadelphia 76ers' AND g.wl_away = 'W' AND o.pts_paint_away < o.pts_paint_home)); 415 +How many games did the Atlanta Hawks 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 = 'Atlanta Hawks' AND g.wl_home = 'W' AND o.pts_paint_home < o.pts_paint_away) OR (g.team_name_away = 'Atlanta Hawks' AND g.wl_away = 'W' AND o.pts_paint_away < o.pts_paint_home)); 396 +How many games did the Washington Wizards 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 = 'Washington Wizards' AND g.wl_home = 'W' AND o.pts_paint_home < o.pts_paint_away) OR (g.team_name_away = 'Washington Wizards' AND g.wl_away = 'W' AND o.pts_paint_away < o.pts_paint_home)); 352 +What's the highest number of blocks recorded by the Minnesota Timberwolves in any game? SELECT MAX(blocks) AS max_blocks FROM ( SELECT blk_home AS blocks FROM game WHERE team_name_home = 'Minnesota Timberwolves' UNION ALL SELECT blk_away AS blocks FROM game WHERE team_name_away = 'Minnesota Timberwolves' ); 16 +What's the highest number of blocks recorded by the Oklahoma City Thunder in any game? SELECT MAX(blocks) AS max_blocks FROM ( SELECT blk_home AS blocks FROM game WHERE team_name_home = 'Oklahoma City Thunder' UNION ALL SELECT blk_away AS blocks FROM game WHERE team_name_away = 'Oklahoma City Thunder' ); 17 +What's the highest number of blocks recorded by the Houston Rockets in any game? SELECT MAX(blocks) AS max_blocks FROM ( SELECT blk_home AS blocks FROM game WHERE team_name_home = 'Houston Rockets' UNION ALL SELECT blk_away AS blocks FROM game WHERE team_name_away = 'Houston Rockets' ); 19 +What's the highest number of blocks recorded by the Los Angeles Lakers in any game? SELECT MAX(blocks) AS max_blocks FROM ( SELECT blk_home AS blocks FROM game WHERE team_name_home = 'Los Angeles Lakers' UNION ALL SELECT blk_away AS blocks FROM game WHERE team_name_away = 'Los Angeles Lakers' ); 20 +What was the average free throw percentage for the Washington Wizards 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 = 'Washington Wizards' AND fta_home >= 25 UNION ALL SELECT ft_pct_away AS ft_pct FROM game WHERE team_name_away = 'Washington Wizards' AND fta_away >= 25 ); 0.7497743491 +What was the average free throw percentage for the Detroit Pistons 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 = 'Detroit Pistons' AND fta_home >= 25 UNION ALL SELECT ft_pct_away AS ft_pct FROM game WHERE team_name_away = 'Detroit Pistons' AND fta_away >= 25 ); 0.7426415293 +What was the average free throw percentage for the Milwaukee Bucks 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 = 'Milwaukee Bucks' AND fta_home >= 25 UNION ALL SELECT ft_pct_away AS ft_pct FROM game WHERE team_name_away = 'Milwaukee Bucks' AND fta_away >= 25 ); 0.7566056099 +What was the average free throw percentage for the Golden State Warriors 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 = 'Golden State Warriors' AND fta_home >= 25 UNION ALL SELECT ft_pct_away AS ft_pct FROM game WHERE team_name_away = 'Golden State Warriors' AND fta_away >= 25 ); 0.754899115 +How many games did the Washington Wizards 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 = 'Washington Wizards' OR team_name_away = 'Washington Wizards') AND pts_home > 100 AND pts_away > 100 AND season_id = '22010'; 23 +How many games did the Oklahoma City Thunder 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 = 'Oklahoma City Thunder' OR team_name_away = 'Oklahoma City Thunder') AND pts_home > 100 AND pts_away > 100 AND season_id = '22010'; 36 +How many games did the Phoenix Suns 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 = 'Phoenix Suns' OR team_name_away = 'Phoenix Suns') AND pts_home > 100 AND pts_away > 100 AND season_id = '22010'; 36 +What is the total number of points scored by the Milwaukee Bucks 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 = 'Milwaukee Bucks' AND fg3m_home > 15 UNION ALL SELECT pts_away AS points FROM game WHERE team_name_away = 'Milwaukee Bucks' AND fg3m_away > 15 ) AS combined_games 19453 +What is the total number of points scored by the Memphis Grizzlies 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 = 'Memphis Grizzlies' AND fg3m_home > 15 UNION ALL SELECT pts_away AS points FROM game WHERE team_name_away = 'Memphis Grizzlies' AND fg3m_away > 15 ) AS combined_games 7559 +What is the total number of points scored by the Brooklyn Nets 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 = 'Brooklyn Nets' AND fg3m_home > 15 UNION ALL SELECT pts_away AS points FROM game WHERE team_name_away = 'Brooklyn Nets' AND fg3m_away > 15 ) AS combined_games 16458 +What is the total number of points scored by the Portland Trail Blazers 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 = 'Portland Trail Blazers' AND fg3m_home > 15 UNION ALL SELECT pts_away AS points FROM game WHERE team_name_away = 'Portland Trail Blazers' AND fg3m_away > 15 ) AS combined_games 17779 +How many total rebounds did the Charlotte Hornets 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 = 'Charlotte Hornets' AND pts_home >= 110 UNION ALL SELECT reb_away AS rebounds FROM game WHERE team_name_away = 'Charlotte Hornets' AND pts_away >= 110 ) AS combined_games 25073 +How many total rebounds did the Los Angeles Lakers 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 = 'Los Angeles Lakers' AND pts_home >= 110 UNION ALL SELECT reb_away AS rebounds FROM game WHERE team_name_away = 'Los Angeles Lakers' AND pts_away >= 110 ) AS combined_games 65281 +How many total rebounds did the Cleveland Cavaliers 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 = 'Cleveland Cavaliers' AND pts_home >= 110 UNION ALL SELECT reb_away AS rebounds FROM game WHERE team_name_away = 'Cleveland Cavaliers' AND pts_away >= 110 ) AS combined_games 37890 +What is the average number of assists per game for the New York Knicks 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 = 'New York Knicks' AND wl_home = 'W' AND season_id = '22018' UNION ALL SELECT ast_away AS assists FROM game WHERE team_name_away = 'New York Knicks' AND wl_away = 'W' AND season_id = '22018' ) AS winning_games 22.11764706 +What is the highest number of steals the Orlando Magic 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 = 'Orlando Magic' AND season_id = '22019' UNION ALL SELECT stl_away AS steals FROM game WHERE team_name_away = 'Orlando Magic' AND season_id = '22019' ) AS all_games 18 +What is the total number of points the Phoenix Suns 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 = 'Phoenix Suns' 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 = 'Phoenix Suns' AND g.season_id = '22020' ) AS all_games 2960 +What is the total number of points the Atlanta Hawks 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 = 'Atlanta Hawks' 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 = 'Atlanta Hawks' AND g.season_id = '22020' ) AS all_games 2914 +What is the total number of points the Toronto Raptors 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 = 'Toronto Raptors' 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 = 'Toronto Raptors' AND g.season_id = '22020' ) AS all_games 2416 +How many games did the Indiana Pacers 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 = 'Indiana Pacers' AND ast_home > 25 AND wl_home = 'W' UNION ALL SELECT game_id FROM game WHERE team_name_away = 'Indiana Pacers' AND ast_away > 25 AND wl_away = 'W' ) AS winning_games_with_assists 718 +How many games did the San Antonio Spurs 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 = 'San Antonio Spurs' AND ast_home > 25 AND wl_home = 'W' UNION ALL SELECT game_id FROM game WHERE team_name_away = 'San Antonio Spurs' AND ast_away > 25 AND wl_away = 'W' ) AS winning_games_with_assists 950 +How many games did the Sacramento Kings 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 = 'Sacramento Kings' AND ast_home > 25 AND wl_home = 'W' UNION ALL SELECT game_id FROM game WHERE team_name_away = 'Sacramento Kings' AND ast_away > 25 AND wl_away = 'W' ) AS winning_games_with_assists 583 +How many games did the Detroit Pistons 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 = 'Detroit Pistons' AND ast_home > 25 AND wl_home = 'W' UNION ALL SELECT game_id FROM game WHERE team_name_away = 'Detroit Pistons' AND ast_away > 25 AND wl_away = 'W' ) AS winning_games_with_assists 667 +What was the average number of fast break points scored by the Golden State Warriors 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 = 'Golden State Warriors' 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 = 'Golden State Warriors' AND g.wl_away = 'L' AND g.season_id = '22017' ) AS losing_games 13.5 +What was the average number of fast break points scored by the Phoenix Suns 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 = 'Phoenix Suns' 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 = 'Phoenix Suns' AND g.wl_away = 'L' AND g.season_id = '22017' ) AS losing_games 14.02 +What was the average number of fast break points scored by the Utah Jazz 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 = 'Utah Jazz' 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 = 'Utah Jazz' AND g.wl_away = 'L' AND g.season_id = '22017' ) AS losing_games 8.678571429 +What is the total number of points scored by the Chicago Bulls 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 = 'Chicago Bulls' 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 = 'Chicago Bulls' AND g.season_id = '22021' ) AS all_games 1054 +What is the total number of points scored by the Orlando Magic 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 = 'Orlando Magic' 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 = 'Orlando Magic' AND g.season_id = '22021' ) AS all_games 1122 +What is the total number of points scored by the Atlanta Hawks 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 = 'Atlanta Hawks' 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 = 'Atlanta Hawks' AND g.season_id = '22021' ) AS all_games 1068 +What is the total number of points scored by the Golden State Warriors 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 = 'Golden State Warriors' 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 = 'Golden State Warriors' AND g.season_id = '22021' ) AS all_games 1228 +What is the average shooting percentage of the Houston Rockets 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 = 'Houston Rockets' AND pts_home >= 100 AND season_id = '22019' UNION ALL SELECT fg_pct_away AS fg_pct FROM game WHERE team_name_away = 'Houston Rockets' AND pts_away >= 100 AND season_id = '22019' ) AS high_scoring_games 0.4548656716 +How many total blocks did the Golden State Warriors 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 = 'Golden State Warriors' AND tov_home > 10 UNION ALL SELECT blk_away AS blocks FROM game WHERE team_name_away = 'Golden State Warriors' AND tov_away > 10 ) AS turnover_games 15563 +How many total blocks did the Phoenix Suns 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 = 'Phoenix Suns' AND tov_home > 10 UNION ALL SELECT blk_away AS blocks FROM game WHERE team_name_away = 'Phoenix Suns' AND tov_away > 10 ) AS turnover_games 14272 +How many total blocks did the Cleveland Cavaliers 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 = 'Cleveland Cavaliers' AND tov_home > 10 UNION ALL SELECT blk_away AS blocks FROM game WHERE team_name_away = 'Cleveland Cavaliers' AND tov_away > 10 ) AS turnover_games 14149 +How many total blocks did the Indiana Pacers 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 = 'Indiana Pacers' AND tov_home > 10 UNION ALL SELECT blk_away AS blocks FROM game WHERE team_name_away = 'Indiana Pacers' AND tov_away > 10 ) AS turnover_games 14375 +What was the average number of rebounds per game for the Philadelphia 76ers in 1989? SELECT AVG(rebounds) AS avg_rebounds FROM ( SELECT reb_home AS rebounds FROM game WHERE team_name_home = 'Philadelphia 76ers' AND season_id = '21989' UNION ALL SELECT reb_away AS rebounds FROM game WHERE team_name_away = 'Philadelphia 76ers' AND season_id = '21989' ) AS all_games 42.8902439 +What was the average number of rebounds per game for the Indiana Pacers in 1989? SELECT AVG(rebounds) AS avg_rebounds FROM ( SELECT reb_home AS rebounds FROM game WHERE team_name_home = 'Indiana Pacers' AND season_id = '21989' UNION ALL SELECT reb_away AS rebounds FROM game WHERE team_name_away = 'Indiana Pacers' AND season_id = '21989' ) AS all_games 40.58536585 +What was the total number of points scored by the Orlando Magic in the 2014 season? SELECT SUM(points) AS total_points FROM ( SELECT pts_home AS points FROM game WHERE team_name_home = 'Orlando Magic' AND season_id = '22014' UNION ALL SELECT pts_away AS points FROM game WHERE team_name_away = 'Orlando Magic' AND season_id = '22014' ) AS season_games 7847 +What was the total number of points scored by the Boston Celtics in the 2014 season? SELECT SUM(points) AS total_points FROM ( SELECT pts_home AS points FROM game WHERE team_name_home = 'Boston Celtics' AND season_id = '22014' UNION ALL SELECT pts_away AS points FROM game WHERE team_name_away = 'Boston Celtics' AND season_id = '22014' ) AS season_games 8312 +How many points did Michael Jordan's Orlando Magic 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 = 'Orlando Magic' 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 = 'Orlando Magic' AND g.season_id = '21997' ) AS all_games 2808 +What was the average margin of victory for the Brooklyn Nets 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 = 'Brooklyn Nets' AND wl_home = 'W' AND season_id = '22013' UNION ALL SELECT plus_minus_away AS victory_margin FROM game WHERE team_name_away = 'Brooklyn Nets' AND wl_away = 'W' AND season_id = '22013' ) AS victories 9.590909091 +What was the average margin of victory for the Phoenix Suns 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 = 'Phoenix Suns' AND wl_home = 'W' AND season_id = '22013' UNION ALL SELECT plus_minus_away AS victory_margin FROM game WHERE team_name_away = 'Phoenix Suns' AND wl_away = 'W' AND season_id = '22013' ) AS victories 10.25 +What was the average margin of victory for the Cleveland Cavaliers 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 = 'Cleveland Cavaliers' AND wl_home = 'W' AND season_id = '22013' UNION ALL SELECT plus_minus_away AS victory_margin FROM game WHERE team_name_away = 'Cleveland Cavaliers' AND wl_away = 'W' AND season_id = '22013' ) AS victories 9.848484848 +How many times have the Memphis Grizzlies 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 = 'Memphis Grizzlies' AND pts_home > 120 AND wl_home = 'L') OR (team_name_away = 'Memphis Grizzlies' AND pts_away > 120 AND wl_away = 'L') ) AS games 25 +How many times have the Charlotte Hornets 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 = 'Charlotte Hornets' AND pts_home > 120 AND wl_home = 'L') OR (team_name_away = 'Charlotte Hornets' AND pts_away > 120 AND wl_away = 'L') ) AS games 33 +How many times have the Miami Heat 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 = 'Miami Heat' AND pts_home > 120 AND wl_home = 'L') OR (team_name_away = 'Miami Heat' AND pts_away > 120 AND wl_away = 'L') ) AS games 19 +How many times have the Toronto Raptors 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 = 'Toronto Raptors' AND pts_home > 120 AND wl_home = 'L') OR (team_name_away = 'Toronto Raptors' AND pts_away > 120 AND wl_away = 'L') ) AS games 27 +What was the highest number of points scored by the Phoenix Suns 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 = 'Phoenix Suns' AND season_id = '22020' GROUP BY team_name_home, season_id; 140.0 | Phoenix Suns | 22020 +How many fastbreak points did the Indiana Pacers 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 = 'Indiana Pacers' AND g.season_id = '22019' ORDER BY g.pts_home DESC LIMIT 1; 13 | 127.0 +How many fastbreak points did the Utah Jazz 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 = 'Utah Jazz' AND g.season_id = '22019' ORDER BY g.pts_home DESC LIMIT 1; 5 | 129.0 +What is the average number of points scored in the paint by the Indiana Pacers 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 = 'Indiana Pacers' 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 = 'Indiana Pacers' AND g.wl_home = 'L') AS avg_paint_points_losses FROM game LIMIT 1; 39.110743801652895 | 39.765060240963855 +What is the average number of points scored in the paint by the San Antonio Spurs 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 = 'San Antonio Spurs' 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 = 'San Antonio Spurs' AND g.wl_home = 'L') AS avg_paint_points_losses FROM game LIMIT 1; 41.113233287858115 | 42.29962546816479 +What is the average number of points scored in the paint by the Dallas Mavericks 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 = 'Dallas Mavericks' 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 = 'Dallas Mavericks' AND g.wl_home = 'L') AS avg_paint_points_losses FROM game LIMIT 1; 40.436708860759495 | 41.01457725947522 +What is the average number of points scored in the paint by the Milwaukee Bucks 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 = 'Milwaukee Bucks' 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 = 'Milwaukee Bucks' AND g.wl_home = 'L') AS avg_paint_points_losses FROM game LIMIT 1; 41.95454545454545 | 40.8578811369509 +What was the average free throw percentage for the Boston Celtics 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 = 'Boston Celtics' AND pts_home > 100 AND season_id = '22018'; 0.8231351351 +What was the average free throw percentage for the Charlotte Hornets 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 = 'Charlotte Hornets' AND pts_home > 100 AND season_id = '22018'; 0.8074285714 +In which season did the Brooklyn Nets 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 = 'Brooklyn Nets' GROUP BY g.season_id ORDER BY avg_paint_points DESC LIMIT 1; 22018 | 53.0625 +In which season did the Cleveland Cavaliers 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 = 'Cleveland Cavaliers' GROUP BY g.season_id ORDER BY avg_paint_points DESC LIMIT 1; 22020 | 54.13793103448276 +In which season did the Philadelphia 76ers 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 = 'Philadelphia 76ers' GROUP BY g.season_id ORDER BY avg_paint_points DESC LIMIT 1; 42018 | 53.6 +In which season did the Boston Celtics 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 = 'Boston Celtics' GROUP BY g.season_id ORDER BY avg_paint_points DESC LIMIT 1; 12022 | 58.0 +What's the total number of blocks the Miami Heat recorded at home in the 2019 season compared to the 2020 season? SELECT (SELECT SUM(blk_home) FROM game WHERE team_name_home = 'Miami Heat' AND season_id = '22019') AS blocks_2019, (SELECT SUM(blk_home) FROM game WHERE team_name_home = 'Miami Heat' AND season_id = '22020') AS blocks_2020, (SELECT SUM(blk_home) FROM game WHERE team_name_home = 'Miami Heat' AND season_id = '22020') - (SELECT SUM(blk_home) FROM game WHERE team_name_home = 'Miami Heat' AND season_id = '22019') AS blocks_difference FROM game LIMIT 1; 164.0 | 151.0 | -13.0 +What's the total number of blocks the Memphis Grizzlies recorded at home in the 2019 season compared to the 2020 season? SELECT (SELECT SUM(blk_home) FROM game WHERE team_name_home = 'Memphis Grizzlies' AND season_id = '22019') AS blocks_2019, (SELECT SUM(blk_home) FROM game WHERE team_name_home = 'Memphis Grizzlies' AND season_id = '22020') AS blocks_2020, (SELECT SUM(blk_home) FROM game WHERE team_name_home = 'Memphis Grizzlies' AND season_id = '22020') - (SELECT SUM(blk_home) FROM game WHERE team_name_home = 'Memphis Grizzlies' AND season_id = '22019') AS blocks_difference FROM game LIMIT 1; 214.0 | 189.0 | -25.0 +What's the total number of blocks the Chicago Bulls recorded at home in the 2019 season compared to the 2020 season? SELECT (SELECT SUM(blk_home) FROM game WHERE team_name_home = 'Chicago Bulls' AND season_id = '22019') AS blocks_2019, (SELECT SUM(blk_home) FROM game WHERE team_name_home = 'Chicago Bulls' AND season_id = '22020') AS blocks_2020, (SELECT SUM(blk_home) FROM game WHERE team_name_home = 'Chicago Bulls' AND season_id = '22020') - (SELECT SUM(blk_home) FROM game WHERE team_name_home = 'Chicago Bulls' AND season_id = '22019') AS blocks_difference FROM game LIMIT 1; 151.0 | 146.0 | -5.0 +Which opponent did the Memphis Grizzlies 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 = 'Memphis Grizzlies' ORDER BY o.lead_changes DESC LIMIT 1; Memphis | 22 +Which opponent did the Washington Wizards 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 = 'Washington Wizards' ORDER BY o.lead_changes DESC LIMIT 1; Washington | 26 +Which opponent did the Sacramento Kings 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 = 'Sacramento Kings' ORDER BY o.lead_changes DESC LIMIT 1; Los Angeles | 27 +What was the shooting efficiency (field goal percentage) difference between the Atlanta Hawks 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 = 'Atlanta Hawks' AND wl_home = 'W' AND season_id = '22019'; 0.05 +What was the shooting efficiency (field goal percentage) difference between the Oklahoma City Thunder 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 = 'Oklahoma City Thunder' AND wl_home = 'W' AND season_id = '22019'; 0.0677826087 +In games where the Memphis Grizzlies 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 = 'Memphis Grizzlies' AND pts_home > 110; 4.561946903 +In games where the Charlotte Hornets 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 = 'Charlotte Hornets' AND pts_home > 110; 2.312280702 +How many points did the Milwaukee Bucks 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 = 'Milwaukee Bucks' AND g.season_id = '22017' ORDER BY g.pts_home DESC LIMIT 1; 34 | 123.0 +How many points did the Phoenix Suns 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 = 'Phoenix Suns' AND g.season_id = '22017' ORDER BY g.pts_home DESC LIMIT 1; 33 | 130.0 +In which season did the Atlanta Hawks 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 = 'Atlanta Hawks' AND wl_home = 'L' GROUP BY season_id ORDER BY avg_ft_pct DESC LIMIT 1; 42013 | 0.9375 +In which season did the Orlando Magic 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 = 'Orlando Magic' AND wl_home = 'L' GROUP BY season_id ORDER BY avg_ft_pct DESC LIMIT 1; 12020 | 0.917 +In which season did the Cleveland Cavaliers 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 = 'Cleveland Cavaliers' AND wl_home = 'L' GROUP BY season_id ORDER BY avg_ft_pct DESC LIMIT 1; 41984 | 0.882 +What is the average number of points in the paint scored by the Phoenix Suns 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 = 'Phoenix Suns' 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 = 'Phoenix Suns' AND g.season_id = '22018' AND CAST(strftime('%m', g.game_date) AS INTEGER) > 6) AS second_half_avg FROM game LIMIT 1; 51.523809523809526 | 49.1764705882353 +What was the largest lead held by the Toronto Raptors 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 = 'Toronto Raptors' AND g.wl_home = 'L' ORDER BY o.largest_lead_home DESC LIMIT 1; 40 | 2020-08-07 00:00:00 +What was the largest lead held by the Cleveland Cavaliers 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 = 'Cleveland Cavaliers' AND g.wl_home = 'L' ORDER BY o.largest_lead_home DESC LIMIT 1; 45 | 2020-02-09 00:00:00 +What was the largest lead held by the Dallas Mavericks 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 = 'Dallas Mavericks' AND g.wl_home = 'L' ORDER BY o.largest_lead_home DESC LIMIT 1; 39 | 2016-02-05 00:00:00 +What's the combined assist-to-turnover ratio for the Boston Celtics 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 = 'Boston Celtics' 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.662931224 +What's the combined assist-to-turnover ratio for the Oklahoma City Thunder 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 = 'Oklahoma City Thunder' 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.519992121 +What's the combined assist-to-turnover ratio for the Portland Trail Blazers 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 = 'Portland Trail Blazers' 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.73976718 +In games where the Atlanta Hawks 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 = 'Atlanta Hawks' AND o.pts_fb_home > o.pts_fb_away; 55.36105033 +In games where the Oklahoma City Thunder 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 = 'Oklahoma City Thunder' AND o.pts_fb_home > o.pts_fb_away; 63.33333333 +In games where the Portland Trail Blazers 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 = 'Portland Trail Blazers' AND o.pts_fb_home > o.pts_fb_away; 65.30612245 +What was the average margin of victory for the San Antonio Spurs in home games during the 2000 season? SELECT AVG(pts_home - pts_away) AS avg_victory_margin FROM game WHERE team_name_home = 'San Antonio Spurs' AND wl_home = 'W' AND season_id = '22000'; 15.24242424 +What was the lowest number of combined turnovers in any game involving the Orlando Magic 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 = 'Orlando Magic' OR g.team_name_away = 'Orlando Magic') AND g.season_id = '22019'; 16 +What was the lowest number of combined turnovers in any game involving the Chicago Bulls 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 = 'Chicago Bulls' OR g.team_name_away = 'Chicago Bulls') AND g.season_id = '22019'; 23 +What was the lowest number of combined turnovers in any game involving the Milwaukee Bucks 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 = 'Milwaukee Bucks' OR g.team_name_away = 'Milwaukee Bucks') AND g.season_id = '22019'; 17 +What was the average points per game for the Denver Nuggets 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 = 'Denver Nuggets' AND season_id = '22018' ) SELECT AVG(g.pts_home) AS avg_points FROM game g, season_avg s WHERE g.team_name_home = 'Denver Nuggets' AND g.season_id = '22018' AND g.fg3a_home > s.avg_3pa; 115.7142857 +What was the average points per game for the Charlotte Hornets 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 = 'Charlotte Hornets' AND season_id = '22018' ) SELECT AVG(g.pts_home) AS avg_points FROM game g, season_avg s WHERE g.team_name_home = 'Charlotte Hornets' AND g.season_id = '22018' AND g.fg3a_home > s.avg_3pa; 113.7647059 +What was the average points per game for the Orlando Magic 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 = 'Orlando Magic' AND season_id = '22018' ) SELECT AVG(g.pts_home) AS avg_points FROM game g, season_avg s WHERE g.team_name_home = 'Orlando Magic' AND g.season_id = '22018' AND g.fg3a_home > s.avg_3pa; 113.1578947 +In games where the Oklahoma City Thunder 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 = 'Oklahoma City Thunder' AND o.pts_paint_home > 50; 0.5611510791 +In games where the Portland Trail Blazers 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 = 'Portland Trail Blazers' AND o.pts_paint_home > 50; 0.5735294118 +In games where the Los Angeles Lakers 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 = 'Los Angeles Lakers' AND o.pts_paint_home > 50; 0.6074652354 +In games where the Washington Wizards 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 = 'Washington Wizards' AND o.pts_paint_home > 50; 0.585620915 +What was the difference in three-point shooting volume (attempts) between the Los Angeles Lakers 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 = 'Los Angeles Lakers' AND season_id = '22016'; -1.170731707 +What was the difference in three-point shooting volume (attempts) between the Boston Celtics 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 = 'Boston Celtics' AND season_id = '22016'; 6.073170732 +What was the difference in three-point shooting volume (attempts) between the Detroit Pistons 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 = 'Detroit Pistons' AND season_id = '22016'; -2.048780488 +In games where the Phoenix Suns 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 = 'Phoenix Suns' AND stl_home > 10 AND season_id = '21998'; 50 +In games where the New York Knicks 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 = 'New York Knicks' AND stl_home > 10 AND season_id = '21998'; 100 +In games where the Atlanta Hawks 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 = 'Atlanta Hawks' AND stl_home > 10 AND season_id = '21998'; 100 +What was the average points scored by the New York Knicks 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 = 'New York Knicks' AND fg_pct_home > fg_pct_away AND wl_home = 'L'; 99.52121212 +What was the average points scored by the Atlanta Hawks 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 = 'Atlanta Hawks' AND fg_pct_home > fg_pct_away AND wl_home = 'L'; 101.3474576 +What was the average points scored by the Toronto Raptors 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 = 'Toronto Raptors' AND fg_pct_home > fg_pct_away AND wl_home = 'L'; 99.39805825 +What was the average points scored by the Chicago Bulls 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 = 'Chicago Bulls' AND fg_pct_home > fg_pct_away AND wl_home = 'L'; 98.77272727 +What was the average points per game the Orlando Magic 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 = 'Orlando Magic' AND oreb_home > oreb_away AND season_id = '22018'; 108.2727273 +What was the average points per game the Milwaukee Bucks 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 = 'Milwaukee Bucks' AND oreb_home > oreb_away AND season_id = '22018'; 118.7142857 +What was the average points per game the Chicago Bulls 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 = 'Chicago Bulls' AND oreb_home > oreb_away AND season_id = '22018'; 106.6 +What was the average margin of victory for the New York Knicks 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 = 'New York Knicks' AND pts_home > 100 AND pts_away < 90; 24.33793103 +What was the average margin of victory for the Portland Trail Blazers 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 = 'Portland Trail Blazers' AND pts_home > 100 AND pts_away < 90; 26.78832117 +What was the average margin of victory for the Golden State Warriors 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 = 'Golden State Warriors' AND pts_home > 100 AND pts_away < 90; 25.47252747 +What was the average margin of victory for the Toronto Raptors 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 = 'Toronto Raptors' AND pts_home > 100 AND pts_away < 90; 23.72857143 +In which season did the Memphis Grizzlies 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 = 'Memphis Grizzlies' GROUP BY season_id ORDER BY assist_to_turnover_ratio DESC LIMIT 1; 42020 | 2.7222222222222223 +In which season did the Minnesota Timberwolves 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 = 'Minnesota Timberwolves' GROUP BY season_id ORDER BY assist_to_turnover_ratio DESC LIMIT 1; 41996 | 3.75 +In which season did the Sacramento Kings 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 = 'Sacramento Kings' GROUP BY season_id ORDER BY assist_to_turnover_ratio DESC LIMIT 1; 22022 | 2.142056074766355 +In which season did the Utah Jazz 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 = 'Utah Jazz' GROUP BY season_id ORDER BY assist_to_turnover_ratio DESC LIMIT 1; 21984 | 92.08333333333333 +Which opponent did the Oklahoma City Thunder 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 = 'Oklahoma City Thunder' AND g.season_id = '22019' ORDER BY o.pts_fb_home DESC LIMIT 1; Memphis Grizzlies | 23 +Which opponent did the Washington Wizards 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 = 'Washington Wizards' AND g.season_id = '22019' ORDER BY o.pts_fb_home DESC LIMIT 1; Houston Rockets | 21 +What was the difference in three-point shooting accuracy between the Orlando Magic 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 = 'Orlando Magic' AND season_id = '22018'; 0.00143902439 +What was the difference in three-point shooting accuracy between the Los Angeles Lakers 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 = 'Los Angeles Lakers' AND season_id = '22018'; -0.01895121951 +What was the average number of lead changes in games where the Detroit Pistons 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 = 'Detroit Pistons' AND g.wl_home = 'W' AND (g.pts_home - g.pts_away) < 5; 8.487179487 +What was the average number of lead changes in games where the Denver Nuggets 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 = 'Denver Nuggets' AND g.wl_home = 'W' AND (g.pts_home - g.pts_away) < 5; 9.0625 +What was the average number of lead changes in games where the Los Angeles Lakers 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 = 'Los Angeles Lakers' AND g.wl_home = 'W' AND (g.pts_home - g.pts_away) < 5; 9.530864198 +What was the average number of lead changes in games where the Miami Heat 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 = 'Miami Heat' AND g.wl_home = 'W' AND (g.pts_home - g.pts_away) < 5; 8.221153846 +What was the highest number of points the Chicago Bulls 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 = 'Chicago Bulls' AND season_id = '22016' ) SELECT MAX(g.pts_home) AS max_points FROM game g, season_avg s WHERE g.team_name_home = 'Chicago Bulls' AND g.season_id = '22016' AND g.fg3_pct_home < s.avg_3pt_pct; 118 +What was the points in the paint difference between the Phoenix Suns 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 = 'Phoenix Suns' AND g.wl_home = 'W' AND (g.pts_home - g.pts_away) >= 10 AND g.season_id = '22020'; -3.428571429 +What was the points in the paint difference between the Oklahoma City Thunder 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 = 'Oklahoma City Thunder' AND g.wl_home = 'W' AND (g.pts_home - g.pts_away) >= 10 AND g.season_id = '22020'; 8 +What was the largest deficit overcome by the San Antonio Spurs 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 = 'San Antonio Spurs' AND g.wl_home = 'W' ORDER BY o.largest_lead_away DESC LIMIT 1; 44 +What was the largest deficit overcome by the Charlotte Hornets 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 = 'Charlotte Hornets' AND g.wl_home = 'W' ORDER BY o.largest_lead_away DESC LIMIT 1; 35 +What was the largest deficit overcome by the Houston Rockets 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 = 'Houston Rockets' AND g.wl_home = 'W' ORDER BY o.largest_lead_away DESC LIMIT 1; 62 +What was the largest deficit overcome by the Los Angeles Lakers 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 = 'Los Angeles Lakers' AND g.wl_home = 'W' ORDER BY o.largest_lead_away DESC LIMIT 1; 56 +What was the difference in points per field goal attempt between the Milwaukee Bucks 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 = 'Milwaukee Bucks' AND season_id = '22018'; 0.156449043 +What was the difference in points per field goal attempt between the Denver Nuggets 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 = 'Denver Nuggets' AND season_id = '22018'; 0.07093616668 +What was the difference in points per field goal attempt between the Memphis Grizzlies 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 = 'Memphis Grizzlies' AND season_id = '22018'; -0.0221110495 +Which season saw the Denver Nuggets 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 = 'Denver Nuggets' GROUP BY season_id ORDER BY steal_to_turnover_ratio DESC LIMIT 1; 41989 | 1.5 +Which season saw the New York Knicks 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 = 'New York Knicks' GROUP BY season_id ORDER BY steal_to_turnover_ratio DESC LIMIT 1; 41989 | 0.9069767441860465 +Which season saw the Houston Rockets 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 = 'Houston Rockets' GROUP BY season_id ORDER BY steal_to_turnover_ratio DESC LIMIT 1; 12017 | 0.9310344827586207 +Which season saw the Atlanta Hawks 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 = 'Atlanta Hawks' GROUP BY season_id ORDER BY steal_to_turnover_ratio DESC LIMIT 1; 21993 | 0.8769771528998243 +What was the average rebounding margin for the Brooklyn Nets 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 = 'Brooklyn Nets' AND fg_pct_home > 0.5; 1.87628866 +What was the average rebounding margin for the Chicago Bulls 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 = 'Chicago Bulls' AND fg_pct_home > 0.5; 5.482546201 +What was the average rebounding margin for the Miami Heat 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 = 'Miami Heat' AND fg_pct_home > 0.5; 3.857855362 +What was the difference in second-chance points between the Memphis Grizzlies 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 = 'Memphis Grizzlies' AND g.season_id = '22016' ORDER BY ABS(g.pts_home - g.pts_away) ASC LIMIT 1; -16 +Which opponent gave up the most points in the paint to the Orlando Magic 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 = 'Orlando Magic' AND g.season_id = '22019' ORDER BY o.pts_paint_home DESC LIMIT 1; Atlanta Hawks | 58 +Which opponent gave up the most points in the paint to the Portland Trail Blazers 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 = 'Portland Trail Blazers' AND g.season_id = '22019' ORDER BY o.pts_paint_home DESC LIMIT 1; Indiana Pacers | 56 +What was the average free throw attempt difference between the Milwaukee Bucks 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 = 'Milwaukee Bucks' AND wl_home = 'L' AND season_id = '22017'; -0.1875 +What was the average free throw attempt difference between the New Orleans Pelicans 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 = 'New Orleans Pelicans' AND wl_home = 'L' AND season_id = '22017'; -0.5294117647 +What was the average free throw attempt difference between the San Antonio Spurs 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 = 'San Antonio Spurs' AND wl_home = 'L' AND season_id = '22017'; -3.375 +What is the ratio of team rebounds to total rebounds for the Indiana Pacers 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 = 'Indiana Pacers' ORDER BY g.pts_home DESC LIMIT 1; 0.1333333333 +What is the ratio of team rebounds to total rebounds for the Sacramento Kings 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 = 'Sacramento Kings' ORDER BY g.pts_home DESC LIMIT 1; 0.1395348837 +What is the ratio of team rebounds to total rebounds for the New York Knicks 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 = 'New York Knicks' ORDER BY g.pts_home DESC LIMIT 1; 0.3191489362 +What was the highest combined total of second chance points in any game involving the Charlotte Hornets 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 = 'Charlotte Hornets' OR g.team_name_away = 'Charlotte Hornets') AND g.season_id = '22017'; 40 +What was the highest combined total of second chance points in any game involving the Golden State Warriors 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 = 'Golden State Warriors' OR g.team_name_away = 'Golden State Warriors') AND g.season_id = '22017'; 40 +What was the highest combined total of second chance points in any game involving the Toronto Raptors 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 = 'Toronto Raptors' OR g.team_name_away = 'Toronto Raptors') AND g.season_id = '22017'; 46 +What was the highest number of points scored by the Washington Wizards in any home game during the 2019 season? SELECT MAX(pts_home) AS max_points FROM game WHERE team_name_home = 'Washington Wizards' AND season_id = '22019'; 158 +What was the highest number of points scored by the Sacramento Kings in any home game during the 2019 season? SELECT MAX(pts_home) AS max_points FROM game WHERE team_name_home = 'Sacramento Kings' AND season_id = '22019'; 140 +What is the average number of assists per game for the Dallas Mavericks when playing at home versus away? SELECT (SELECT AVG(ast_home) FROM game WHERE team_name_home = 'Dallas Mavericks') AS avg_home_assists, (SELECT AVG(ast_away) FROM game WHERE team_name_away = 'Dallas Mavericks') AS avg_away_assists FROM game LIMIT 1; 22.7425799086758 | 21.782312925170068 +What is the average number of assists per game for the Orlando Magic when playing at home versus away? SELECT (SELECT AVG(ast_home) FROM game WHERE team_name_home = 'Orlando Magic') AS avg_home_assists, (SELECT AVG(ast_away) FROM game WHERE team_name_away = 'Orlando Magic') AS avg_away_assists FROM game LIMIT 1; 22.146461107217938 | 21.407977606717985 +What is the average number of assists per game for the Charlotte Hornets when playing at home versus away? SELECT (SELECT AVG(ast_home) FROM game WHERE team_name_home = 'Charlotte Hornets') AS avg_home_assists, (SELECT AVG(ast_away) FROM game WHERE team_name_away = 'Charlotte Hornets') AS avg_away_assists FROM game LIMIT 1; 25.46153846153846 | 23.086368366285118 +What is the average number of assists per game for the San Antonio Spurs when playing at home versus away? SELECT (SELECT AVG(ast_home) FROM game WHERE team_name_home = 'San Antonio Spurs') AS avg_home_assists, (SELECT AVG(ast_away) FROM game WHERE team_name_away = 'San Antonio Spurs') AS avg_away_assists FROM game LIMIT 1; 24.695700110253583 | 22.720596355604638 +What was the total number of blocks recorded by the Brooklyn Nets in home games during the 2018 season? SELECT SUM(blk_home) AS total_blocks FROM game WHERE team_name_home = 'Brooklyn Nets' AND season_id = '22018'; 160 +What was the total number of blocks recorded by the Detroit Pistons in home games during the 2018 season? SELECT SUM(blk_home) AS total_blocks FROM game WHERE team_name_home = 'Detroit Pistons' AND season_id = '22018'; 169 +What was the total number of blocks recorded by the New Orleans Pelicans in home games during the 2018 season? SELECT SUM(blk_home) AS total_blocks FROM game WHERE team_name_home = 'New Orleans Pelicans' AND season_id = '22018'; 215 +What is the win percentage for the Atlanta Hawks 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 = 'Atlanta Hawks' AND pts_home > 100; 74.29805616 +What is the win percentage for the Denver Nuggets 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 = 'Denver Nuggets' AND pts_home > 100; 74.58100559 +What is the win percentage for the New York Knicks 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 = 'New York Knicks' AND pts_home > 100; 69.94434137 +What is the win percentage for the Washington Wizards 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 = 'Washington Wizards' AND pts_home > 100; 68.37748344 +Which opponent did the Boston Celtics 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 = 'Boston Celtics' AND wl_home = 'W' GROUP BY team_name_away ORDER BY victory_margin DESC LIMIT 1; Sacramento Kings | 53.0 +Which opponent did the San Antonio Spurs 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 = 'San Antonio Spurs' AND wl_home = 'W' GROUP BY team_name_away ORDER BY victory_margin DESC LIMIT 1; Vancouver Grizzlies | 49.0 +Which opponent did the Golden State Warriors 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 = 'Golden State Warriors' AND wl_home = 'W' GROUP BY team_name_away ORDER BY victory_margin DESC LIMIT 1; Sacramento Kings | 62.0 +What was the average number of fastbreak points scored by the Miami Heat 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 = 'Miami Heat' AND g.wl_home = 'W' AND g.season_id = '22020'; 10 +What was the average number of fastbreak points scored by the Utah Jazz 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 = 'Utah Jazz' AND g.wl_home = 'W' AND g.season_id = '22020'; 12.75 +What was the average number of fastbreak points scored by the Oklahoma City Thunder 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 = 'Oklahoma City Thunder' AND g.wl_home = 'W' AND g.season_id = '22020'; 6.444444444 +What is the difference in free throw percentage between the Denver Nuggets and their opponents in home games? SELECT AVG(ft_pct_home - ft_pct_away) AS ft_pct_diff FROM game WHERE team_name_home = 'Denver Nuggets'; 0.008081012658 +What is the difference in free throw percentage between the Miami Heat and their opponents in home games? SELECT AVG(ft_pct_home - ft_pct_away) AS ft_pct_diff FROM game WHERE team_name_home = 'Miami Heat'; -0.009185760518 +What is the difference in free throw percentage between the Memphis Grizzlies and their opponents in home games? SELECT AVG(ft_pct_home - ft_pct_away) AS ft_pct_diff FROM game WHERE team_name_home = 'Memphis Grizzlies'; -0.0113573701 +What is the difference in free throw percentage between the Los Angeles Lakers and their opponents in home games? SELECT AVG(ft_pct_home - ft_pct_away) AS ft_pct_diff FROM game WHERE team_name_home = 'Los Angeles Lakers'; 0.002106870229 +What was the average points in the paint for the New York Knicks 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 = 'New York Knicks'; 39.03950103950104 | 40.95945945945946 +What was the average points in the paint for the Los Angeles Lakers 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 = 'Los Angeles Lakers'; 45.28637059724349 | 45.103641456582636 +What was the average points in the paint for the Golden State Warriors 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 = 'Golden State Warriors'; 44.50498338870432 | 42.919220055710305 +What was the average points in the paint for the Minnesota Timberwolves 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 = 'Minnesota Timberwolves'; 40.809034907597535 | 41.574074074074076 +What was the field goal percentage difference between the Cleveland Cavaliers 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 = 'Cleveland Cavaliers' AND wl_home = 'L' AND (pts_away - pts_home) < 5; -0.01460119048 +What was the field goal percentage difference between the New Orleans Pelicans 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 = 'New Orleans Pelicans' AND wl_home = 'L' AND (pts_away - pts_home) < 5; -0.009204545455 +What was the field goal percentage difference between the Toronto Raptors 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 = 'Toronto Raptors' AND wl_home = 'L' AND (pts_away - pts_home) < 5; -0.02115436242 +What was the average three-point shooting percentage for the Orlando Magic 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 = 'Orlando Magic' AND pts_home > 110; 0.4145505319 +What was the average three-point shooting percentage for the Milwaukee Bucks 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 = 'Milwaukee Bucks' AND pts_home > 110; 0.3933064833 +What was the average three-point shooting percentage for the New Orleans Pelicans 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 = 'New Orleans Pelicans' AND pts_home > 110; 0.387 +What was the average margin of victory for the Portland Trail Blazers 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 = 'Portland Trail Blazers' AND wl_home = 'W' AND ast_home > ast_away; 14.5455665 +What was the average margin of victory for the Phoenix Suns 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 = 'Phoenix Suns' AND wl_home = 'W' AND ast_home > ast_away; 14.00434783 +What was the average margin of victory for the Cleveland Cavaliers 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 = 'Cleveland Cavaliers' AND wl_home = 'W' AND ast_home > ast_away; 14.04697987 +What was the average margin of victory for the Sacramento Kings 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 = 'Sacramento Kings' AND wl_home = 'W' AND ast_home > ast_away; 12.6792144 +Which opponent did the Portland Trail Blazers 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 = 'Portland Trail Blazers' AND season_id = '22017' GROUP BY team_name_away ORDER BY reb_diff DESC LIMIT 1; Cleveland Cavaliers | 16.0 +What was the average number of fastbreak points scored by the New York Knicks 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 = 'New York Knicks' AND g.wl_home = 'W' AND (g.pts_home - g.pts_away) > 15; 9.518518519 +What was the average number of fastbreak points scored by the Chicago Bulls 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 = 'Chicago Bulls' AND g.wl_home = 'W' AND (g.pts_home - g.pts_away) > 15; 13.70068027 +What was the average number of fastbreak points scored by the Denver Nuggets 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 = 'Denver Nuggets' AND g.wl_home = 'W' AND (g.pts_home - g.pts_away) > 15; 15.71195652 +What was the average number of fastbreak points scored by the San Antonio Spurs 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 = 'San Antonio Spurs' AND g.wl_home = 'W' AND (g.pts_home - g.pts_away) > 15; 13.22826087 +What is the win percentage for the Milwaukee Bucks 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 = 'Milwaukee Bucks' AND fg3m_home < fg3m_away; 51.80878553 +What is the win percentage for the Washington Wizards 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 = 'Washington Wizards' AND fg3m_home < fg3m_away; 41.37323944 +What is the win percentage for the Brooklyn Nets 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 = 'Brooklyn Nets' AND fg3m_home < fg3m_away; 34.83146067 +What is the average difference in points in the paint between the Washington Wizards 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 = 'Washington Wizards'; 0.2579908676 +What is the average difference in points in the paint between the Chicago Bulls 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 = 'Chicago Bulls'; 0.5323741007 +What is the average difference in points in the paint between the New York Knicks 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 = 'New York Knicks'; -0.3610810811 +Which season saw the Miami Heat 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 = 'Miami Heat' GROUP BY season_id ORDER BY avg_steals DESC LIMIT 1; 42017 | 12.5 +Which season saw the Boston Celtics 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 = 'Boston Celtics' GROUP BY season_id ORDER BY avg_steals DESC LIMIT 1; 12020 | 13.0 +Which season saw the Los Angeles Lakers 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 = 'Los Angeles Lakers' GROUP BY season_id ORDER BY avg_steals DESC LIMIT 1; 41981 | 12.333333333333334 +What was the shooting percentage from the field for the Los Angeles Lakers in their highest scoring home game of the 2019 season? SELECT fg_pct_home AS shooting_percentage FROM game WHERE team_name_home = 'Los Angeles Lakers' AND season_id = '22019' ORDER BY pts_home DESC LIMIT 1; 0.585 +What is the average number of lead changes in games where the Oklahoma City Thunder 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 = 'Oklahoma City Thunder' AND g.wl_home = 'W' AND (g.pts_home - g.pts_away) < 10; 6.884057971 +What is the average number of lead changes in games where the New Orleans Pelicans 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 = 'New Orleans Pelicans' AND g.wl_home = 'W' AND (g.pts_home - g.pts_away) < 10; 9.03960396 +What is the average number of lead changes in games where the Orlando Magic 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 = 'Orlando Magic' AND g.wl_home = 'W' AND (g.pts_home - g.pts_away) < 10; 7.601626016 +What was the difference in average free throw attempts between the Chicago Bulls 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 = 'Chicago Bulls' AND season_id = '22020'; -3.5 +What was the difference in average free throw attempts between the Philadelphia 76ers 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 = 'Philadelphia 76ers' AND season_id = '22020'; 1.333333333 +What was the difference in average free throw attempts between the Atlanta Hawks 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 = 'Atlanta Hawks' AND season_id = '22020'; 4.055555556 +Which opponent did the Orlando Magic 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 = 'Orlando Magic' GROUP BY team_name_away ORDER BY max_points DESC LIMIT 1; Denver Nuggets | 155.0 +Which opponent did the Minnesota Timberwolves 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 = 'Minnesota Timberwolves' GROUP BY team_name_away ORDER BY max_points DESC LIMIT 1; Chicago Bulls | 150.0 +Which opponent did the Detroit Pistons 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 = 'Detroit Pistons' GROUP BY team_name_away ORDER BY max_points DESC LIMIT 1; Boston Celtics | 160.0 +What is the average combined offensive rebounds for the Portland Trail Blazers 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 = 'Portland Trail Blazers' AND wl_home = 'W'; 24.50967742 +What is the average combined offensive rebounds for the Miami Heat 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 = 'Miami Heat' AND wl_home = 'W'; 21.84720759 +What is the average combined offensive rebounds for the New York Knicks 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 = 'New York Knicks' AND wl_home = 'W'; 24.20994475 +What is the average combined offensive rebounds for the Orlando Magic 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 = 'Orlando Magic' AND wl_home = 'W'; 23.70048309 +When was the Orlando Magic team founded according to the team database? SELECT year_founded FROM team WHERE full_name = 'Orlando Magic'; 1989 +When was the Memphis Grizzlies team founded according to the team database? SELECT year_founded FROM team WHERE full_name = 'Memphis Grizzlies'; 1995 +What state are the Miami Heat based in according to the team table? SELECT state FROM team WHERE full_name = 'Miami Heat'; Florida +What state are the Washington Wizards based in according to the team table? SELECT state FROM team WHERE full_name = 'Washington Wizards'; District of Columbia +What state are the Denver Nuggets based in according to the team table? SELECT state FROM team WHERE full_name = 'Denver Nuggets'; Colorado +What is the abbreviation for the Sacramento Kings in the team table? SELECT abbreviation FROM team WHERE full_name = 'Sacramento Kings'; SAC +What is the abbreviation for the Atlanta Hawks in the team table? SELECT abbreviation FROM team WHERE full_name = 'Atlanta Hawks'; ATL +What is the abbreviation for the Miami Heat in the team table? SELECT abbreviation FROM team WHERE full_name = 'Miami Heat'; MIA +What is the abbreviation for the Dallas Mavericks in the team table? SELECT abbreviation FROM team WHERE full_name = 'Dallas Mavericks'; DAL +What is the maximum number of team rebounds recorded by the Cleveland Cavaliers 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 = 'CLE' AND g.pf_away > 20 AND g.season_id = '22021'; 11 +How many times did the Atlanta Hawks 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 = 'ATL' 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 +How many times did the Cleveland Cavaliers 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 = 'CLE' 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 +How many times did the New Orleans Pelicans 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 = 'NOP' AND g.wl_home = 'L' AND g.stl_home > g.stl_away AND g.blk_home > g.blk_away AND g.season_id = '22002'; 0 +How many times did the Washington Wizards 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 = 'WAS' AND g.wl_home = 'L' AND g.stl_home > g.stl_away AND g.blk_home > g.blk_away AND g.season_id = '22002'; 2 +In games from the 2003 season, how often did the Charlotte Hornets win despite committing more turnovers and having fewer rebounds than their opponent? SELECT COUNT(*) FROM game g WHERE ((g.team_abbreviation_home = 'CHA' AND g.wl_home = 'W' AND g.tov_home > g.tov_away AND g.reb_home < g.reb_away) OR (g.team_abbreviation_away = 'CHA' 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 +In games from the 2003 season, how often did the Detroit Pistons win despite committing more turnovers and having fewer rebounds than their opponent? SELECT COUNT(*) FROM game g WHERE ((g.team_abbreviation_home = 'DET' AND g.wl_home = 'W' AND g.tov_home > g.tov_away AND g.reb_home < g.reb_away) OR (g.team_abbreviation_away = 'DET' AND g.wl_away = 'W' AND g.tov_away > g.tov_home AND g.reb_away < g.reb_home)) AND g.season_id = '22003'; 4 +In games from the 2007 season, how often did the Oklahoma City Thunder win despite committing more turnovers and having fewer rebounds than their opponent? SELECT COUNT(*) FROM game g WHERE ((g.team_abbreviation_home = 'OKC' AND g.wl_home = 'W' AND g.tov_home > g.tov_away AND g.reb_home < g.reb_away) OR (g.team_abbreviation_away = 'OKC' AND g.wl_away = 'W' AND g.tov_away > g.tov_home AND g.reb_away < g.reb_home)) AND g.season_id = '22007'; 0 +In games from the 2007 season, how often did the Indiana Pacers win despite committing more turnovers and having fewer rebounds than their opponent? SELECT COUNT(*) FROM game g WHERE ((g.team_abbreviation_home = 'IND' AND g.wl_home = 'W' AND g.tov_home > g.tov_away AND g.reb_home < g.reb_away) OR (g.team_abbreviation_away = 'IND' AND g.wl_away = 'W' AND g.tov_away > g.tov_home AND g.reb_away < g.reb_home)) AND g.season_id = '22007'; 5 +How many times did the Chicago Bulls 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 = 'CHI' AND g.wl_home = 'L' AND g.stl_home > g.stl_away AND g.blk_home > g.blk_away AND g.season_id = '22015'; 0 +In games from the 2010 season, how often did the Memphis Grizzlies win despite committing more turnovers and having fewer rebounds than their opponent? SELECT COUNT(*) FROM game g WHERE ((g.team_abbreviation_home = 'MEM' AND g.wl_home = 'W' AND g.tov_home > g.tov_away AND g.reb_home < g.reb_away) OR (g.team_abbreviation_away = 'MEM' 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 +In 2013, what was the average number of rebounds by the Houston Rockets 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 = 'HOU' AND o.times_tied >= 10 AND o.lead_changes < 10 AND g.season_id = '22013'; 49 +In 2013, what was the average number of rebounds by the Boston Celtics 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 = 'BOS' AND o.times_tied >= 10 AND o.lead_changes < 10 AND g.season_id = '22013'; 40.25 +In 2013, what was the average number of rebounds by the Chicago Bulls 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 = 'CHI' AND o.times_tied >= 10 AND o.lead_changes < 10 AND g.season_id = '22013'; 40 +What is the total number of points scored by the Milwaukee Bucks 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 = 'MIL' AND o.team_turnovers_home > o.team_turnovers_away AND o.total_turnovers_home < o.total_turnovers_away AND g.season_id = '22014'; 397 +How many points did the Minnesota Timberwolves score as visitors in their most turnover-heavy game? SELECT pts_away FROM game WHERE team_abbreviation_away = 'MIN' ORDER BY tov_away DESC LIMIT 1; 82 +How many points did the New York Knicks score as visitors in their most turnover-heavy game? SELECT pts_away FROM game WHERE team_abbreviation_away = 'NYK' ORDER BY tov_away DESC LIMIT 1; 80 +How many points did the Detroit Pistons score as visitors in their most turnover-heavy game? SELECT pts_away FROM game WHERE team_abbreviation_away = 'DET' ORDER BY tov_away DESC LIMIT 1; 103 +How many points did the Houston Rockets score as visitors in their most turnover-heavy game? SELECT pts_away FROM game WHERE team_abbreviation_away = 'HOU' ORDER BY tov_away DESC LIMIT 1; 94 +How many points did the Miami Heat score in the highest scoring away game they played? SELECT MAX(pts_away) FROM game WHERE team_abbreviation_away = 'MIA'; 134 +How many points did the Boston Celtics score in the highest scoring away game they played? SELECT MAX(pts_away) FROM game WHERE team_abbreviation_away = 'BOS'; 148 +How many points did the Atlanta Hawks score in the highest scoring away game they played? SELECT MAX(pts_away) FROM game WHERE team_abbreviation_away = 'ATL'; 155 +How many points did the Sacramento Kings score in the highest scoring away game they played? SELECT MAX(pts_away) FROM game WHERE team_abbreviation_away = 'SAC'; 176 +How many points did the Atlanta Hawks score in their last home game? SELECT pts_home FROM game WHERE team_abbreviation_home = 'ATL' ORDER BY game_date DESC LIMIT 1; 120 +How many points did the Boston Celtics score in their last home game? SELECT pts_home FROM game WHERE team_abbreviation_home = 'BOS' ORDER BY game_date DESC LIMIT 1; 84 +How many points did the Minnesota Timberwolves score in their last home game? SELECT pts_home FROM game WHERE team_abbreviation_home = 'MIN' ORDER BY game_date DESC LIMIT 1; 114 +How many points did the Oklahoma City Thunder score in their last home game? SELECT pts_home FROM game WHERE team_abbreviation_home = 'OKC' ORDER BY game_date DESC LIMIT 1; 115 +How many points did the Minnesota Timberwolves score in their first away game in 2010? SELECT pts_away FROM game WHERE team_abbreviation_away = 'MIN' AND season_id = '22010' ORDER BY game_date ASC LIMIT 1; 89 +How many points did the Toronto Raptors score in their first away game in 2010? SELECT pts_away FROM game WHERE team_abbreviation_away = 'TOR' AND season_id = '22010' ORDER BY game_date ASC LIMIT 1; 108 +How many points did the Cleveland Cavaliers score in their lowest-scoring game at home? SELECT MIN(pts_home) FROM game WHERE team_abbreviation_home = 'CLE'; 62 +How many points did the Portland Trail Blazers score in their lowest-scoring game at home? SELECT MIN(pts_home) FROM game WHERE team_abbreviation_home = 'POR'; 60 +How many points did the Detroit Pistons score in their lowest-scoring game at home? SELECT MIN(pts_home) FROM game WHERE team_abbreviation_home = 'DET'; 64 +How many points did the Toronto Raptors score in their final game of the 1996 season? SELECT pts_home FROM game WHERE team_abbreviation_home = 'TOR' AND season_id = '21996' ORDER BY game_date DESC LIMIT 1; 89 +How many points did the Philadelphia 76ers score in their final game of the 1996 season? SELECT pts_home FROM game WHERE team_abbreviation_home = 'PHI' AND season_id = '21996' ORDER BY game_date DESC LIMIT 1; 113 +How many points did the Indiana Pacers score as a home team in the game where they had the most blocks? SELECT pts_home FROM game WHERE team_abbreviation_home = 'IND' ORDER BY blk_home DESC LIMIT 1; 97 +How many points did the New York Knicks score as a home team in the game where they had the most blocks? SELECT pts_home FROM game WHERE team_abbreviation_home = 'NYK' ORDER BY blk_home DESC LIMIT 1; 89 +How many points did the Orlando Magic score as a home team in the game where they had the most blocks? SELECT pts_home FROM game WHERE team_abbreviation_home = 'ORL' ORDER BY blk_home DESC LIMIT 1; 90 +How many points did the Milwaukee Bucks score in their lowest scoring home win? SELECT pts_home FROM game WHERE team_abbreviation_home = 'MIL' AND wl_home = 'W' ORDER BY pts_home ASC LIMIT 1; 78 +How many points did the Philadelphia 76ers score in their lowest scoring home win? SELECT pts_home FROM game WHERE team_abbreviation_home = 'PHI' AND wl_home = 'W' ORDER BY pts_home ASC LIMIT 1; 72 +How many points were scored by the New York Knicks at home in a game with more than 100 combined rebounds? SELECT pts_home FROM game WHERE team_abbreviation_home = 'NYK' AND (reb_home + reb_away) > 100 ORDER BY game_date DESC LIMIT 1; 105 +How many points were scored by the Los Angeles Lakers at home in a game with more than 100 combined rebounds? SELECT pts_home FROM game WHERE team_abbreviation_home = 'LAL' AND (reb_home + reb_away) > 100 ORDER BY game_date DESC LIMIT 1; 117 +How many points were scored by the Dallas Mavericks at home in a game with more than 100 combined rebounds? SELECT pts_home FROM game WHERE team_abbreviation_home = 'DAL' AND (reb_home + reb_away) > 100 ORDER BY game_date DESC LIMIT 1; 117 +Which home team had the most wins when playing against the Cleveland Cavaliers? SELECT team_name_home FROM game WHERE team_name_away = 'Cleveland Cavaliers' AND wl_home = 'W' GROUP BY team_name_home ORDER BY COUNT(*) DESC LIMIT 1; Boston Celtics +Which home team had the most wins when playing against the Orlando Magic? SELECT team_name_home FROM game WHERE team_name_away = 'Orlando Magic' AND wl_home = 'W' GROUP BY team_name_home ORDER BY COUNT(*) DESC LIMIT 1; Detroit Pistons +Which home team had the most wins when playing against the Houston Rockets? SELECT team_name_home FROM game WHERE team_name_away = 'Houston Rockets' AND wl_home = 'W' GROUP BY team_name_home ORDER BY COUNT(*) DESC LIMIT 1; San Antonio Spurs +Which home team had the most wins when playing against the Milwaukee Bucks? SELECT team_name_home FROM game WHERE team_name_away = 'Milwaukee Bucks' AND wl_home = 'W' GROUP BY team_name_home ORDER BY COUNT(*) DESC LIMIT 1; Chicago Bulls +Which home team had the most blocks in a game where the away team was the Chicago Bulls? SELECT team_name_home FROM game WHERE team_name_away = 'Chicago Bulls' ORDER BY blk_home DESC LIMIT 1; San Antonio Spurs +Which home team had the most blocks in a game where the away team was the Phoenix Suns? SELECT team_name_home FROM game WHERE team_name_away = 'Phoenix Suns' ORDER BY blk_home DESC LIMIT 1; New Jersey Nets +Which home team had the most blocks in a game where the away team was the Washington Wizards? SELECT team_name_home FROM game WHERE team_name_away = 'Washington Wizards' ORDER BY blk_home DESC LIMIT 1; Los Angeles Lakers +Which home team had the most blocks in a game where the away team was the Utah Jazz? SELECT team_name_home FROM game WHERE team_name_away = 'Utah Jazz' ORDER BY blk_home DESC LIMIT 1; New Orleans Pelicans +What is the maximum number of team rebounds recorded by the Memphis Grizzlies 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 = 'MEM' AND g.pf_away > 20 AND g.season_id = '22003'; 11 +Which team was founded in the same year as the Golden State Warriors? SELECT full_name FROM team WHERE year_founded = (SELECT year_founded FROM team WHERE full_name = 'Golden State Warriors'); ('Boston Celtics',) | ('Golden State Warriors',) | ('New York Knicks',) +Which team was founded in the same year as the Chicago Bulls? SELECT full_name FROM team WHERE year_founded = (SELECT year_founded FROM team WHERE full_name = 'Chicago Bulls'); Chicago Bulls +Which team was founded in the same year as the Los Angeles Lakers? SELECT full_name FROM team WHERE year_founded = (SELECT year_founded FROM team WHERE full_name = 'Los Angeles Lakers'); ('Los Angeles Lakers',) | ('Sacramento Kings',) | ('Detroit Pistons',) +Which team was founded in the same year as the Memphis Grizzlies? SELECT full_name FROM team WHERE year_founded = (SELECT year_founded FROM team WHERE full_name = 'Memphis Grizzlies'); ('Toronto Raptors',) | ('Memphis Grizzlies',) +Which teams share the same city as the Brooklyn Nets? SELECT full_name FROM team WHERE city = (SELECT city FROM team WHERE full_name = 'Brooklyn Nets'); Brooklyn Nets +Which teams share the same city as the Dallas Mavericks? SELECT full_name FROM team WHERE city = (SELECT city FROM team WHERE full_name = 'Dallas Mavericks'); Dallas Mavericks +In the 2020 season, what was the average number of second chance points allowed by the Portland Trail Blazers 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 = 'POR' AND g.wl_home = 'W' AND ABS(g.pts_home - g.pts_away) < 5) OR (g.team_abbreviation_away = 'POR' AND g.wl_away = 'W' AND ABS(g.pts_home - g.pts_away) < 5)) AND g.season_id = '22020'; 14.2 +Which teams were founded in the same state as the Brooklyn Nets? SELECT full_name FROM team WHERE state = (SELECT state FROM team WHERE full_name = 'Brooklyn Nets'); ('Brooklyn Nets',) | ('New York Knicks',) +Which teams were founded in the same state as the Chicago Bulls? SELECT full_name FROM team WHERE state = (SELECT state FROM team WHERE full_name = 'Chicago Bulls'); Chicago Bulls +Which teams were founded in the same state as the Orlando Magic? SELECT full_name FROM team WHERE state = (SELECT state FROM team WHERE full_name = 'Orlando Magic'); ('Miami Heat',) | ('Orlando Magic',) +What is the most points the Portland Trail Blazers have scored at home? SELECT MAX(pts_home) FROM game WHERE team_name_home = 'Portland Trail Blazers'; 156 +What is the most points the Washington Wizards have scored at home? SELECT MAX(pts_home) FROM game WHERE team_name_home = 'Washington Wizards'; 158 +What is the most points the Milwaukee Bucks have scored at home? SELECT MAX(pts_home) FROM game WHERE team_name_home = 'Milwaukee Bucks'; 158 +What is the second-highest number of points the Minnesota Timberwolves have ever scored in a single home game? SELECT pts_home FROM game WHERE team_name_home = 'Minnesota Timberwolves' ORDER BY pts_home DESC LIMIT 1 OFFSET 1; 144 +What is the second-highest number of points the Denver Nuggets have ever scored in a single home game? SELECT pts_home FROM game WHERE team_name_home = 'Denver Nuggets' ORDER BY pts_home DESC LIMIT 1 OFFSET 1; 168 +What is the second-highest number of points the Oklahoma City Thunder have ever scored in a single home game? SELECT pts_home FROM game WHERE team_name_home = 'Oklahoma City Thunder' ORDER BY pts_home DESC LIMIT 1 OFFSET 1; 150 +How many home games did the Minnesota Timberwolves win in the 2017 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'MIN' AND wl_home = 'W' AND season_id = '22017'; 30 +How many home games did the Denver Nuggets win in the 2017 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'DEN' AND wl_home = 'W' AND season_id = '22017'; 31 +How many home games did the New York Knicks win in the 2017 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'NYK' AND wl_home = 'W' AND season_id = '22017'; 19 +What is the average number of assists by the Oklahoma City Thunder in home wins? SELECT AVG(ast_home) FROM game WHERE team_abbreviation_home = 'OKC' AND wl_home = 'W'; 22.64691358 +What is the average number of assists by the New York Knicks in home wins? SELECT AVG(ast_home) FROM game WHERE team_abbreviation_home = 'NYK' AND wl_home = 'W'; 24.16334661 +Which game had the highest total points scored by both teams when the New Orleans Pelicans played at home? SELECT game_id, (pts_home + pts_away) AS total_points FROM game WHERE team_abbreviation_home = 'NOP' ORDER BY total_points DESC LIMIT 1; 0021800022 | 278.0 +Which game had the highest total points scored by both teams when the Utah Jazz played at home? SELECT game_id, (pts_home + pts_away) AS total_points FROM game WHERE team_abbreviation_home = 'UTA' ORDER BY total_points DESC LIMIT 1; 0020901156 | 279.0 +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 +Which game had the highest total points scored by both teams when the Charlotte Hornets played at home? SELECT game_id, (pts_home + pts_away) AS total_points FROM game WHERE team_abbreviation_home = 'CHA' ORDER BY total_points DESC LIMIT 1; 0022200857 | 282.0 +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 +How many times did the Atlanta Hawks score over 120 points at home? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'ATL' AND pts_home > 120; 316 +How many times did the Sacramento Kings score over 120 points at home? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'SAC' AND pts_home > 120; 180 +How many times did the Toronto Raptors score over 120 points at home? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'TOR' AND pts_home > 120; 108 +What is the highest three-point percentage the Boston Celtics achieved in an away game? SELECT MAX(fg3_pct_away) FROM game WHERE team_abbreviation_away = 'BOS'; 1 +What is the highest three-point percentage the Atlanta Hawks achieved in an away game? SELECT MAX(fg3_pct_away) FROM game WHERE team_abbreviation_away = 'ATL'; 1 +What was the average points difference in home games won by the Sacramento Kings? SELECT AVG(pts_home - pts_away) FROM game WHERE team_abbreviation_home = 'SAC' AND wl_home = 'W'; 11.33807829 +What was the average points difference in home games won by the Minnesota Timberwolves? SELECT AVG(pts_home - pts_away) FROM game WHERE team_abbreviation_home = 'MIN' AND wl_home = 'W'; 11.10410557 +What is the total number of rebounds by the Oklahoma City Thunder in home games during the 2015 season? SELECT SUM(reb_home) FROM game WHERE team_abbreviation_home = 'OKC' AND season_id = '22015'; 1981 +Which Toronto Raptors 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 = 'Toronto Raptors' ORDER BY os.lead_changes DESC LIMIT 1; 2006-02-05 00:00:00 | 37 +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; 2009-04-26 00:00:00 | 28 +Which Milwaukee Bucks 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 = 'Milwaukee Bucks' ORDER BY os.lead_changes DESC LIMIT 1; 2013-12-18 00:00:00 | 30 +Which New Orleans Pelicans 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 = 'New Orleans Pelicans' ORDER BY os.lead_changes DESC LIMIT 1; 2016-03-31 00:00:00 | 27 +How many Dallas Mavericks 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 = 'DAL' AND os.pts_paint_home > os.pts_paint_away; 448 +How many Detroit Pistons 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 = 'DET' AND os.pts_paint_home > os.pts_paint_away; 467 +How many Houston Rockets 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 = 'HOU' AND os.pts_paint_home > os.pts_paint_away; 441 +How many Dallas Mavericks home games had over 15 offensive rebounds and 10+ steals? SELECT game_date, oreb_home, stl_home FROM game WHERE team_name_home = 'Dallas Mavericks' AND oreb_home > 15 AND stl_home >= 10; ('1985-04-18 00:00:00', 24.0, 11.0) | ('1985-11-09 00:00:00', 22.0, 17.0) | ('1986-01-04 00:00:00', 16.0, 15.0) | ('1986-01-31 00:00:00', 16.0, 10.0) | ('1986-11-04 00:00:00', 18.0, 11.0) | ('1986-11-15 00:00:00', 23.0, 17.0) | ('1987-01-21 00:00:00', 18.0, 12.0) | ('1987-02-14 00:00:00', 16.0, 11.0) | ('1987-03-11 00:00:00', 20.0, 12.0) | ('1987-03-31 00:00:00', 20.0, 12.0) | ('1987-04-03 00:00:00', 23.0, 14.0) | ('1987-04-18 00:00:00', 19.0, 15.0) | ('1987-11-18 00:00:00', 22.0, 10.0) | ('1987-12-05 00:00:00', 18.0, 12.0) | ('1987-12-09 00:00:00', 19.0, 13.0) | ('1987-12-29 00:00:00', 16.0, 10.0) | ('1988-01-22 00:00:00', 17.0, 11.0) | ('1988-02-19 00:00:00', 18.0, 12.0) | ('1988-03-02 00:00:00', 28.0, 13.0) | ('1988-03-14 00:00:00', 26.0, 11.0) | ('1988-04-08 00:00:00', 23.0, 12.0) | ('1988-06-02 00:00:00', 18.0, 10.0) | ('1988-11-04 00:00:00', 19.0, 13.0) | ('1989-01-27 00:00:00', 18.0, 12.0) | ('1989-04-12 00:00:00', 20.0, 12.0) | ('1989-11-03 00:00:00', 16.0, 10.0) | ('1990-02-13 00:00:00', 16.0, 13.0) | ('1990-03-02 00:00:00', 17.0, 10.0) | ('1990-04-01 00:00:00', 24.0, 15.0) | ('1990-11-03 00:00:00', 18.0, 10.0) | ('1991-01-29 00:00:00', 17.0, 12.0) | ('1991-02-21 00:00:00', 22.0, 10.0) | ('1991-11-27 00:00:00', 20.0, 10.0) | ('1991-12-21 00:00:00', 21.0, 10.0) | ('1992-01-18 00:00:00', 24.0, 13.0) | ('1992-04-01 00:00:00', 20.0, 10.0) | ('1992-11-11 00:00:00', 19.0, 11.0) | ('1992-11-14 00:00:00', 18.0, 10.0) | ('1992-11-27 00:00:00', 17.0, 11.0) | ('1993-01-09 00:00:00', 17.0, 12.0) | ('1993-02-10 00:00:00', 19.0, 11.0) | ('1993-02-13 00:00:00', 16.0, 11.0) | ('1993-02-24 00:00:00', 23.0, 10.0) | ('1993-04-02 00:00:00', 23.0, 11.0) | ('1993-04-16 00:00:00', 17.0, 12.0) | ('1993-04-20 00:00:00', 22.0, 10.0) | ('1993-12-14 00:00:00', 23.0, 12.0) | ('1994-01-29 00:00:00', 18.0, 12.0) | ('1994-02-10 00:00:00', 21.0, 19.0) | ('1994-02-17 00:00:00', 23.0, 10.0) | ('1994-03-08 00:00:00', 17.0, 14.0) | ('1994-03-13 00:00:00', 30.0, 11.0) | ('1994-04-24 00:00:00', 17.0, 13.0) | ('1994-12-01 00:00:00', 25.0, 10.0) | ('1994-12-30 00:00:00', 24.0, 11.0) | ('1995-01-03 00:00:00', 28.0, 12.0) | ('1995-02-28 00:00:00', 21.0, 11.0) | ('1995-03-25 00:00:00', 17.0, 10.0) | ('1995-04-07 00:00:00', 28.0, 10.0) | ('1995-11-07 00:00:00', 21.0, 10.0) | ('1995-12-28 00:00:00', 37.0, 11.0) | ('1996-02-19 00:00:00', 16.0, 11.0) | ('1996-02-25 00:00:00', 20.0, 12.0) | ('1996-03-22 00:00:00', 30.0, 11.0) | ('1996-04-02 00:00:00', 23.0, 12.0) | ('1996-04-16 00:00:00', 24.0, 10.0) | ('1996-11-29 00:00:00', 17.0, 10.0) | ('1997-04-14 00:00:00', 23.0, 10.0) | ('1998-01-06 00:00:00', 17.0, 10.0) | ('1998-01-08 00:00:00', 17.0, 12.0) | ('1998-03-05 00:00:00', 19.0, 13.0) | ('1999-03-13 00:00:00', 16.0, 11.0) | ('2001-01-20 00:00:00', 23.0, 10.0) | ('2001-03-09 00:00:00', 18.0, 11.0) | ('2002-03-09 00:00:00', 16.0, 11.0) | ('2003-11-01 00:00:00', 16.0, 10.0) | ('2003-12-02 00:00:00', 22.0, 11.0) | ('2003-12-06 00:00:00', 21.0, 10.0) | ('2004-03-08 00:00:00', 24.0, 12.0) | ('2004-03-19 00:00:00', 16.0, 11.0) | ('2004-03-30 00:00:00', 17.0, 12.0) | ('2004-04-24 00:00:00', 23.0, 19.0) | ('2004-11-06 00:00:00', 16.0, 11.0) | ('2004-11-22 00:00:00', 16.0, 10.0) | ('2004-12-18 00:00:00', 16.0, 14.0) | ('2005-02-24 00:00:00', 23.0, 11.0) | ('2005-04-07 00:00:00', 16.0, 10.0) | ('2005-05-13 00:00:00', 24.0, 11.0) | ('2005-11-26 00:00:00', 17.0, 11.0) | ('2006-01-07 00:00:00', 19.0, 10.0) | ('2006-04-16 00:00:00', 18.0, 12.0) | ('2007-03-30 00:00:00', 16.0, 10.0) | ('2006-10-21 00:00:00', 17.0, 10.0) | ('2007-04-22 00:00:00', 19.0, 10.0) | ('2007-12-19 00:00:00', 19.0, 11.0) | ('2008-04-02 00:00:00', 17.0, 10.0) | ('2008-11-11 00:00:00', 20.0, 10.0) | ('2008-11-14 00:00:00', 16.0, 11.0) | ('2009-11-20 00:00:00', 17.0, 10.0) | ('2009-12-12 00:00:00', 20.0, 14.0) | ('2010-02-17 00:00:00', 16.0, 11.0) | ('2010-11-12 00:00:00', 16.0, 10.0) | ('2010-12-07 00:00:00', 16.0, 12.0) | ('2012-01-04 00:00:00', 19.0, 10.0) | ('2012-02-22 00:00:00', 21.0, 10.0) | ('2012-02-28 00:00:00', 17.0, 13.0) | ('2014-11-26 00:00:00', 20.0, 12.0) | ('2014-12-13 00:00:00', 17.0, 11.0) | ('2015-02-07 00:00:00', 20.0, 11.0) | ('2015-12-26 00:00:00', 16.0, 10.0) +How many Chicago Bulls home games had over 15 offensive rebounds and 10+ steals? SELECT game_date, oreb_home, stl_home FROM game WHERE team_name_home = 'Chicago Bulls' AND oreb_home > 15 AND stl_home >= 10; ('1986-01-30 00:00:00', 16.0, 12.0) | ('1986-02-01 00:00:00', 20.0, 11.0) | ('1986-02-22 00:00:00', 21.0, 13.0) | ('1986-11-22 00:00:00', 17.0, 11.0) | ('1986-12-23 00:00:00', 16.0, 11.0) | ('1987-01-15 00:00:00', 18.0, 13.0) | ('1987-02-26 00:00:00', 18.0, 11.0) | ('1987-03-06 00:00:00', 17.0, 11.0) | ('1987-04-28 00:00:00', 19.0, 11.0) | ('1987-12-29 00:00:00', 20.0, 13.0) | ('1988-01-02 00:00:00', 18.0, 14.0) | ('1988-01-05 00:00:00', 16.0, 10.0) | ('1988-01-07 00:00:00', 18.0, 13.0) | ('1988-02-15 00:00:00', 17.0, 10.0) | ('1988-03-10 00:00:00', 21.0, 12.0) | ('1988-03-18 00:00:00', 20.0, 12.0) | ('1988-04-08 00:00:00', 20.0, 11.0) | ('1989-01-03 00:00:00', 19.0, 12.0) | ('1989-01-24 00:00:00', 17.0, 10.0) | ('1989-01-31 00:00:00', 18.0, 10.0) | ('1989-02-07 00:00:00', 16.0, 17.0) | ('1989-03-28 00:00:00', 21.0, 10.0) | ('1989-04-02 00:00:00', 16.0, 11.0) | ('1989-04-04 00:00:00', 16.0, 15.0) | ('1989-05-13 00:00:00', 23.0, 10.0) | ('1990-01-21 00:00:00', 16.0, 11.0) | ('1990-03-02 00:00:00', 17.0, 14.0) | ('1990-03-26 00:00:00', 16.0, 17.0) | ('1990-11-02 00:00:00', 17.0, 14.0) | ('1990-12-07 00:00:00', 16.0, 13.0) | ('1990-12-15 00:00:00', 17.0, 12.0) | ('1990-12-29 00:00:00', 25.0, 13.0) | ('1991-01-05 00:00:00', 17.0, 13.0) | ('1991-01-25 00:00:00', 17.0, 12.0) | ('1991-03-01 00:00:00', 22.0, 10.0) | ('1991-03-05 00:00:00', 16.0, 10.0) | ('1991-03-18 00:00:00', 16.0, 13.0) | ('1991-12-28 00:00:00', 19.0, 11.0) | ('1992-01-04 00:00:00', 23.0, 12.0) | ('1992-03-06 00:00:00', 16.0, 17.0) | ('1992-03-11 00:00:00', 19.0, 10.0) | ('1992-03-24 00:00:00', 18.0, 16.0) | ('1992-04-13 00:00:00', 18.0, 11.0) | ('1992-04-26 00:00:00', 19.0, 15.0) | ('1992-05-27 00:00:00', 16.0, 13.0) | ('1992-12-09 00:00:00', 16.0, 10.0) | ('1992-12-21 00:00:00', 16.0, 11.0) | ('1993-01-16 00:00:00', 23.0, 11.0) | ('1993-01-18 00:00:00', 24.0, 10.0) | ('1993-02-15 00:00:00', 18.0, 16.0) | ('1993-03-09 00:00:00', 19.0, 16.0) | ('1993-03-23 00:00:00', 16.0, 10.0) | ('1993-04-02 00:00:00', 19.0, 16.0) | ('1993-04-22 00:00:00', 18.0, 11.0) | ('1993-05-13 00:00:00', 16.0, 12.0) | ('1993-12-07 00:00:00', 18.0, 15.0) | ('1994-01-08 00:00:00', 16.0, 12.0) | ('1994-01-17 00:00:00', 17.0, 16.0) | ('1994-01-21 00:00:00', 17.0, 10.0) | ('1994-03-12 00:00:00', 20.0, 12.0) | ('1994-03-15 00:00:00', 23.0, 16.0) | ('1994-03-26 00:00:00', 16.0, 11.0) | ('1994-04-05 00:00:00', 22.0, 12.0) | ('1994-11-04 00:00:00', 16.0, 11.0) | ('1994-11-07 00:00:00', 21.0, 10.0) | ('1994-11-12 00:00:00', 22.0, 16.0) | ('1994-12-27 00:00:00', 16.0, 11.0) | ('1995-02-15 00:00:00', 17.0, 15.0) | ('1995-02-17 00:00:00', 24.0, 12.0) | ('1995-03-17 00:00:00', 19.0, 14.0) | ('1995-05-04 00:00:00', 16.0, 12.0) | ('1995-12-16 00:00:00', 22.0, 11.0) | ('1996-01-03 00:00:00', 18.0, 11.0) | ('1996-02-27 00:00:00', 17.0, 10.0) | ('1996-03-07 00:00:00', 16.0, 12.0) | ('1996-03-30 00:00:00', 19.0, 10.0) | ('1996-04-20 00:00:00', 22.0, 10.0) | ('1996-11-05 00:00:00', 21.0, 10.0) | ('1996-12-14 00:00:00', 19.0, 10.0) | ('1996-12-17 00:00:00', 24.0, 11.0) | ('1996-12-25 00:00:00', 24.0, 10.0) | ('1997-01-14 00:00:00', 19.0, 11.0) | ('1997-02-16 00:00:00', 21.0, 12.0) | ('1997-02-18 00:00:00', 20.0, 11.0) | ('1997-02-22 00:00:00', 16.0, 15.0) | ('1997-03-05 00:00:00', 26.0, 16.0) | ('1997-04-07 00:00:00', 28.0, 11.0) | ('1997-05-20 00:00:00', 20.0, 10.0) | ('1997-11-01 00:00:00', 16.0, 15.0) | ('1997-11-03 00:00:00', 26.0, 12.0) | ('1997-11-08 00:00:00', 17.0, 11.0) | ('1997-11-15 00:00:00', 16.0, 12.0) | ('1997-12-05 00:00:00', 23.0, 11.0) | ('1997-12-13 00:00:00', 22.0, 12.0) | ('1998-01-06 00:00:00', 23.0, 12.0) | ('1998-02-10 00:00:00', 27.0, 12.0) | ('1998-03-23 00:00:00', 19.0, 11.0) | ('1998-04-26 00:00:00', 18.0, 10.0) | ('1998-05-13 00:00:00', 18.0, 10.0) | ('1999-03-02 00:00:00', 16.0, 11.0) | ('1999-12-04 00:00:00', 19.0, 11.0) | ('2000-01-03 00:00:00', 16.0, 12.0) | ('2000-01-28 00:00:00', 16.0, 11.0) | ('2000-03-02 00:00:00', 17.0, 10.0) | ('2000-12-16 00:00:00', 17.0, 10.0) | ('2002-01-12 00:00:00', 22.0, 11.0) | ('2002-01-19 00:00:00', 24.0, 12.0) | ('2002-01-26 00:00:00', 17.0, 10.0) | ('2003-02-15 00:00:00', 23.0, 10.0) | ('2003-10-31 00:00:00', 16.0, 10.0) | ('2003-12-22 00:00:00', 19.0, 11.0) | ('2003-12-27 00:00:00', 18.0, 17.0) | ('2004-01-05 00:00:00', 18.0, 12.0) | ('2004-02-17 00:00:00', 19.0, 10.0) | ('2005-02-22 00:00:00', 18.0, 11.0) | ('2007-01-13 00:00:00', 16.0, 15.0) | ('2008-01-29 00:00:00', 17.0, 13.0) | ('2008-12-20 00:00:00', 17.0, 11.0) | ('2009-02-28 00:00:00', 19.0, 10.0) | ('2009-04-07 00:00:00', 18.0, 12.0) | ('2010-01-04 00:00:00', 25.0, 12.0) | ('2010-02-20 00:00:00', 17.0, 10.0) | ('2010-12-11 00:00:00', 17.0, 11.0) | ('2010-10-15 00:00:00', 16.0, 12.0) | ('2011-04-18 00:00:00', 20.0, 11.0) | ('2011-05-15 00:00:00', 19.0, 11.0) | ('2012-01-01 00:00:00', 17.0, 10.0) | ('2012-03-24 00:00:00', 21.0, 12.0) | ('2012-10-09 00:00:00', 17.0, 17.0) | ('2012-10-12 00:00:00', 24.0, 11.0) | ('2013-05-13 00:00:00', 19.0, 10.0) | ('2014-01-04 00:00:00', 20.0, 12.0) | ('2014-01-20 00:00:00', 19.0, 13.0) | ('2014-04-04 00:00:00', 16.0, 13.0) | ('2015-01-03 00:00:00', 24.0, 10.0) | ('2015-01-05 00:00:00', 17.0, 10.0) | ('2015-12-07 00:00:00', 16.0, 11.0) | ('2015-10-06 00:00:00', 24.0, 12.0) | ('2016-12-02 00:00:00', 16.0, 11.0) | ('2016-12-26 00:00:00', 16.0, 10.0) | ('2017-01-14 00:00:00', 21.0, 10.0) | ('2017-11-04 00:00:00', 16.0, 10.0) | ('2020-03-06 00:00:00', 17.0, 12.0) | ('2021-12-19 00:00:00', 16.0, 10.0) +How many Indiana Pacers home games had over 15 offensive rebounds and 10+ steals? SELECT game_date, oreb_home, stl_home FROM game WHERE team_name_home = 'Indiana Pacers' AND oreb_home > 15 AND stl_home >= 10; ('1982-11-24 00:00:00', 24.0, 12.0) | ('1983-10-29 00:00:00', 20.0, 13.0) | ('1985-12-11 00:00:00', 17.0, 13.0) | ('1986-02-04 00:00:00', 17.0, 11.0) | ('1986-03-11 00:00:00', 16.0, 11.0) | ('1986-11-04 00:00:00', 25.0, 13.0) | ('1986-11-08 00:00:00', 18.0, 11.0) | ('1986-12-03 00:00:00', 17.0, 12.0) | ('1986-12-11 00:00:00', 21.0, 17.0) | ('1986-12-30 00:00:00', 22.0, 15.0) | ('1987-03-01 00:00:00', 17.0, 12.0) | ('1987-03-09 00:00:00', 17.0, 11.0) | ('1987-03-13 00:00:00', 16.0, 10.0) | ('1987-11-25 00:00:00', 19.0, 14.0) | ('1988-04-11 00:00:00', 17.0, 13.0) | ('1989-01-06 00:00:00', 22.0, 12.0) | ('1989-01-28 00:00:00', 16.0, 10.0) | ('1989-03-27 00:00:00', 24.0, 10.0) | ('1991-03-20 00:00:00', 16.0, 12.0) | ('1991-12-06 00:00:00', 17.0, 15.0) | ('1991-12-30 00:00:00', 16.0, 17.0) | ('1992-01-31 00:00:00', 18.0, 10.0) | ('1992-04-01 00:00:00', 16.0, 11.0) | ('1992-04-14 00:00:00', 18.0, 12.0) | ('1993-01-21 00:00:00', 16.0, 10.0) | ('1993-02-26 00:00:00', 17.0, 10.0) | ('1993-03-17 00:00:00', 34.0, 10.0) | ('1993-04-21 00:00:00', 17.0, 10.0) | ('1993-11-16 00:00:00', 24.0, 11.0) | ('1993-12-07 00:00:00', 16.0, 14.0) | ('1994-02-25 00:00:00', 17.0, 11.0) | ('1994-03-16 00:00:00', 19.0, 11.0) | ('1994-03-28 00:00:00', 22.0, 11.0) | ('1994-04-22 00:00:00', 18.0, 13.0) | ('1994-04-23 00:00:00', 18.0, 12.0) | ('1995-01-20 00:00:00', 21.0, 13.0) | ('1995-03-19 00:00:00', 16.0, 10.0) | ('1995-03-31 00:00:00', 16.0, 11.0) | ('1995-04-16 00:00:00', 16.0, 10.0) | ('1996-04-15 00:00:00', 17.0, 10.0) | ('1997-02-20 00:00:00', 22.0, 11.0) | ('1997-02-23 00:00:00', 18.0, 10.0) | ('2000-11-17 00:00:00', 17.0, 10.0) | ('2001-04-13 00:00:00', 16.0, 16.0) | ('2002-03-24 00:00:00', 22.0, 11.0) | ('2002-10-30 00:00:00', 18.0, 13.0) | ('2002-11-22 00:00:00', 20.0, 14.0) | ('2003-01-26 00:00:00', 16.0, 11.0) | ('2003-02-11 00:00:00', 16.0, 12.0) | ('2003-02-14 00:00:00', 16.0, 10.0) | ('2003-03-17 00:00:00', 16.0, 11.0) | ('2003-04-16 00:00:00', 17.0, 12.0) | ('2003-12-19 00:00:00', 20.0, 10.0) | ('2004-03-24 00:00:00', 17.0, 15.0) | ('2004-05-22 00:00:00', 16.0, 12.0) | ('2004-12-11 00:00:00', 20.0, 16.0) | ('2005-02-02 00:00:00', 20.0, 10.0) | ('2005-03-11 00:00:00', 16.0, 12.0) | ('2006-02-21 00:00:00', 16.0, 11.0) | ('2005-10-18 00:00:00', 25.0, 11.0) | ('2007-02-21 00:00:00', 20.0, 14.0) | ('2006-10-11 00:00:00', 16.0, 10.0) | ('2008-01-02 00:00:00', 19.0, 10.0) | ('2007-10-17 00:00:00', 18.0, 11.0) | ('2007-10-19 00:00:00', 24.0, 10.0) | ('2008-12-17 00:00:00', 20.0, 12.0) | ('2009-12-11 00:00:00', 17.0, 10.0) | ('2010-10-30 00:00:00', 16.0, 10.0) | ('2012-01-14 00:00:00', 20.0, 12.0) | ('2012-02-28 00:00:00', 16.0, 11.0) | ('2012-04-21 00:00:00', 18.0, 11.0) | ('2012-04-23 00:00:00', 22.0, 13.0) | ('2014-02-25 00:00:00', 21.0, 11.0) | ('2014-05-28 00:00:00', 16.0, 12.0) | ('2015-11-04 00:00:00', 21.0, 10.0) | ('2016-02-01 00:00:00', 17.0, 11.0) | ('2016-03-31 00:00:00', 17.0, 11.0) | ('2015-10-03 00:00:00', 18.0, 10.0) | ('2018-12-23 00:00:00', 16.0, 12.0) | ('2020-12-18 00:00:00', 20.0, 10.0) | ('2022-03-30 00:00:00', 18.0, 11.0) +How many Houston Rockets home games had over 15 offensive rebounds and 10+ steals? SELECT game_date, oreb_home, stl_home FROM game WHERE team_name_home = 'Houston Rockets' AND oreb_home > 15 AND stl_home >= 10; ('1985-04-21 00:00:00', 20.0, 10.0) | ('1985-11-14 00:00:00', 17.0, 10.0) | ('1985-12-03 00:00:00', 23.0, 11.0) | ('1985-12-10 00:00:00', 23.0, 14.0) | ('1985-12-12 00:00:00', 17.0, 10.0) | ('1986-01-09 00:00:00', 18.0, 12.0) | ('1986-01-25 00:00:00', 18.0, 10.0) | ('1986-02-03 00:00:00', 16.0, 10.0) | ('1986-03-08 00:00:00', 30.0, 12.0) | ('1986-03-15 00:00:00', 16.0, 14.0) | ('1986-04-01 00:00:00', 21.0, 11.0) | ('1986-11-16 00:00:00', 16.0, 21.0) | ('1986-11-18 00:00:00', 19.0, 12.0) | ('1987-01-03 00:00:00', 17.0, 11.0) | ('1987-03-10 00:00:00', 26.0, 14.0) | ('1987-03-28 00:00:00', 20.0, 12.0) | ('1987-11-14 00:00:00', 29.0, 13.0) | ('1987-11-28 00:00:00', 16.0, 11.0) | ('1988-01-04 00:00:00', 23.0, 10.0) | ('1988-01-09 00:00:00', 20.0, 12.0) | ('1988-01-21 00:00:00', 17.0, 10.0) | ('1988-02-16 00:00:00', 22.0, 11.0) | ('1988-02-28 00:00:00', 16.0, 11.0) | ('1988-05-03 00:00:00', 24.0, 13.0) | ('1988-11-05 00:00:00', 17.0, 13.0) | ('1988-11-08 00:00:00', 17.0, 16.0) | ('1988-11-17 00:00:00', 16.0, 12.0) | ('1988-12-15 00:00:00', 26.0, 12.0) | ('1988-12-18 00:00:00', 16.0, 11.0) | ('1989-01-03 00:00:00', 23.0, 13.0) | ('1989-01-26 00:00:00', 21.0, 14.0) | ('1989-03-11 00:00:00', 22.0, 10.0) | ('1989-03-25 00:00:00', 17.0, 15.0) | ('1989-11-07 00:00:00', 19.0, 10.0) | ('1989-11-16 00:00:00', 20.0, 10.0) | ('1989-11-19 00:00:00', 16.0, 15.0) | ('1989-12-12 00:00:00', 16.0, 14.0) | ('1990-01-03 00:00:00', 17.0, 11.0) | ('1990-01-27 00:00:00', 16.0, 10.0) | ('1990-02-17 00:00:00', 25.0, 14.0) | ('1990-03-03 00:00:00', 17.0, 17.0) | ('1990-03-29 00:00:00', 16.0, 10.0) | ('1990-03-31 00:00:00', 17.0, 10.0) | ('1990-04-17 00:00:00', 16.0, 15.0) | ('1990-04-22 00:00:00', 21.0, 13.0) | ('1990-11-17 00:00:00', 19.0, 11.0) | ('1990-12-06 00:00:00', 18.0, 10.0) | ('1990-12-20 00:00:00', 22.0, 11.0) | ('1991-01-05 00:00:00', 21.0, 13.0) | ('1991-02-03 00:00:00', 16.0, 15.0) | ('1991-02-21 00:00:00', 21.0, 11.0) | ('1991-03-05 00:00:00', 17.0, 10.0) | ('1991-03-09 00:00:00', 25.0, 12.0) | ('1991-03-12 00:00:00', 16.0, 11.0) | ('1991-03-21 00:00:00', 18.0, 13.0) | ('1991-04-03 00:00:00', 18.0, 11.0) | ('1991-04-18 00:00:00', 16.0, 10.0) | ('1991-11-01 00:00:00', 19.0, 12.0) | ('1992-04-11 00:00:00', 16.0, 13.0) | ('1992-11-11 00:00:00', 18.0, 15.0) | ('1993-02-25 00:00:00', 17.0, 10.0) | ('1993-05-08 00:00:00', 19.0, 12.0) | ('1993-11-20 00:00:00', 16.0, 10.0) | ('1995-03-16 00:00:00', 18.0, 11.0) | ('1995-04-15 00:00:00', 16.0, 14.0) | ('1995-11-07 00:00:00', 16.0, 11.0) | ('1996-01-09 00:00:00', 21.0, 14.0) | ('1996-01-21 00:00:00', 16.0, 12.0) | ('1996-04-13 00:00:00', 16.0, 11.0) | ('1996-11-01 00:00:00', 17.0, 20.0) | ('1996-12-28 00:00:00', 17.0, 10.0) | ('1997-05-07 00:00:00', 16.0, 10.0) | ('1997-11-20 00:00:00', 18.0, 14.0) | ('1998-02-10 00:00:00', 19.0, 10.0) | ('2001-11-01 00:00:00', 17.0, 10.0) | ('2002-02-12 00:00:00', 16.0, 12.0) | ('2002-02-23 00:00:00', 17.0, 11.0) | ('2002-04-14 00:00:00', 17.0, 15.0) | ('2003-03-26 00:00:00', 17.0, 10.0) | ('2004-03-07 00:00:00', 16.0, 10.0) | ('2006-03-05 00:00:00', 17.0, 11.0) | ('2006-04-12 00:00:00', 17.0, 11.0) | ('2007-11-14 00:00:00', 20.0, 12.0) | ('2007-11-24 00:00:00', 19.0, 10.0) | ('2007-12-19 00:00:00', 17.0, 10.0) | ('2008-03-26 00:00:00', 20.0, 11.0) | ('2007-10-23 00:00:00', 16.0, 12.0) | ('2008-12-05 00:00:00', 16.0, 10.0) | ('2010-01-13 00:00:00', 17.0, 11.0) | ('2010-01-31 00:00:00', 18.0, 11.0) | ('2010-12-29 00:00:00', 16.0, 11.0) | ('2011-02-12 00:00:00', 16.0, 10.0) | ('2011-04-11 00:00:00', 17.0, 11.0) | ('2012-01-17 00:00:00', 17.0, 11.0) | ('2012-01-27 00:00:00', 19.0, 12.0) | ('2014-01-08 00:00:00', 16.0, 12.0) | ('2014-03-27 00:00:00', 17.0, 13.0) | ('2013-10-21 00:00:00', 16.0, 13.0) | ('2014-11-08 00:00:00', 16.0, 14.0) | ('2014-12-03 00:00:00', 23.0, 14.0) | ('2015-01-03 00:00:00', 17.0, 13.0) | ('2015-02-23 00:00:00', 22.0, 11.0) | ('2014-10-09 00:00:00', 16.0, 10.0) | ('2016-04-03 00:00:00', 22.0, 11.0) | ('2016-04-10 00:00:00', 16.0, 11.0) | ('2015-10-17 00:00:00', 17.0, 13.0) | ('2016-12-20 00:00:00', 20.0, 10.0) | ('2017-03-12 00:00:00', 20.0, 10.0) | ('2017-04-12 00:00:00', 16.0, 11.0) | ('2017-11-09 00:00:00', 17.0, 11.0) | ('2018-05-28 00:00:00', 17.0, 13.0) | ('2018-10-26 00:00:00', 16.0, 11.0) | ('2020-01-22 00:00:00', 18.0, 10.0) | ('2021-04-14 00:00:00', 16.0, 12.0) | ('2022-12-15 00:00:00', 18.0, 10.0) | ('2022-12-19 00:00:00', 16.0, 13.0) | ('2023-04-04 00:00:00', 20.0, 12.0) +How many home games did the Miami Heat 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 = 'MIA' 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 +How many home games did the Charlotte Hornets 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 = 'CHA' 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 +How many home games did the Washington Wizards 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 = 'WAS' 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 +How many times did the Atlanta Hawks 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 = 'ATL' AND g.wl_home = 'L' AND g.stl_home > g.stl_away AND g.blk_home > g.blk_away AND g.season_id = '22016'; 1 +How many times did the Milwaukee Bucks 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 = 'MIL' AND g.wl_home = 'L' AND g.stl_home > g.stl_away AND g.blk_home > g.blk_away AND g.season_id = '22016'; 4 +What is the maximum number of team rebounds recorded by the Los Angeles Lakers 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 = 'LAL' AND g.pf_away > 20 AND g.season_id = '22022'; 15 +How many times did the Denver Nuggets 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 = 'DEN' AND g.wl_home = 'L' AND g.stl_home > g.stl_away AND g.blk_home > g.blk_away AND g.season_id = '22008'; 0 +In the 2016 season, what was the average number of second chance points allowed by the Oklahoma City Thunder 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 = 'OKC' AND g.wl_home = 'W' AND ABS(g.pts_home - g.pts_away) < 5) OR (g.team_abbreviation_away = 'OKC' AND g.wl_away = 'W' AND ABS(g.pts_home - g.pts_away) < 5)) AND g.season_id = '22016'; 14.71428571 +What is the maximum number of team rebounds recorded by the Indiana Pacers 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 = 'IND' AND g.pf_away > 20 AND g.season_id = '22000'; 15 +In what year was the Toronto Raptors founded? SELECT year_founded FROM team WHERE full_name = 'Toronto Raptors'; 1995 +In what year was the Denver Nuggets founded? SELECT year_founded FROM team WHERE full_name = 'Denver Nuggets'; 1976 +In what year was the Atlanta Hawks founded? SELECT year_founded FROM team WHERE full_name = 'Atlanta Hawks'; 1949 +In what year was the New York Knicks founded? SELECT year_founded FROM team WHERE full_name = 'New York Knicks'; 1946 +In the 2005 season, what was the average number of second chance points scored by the opponents when the Dallas Mavericks 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 = 'DAL' AND g.wl_home = 'L' AND g.season_id = '22005'; 11.4 +In the 2004 season, what was the average number of second chance points scored by the opponents when the Toronto Raptors 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 = 'TOR' AND g.wl_home = 'L' AND g.season_id = '22004'; 10.61538462 +In the 2004 season, what was the average number of second chance points scored by the opponents when the Houston Rockets 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 = 'HOU' AND g.wl_home = 'L' AND g.season_id = '22004'; 12.18181818 +In the 2000 season, what was the average number of second chance points scored by the opponents when the Milwaukee Bucks 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 = 'MIL' AND g.wl_home = 'L' AND g.season_id = '22000'; 13.88888889 +In the 2000 season, what was the average number of second chance points scored by the opponents when the Philadelphia 76ers 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 = 'PHI' AND g.wl_home = 'L' AND g.season_id = '22000'; 13.77777778 +In the 2000 season, what was the average number of second chance points scored by the opponents when the Utah Jazz 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 = 'UTA' AND g.wl_home = 'L' AND g.season_id = '22000'; 14.88888889 +In the 2001 season, what was the average number of second chance points scored by the opponents when the Houston Rockets 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 = 'HOU' AND g.wl_home = 'L' AND g.season_id = '22001'; 14.2 +In the 2001 season, what was the average number of second chance points scored by the opponents when the Los Angeles Lakers 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 = 'LAL' AND g.wl_home = 'L' AND g.season_id = '22001'; 14.2 +In games from the 2005 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 = '22005'; 0 +What is the average number of points in the paint allowed by the New York Knicks 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 = 'NYK' AND g.season_id = '22020' AND o.lead_changes > 15; 52 +What is the average number of points in the paint allowed by the Minnesota Timberwolves 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 = 'MIN' AND g.season_id = '22020' AND o.lead_changes > 15; 56 +How many times did the Houston Rockets 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 = 'HOU' AND g.wl_home = 'L' AND g.stl_home > g.stl_away AND g.blk_home > g.blk_away AND g.season_id = '22004'; 3 +What is the average number of points in the paint allowed by the Orlando Magic 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 = 'ORL' AND g.season_id = '22003' AND o.lead_changes > 15; 34 +What is the average number of points in the paint allowed by the Detroit Pistons 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 = 'DET' AND g.season_id = '22003' AND o.lead_changes > 15; 38 +What is the average number of points in the paint allowed by the Cleveland Cavaliers 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 = 'CLE' AND g.season_id = '22002' AND o.lead_changes > 15; 33 +What is the average number of points in the paint allowed by the Orlando Magic 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 = 'ORL' AND g.season_id = '22017' AND o.lead_changes > 15; 40 +What is the average number of points in the paint allowed by the Utah Jazz 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 = 'UTA' AND g.season_id = '22017' AND o.lead_changes > 15; 40 +What is the average number of points in the paint allowed by the Portland Trail Blazers 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 = 'POR' AND g.season_id = '22017' AND o.lead_changes > 15; 42 +What is the average number of points in the paint allowed by the Utah Jazz 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 = 'UTA' AND g.season_id = '22007' AND o.lead_changes > 15; 44 +What is the average number of points in the paint allowed by the Chicago Bulls 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 = 'CHI' AND g.season_id = '22007' AND o.lead_changes > 15; 20 +What is the average number of points in the paint allowed by the Orlando Magic 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 = 'ORL' AND g.season_id = '22021' AND o.lead_changes > 15; 45 +What is the average number of points in the paint allowed by the Toronto Raptors 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 = 'TOR' AND g.season_id = '22021' AND o.lead_changes > 15; 45.33333333 +What is the average number of points in the paint allowed by the Atlanta Hawks 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 = 'ATL' AND g.season_id = '22021' AND o.lead_changes > 15; 53.33333333 +What is the average number of points in the paint allowed by the Charlotte Hornets 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 = 'CHA' AND g.season_id = '22016' AND o.lead_changes > 15; 42 +What is the maximum number of team rebounds recorded by the Charlotte Hornets 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 = 'CHA' AND g.pf_away > 20 AND g.season_id = '22013'; 11 +What is the maximum number of team rebounds recorded by the Oklahoma City Thunder 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 = 'OKC' AND g.pf_away > 20 AND g.season_id = '22013'; 14 +What is the average number of points in the paint allowed by the Sacramento Kings 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 = 'SAC' AND g.season_id = '22019' AND o.lead_changes > 15; 62 +What is the average number of points in the paint allowed by the New Orleans Pelicans 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 = 'NOP' AND g.season_id = '22019' AND o.lead_changes > 15; 51 +What is the average number of points in the paint allowed by the Brooklyn Nets 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 = 'BKN' AND g.season_id = '22019' AND o.lead_changes > 15; 53.33333333 +What is the average number of points in the paint allowed by the Minnesota Timberwolves 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 = 'MIN' AND g.season_id = '22013' AND o.lead_changes > 15; 42 +What is the average number of points in the paint allowed by the Cleveland Cavaliers 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 = 'CLE' AND g.season_id = '22013' AND o.lead_changes > 15; 46 +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 +What is the average number of points in the paint allowed by the Minnesota Timberwolves 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 = 'MIN' AND g.season_id = '22001' AND o.lead_changes > 15; 27 +What is the average number of points in the paint allowed by the Golden State Warriors 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 = 'GSW' AND g.season_id = '22001' AND o.lead_changes > 15; 52 +What is the average number of points in the paint allowed by the Houston Rockets 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 = 'HOU' AND g.season_id = '22001' AND o.lead_changes > 15; 34.66666667 +What is the average number of points in the paint allowed by the Charlotte Hornets 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 = 'CHA' AND g.season_id = '22017' AND o.lead_changes > 15; 49 +What is the average number of points in the paint allowed by the Golden State Warriors 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 = 'GSW' AND g.season_id = '22009' AND o.lead_changes > 15; 47 +What is the average number of points in the paint allowed by the Orlando Magic 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 = 'ORL' AND g.season_id = '22009' AND o.lead_changes > 15; 34 +What is the average number of points in the paint allowed by the Orlando Magic 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 = 'ORL' AND g.season_id = '22014' AND o.lead_changes > 15; 49 +What is the average number of points in the paint allowed by the Golden State Warriors 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 = 'GSW' AND g.season_id = '22015' AND o.lead_changes > 15; 42.66666667 +What is the average number of points in the paint allowed by the Miami Heat 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 = 'MIA' AND g.season_id = '22006' AND o.lead_changes > 15; 50 +What is the average number of points in the paint allowed by the Milwaukee Bucks 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 = 'MIL' AND g.season_id = '22006' AND o.lead_changes > 15; 57 +What was the highest number of lead changes in a game where the Charlotte Hornets 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 = 'CHA' AND g.wl_home = 'W' AND g.pf_home > g.pf_away) OR (g.team_abbreviation_away = 'CHA' AND g.wl_away = 'W' AND g.pf_away > g.pf_home) AND g.season_id = '22008'; 29 +What was the highest number of lead changes in a game where the Milwaukee Bucks 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 = 'MIL' AND g.wl_home = 'W' AND g.pf_home > g.pf_away) OR (g.team_abbreviation_away = 'MIL' AND g.wl_away = 'W' AND g.pf_away > g.pf_home) AND g.season_id = '22008'; 25 +What was the highest number of lead changes in a game where the Phoenix Suns 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 = 'PHX' AND g.wl_home = 'W' AND g.pf_home > g.pf_away) OR (g.team_abbreviation_away = 'PHX' AND g.wl_away = 'W' AND g.pf_away > g.pf_home) AND g.season_id = '22008'; 24 +What was the highest number of lead changes in a game where the Golden State Warriors 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 = 'GSW' AND g.wl_home = 'W' AND g.pf_home > g.pf_away) OR (g.team_abbreviation_away = 'GSW' AND g.wl_away = 'W' AND g.pf_away > g.pf_home) AND g.season_id = '22000'; 25 +What was the highest number of lead changes in a game where the Phoenix Suns 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 = 'PHX' AND g.wl_home = 'W' AND g.pf_home > g.pf_away) OR (g.team_abbreviation_away = 'PHX' AND g.wl_away = 'W' AND g.pf_away > g.pf_home) AND g.season_id = '22000'; 24 +What was the highest number of lead changes in a game where the Detroit Pistons 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 = 'DET' AND g.wl_home = 'W' AND g.pf_home > g.pf_away) OR (g.team_abbreviation_away = 'DET' AND g.wl_away = 'W' AND g.pf_away > g.pf_home) AND g.season_id = '22000'; 30 +What was the highest number of lead changes in a game where the Atlanta Hawks 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 = 'ATL' AND g.wl_home = 'W' AND g.pf_home > g.pf_away) OR (g.team_abbreviation_away = 'ATL' AND g.wl_away = 'W' AND g.pf_away > g.pf_home) AND g.season_id = '22007'; 27 +What was the highest number of lead changes in a game where the Los Angeles Lakers 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 = 'LAL' AND g.wl_home = 'W' AND g.pf_home > g.pf_away) OR (g.team_abbreviation_away = 'LAL' AND g.wl_away = 'W' AND g.pf_away > g.pf_home) AND g.season_id = '22007'; 33 +What was the highest number of lead changes in a game where the San Antonio Spurs 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 = 'SAS' AND g.wl_home = 'W' AND g.pf_home > g.pf_away) OR (g.team_abbreviation_away = 'SAS' AND g.wl_away = 'W' AND g.pf_away > g.pf_home) AND g.season_id = '22007'; 22 +What is the total number of games the Washington Wizards 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 = 'WAS' AND g.wl_home = 'L' AND g.oreb_home > g.oreb_away AND g.season_id = '22008'; 14 +What is the total number of games the Dallas Mavericks 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 = 'DAL' AND g.wl_home = 'L' AND g.oreb_home > g.oreb_away AND g.season_id = '22008'; 3 +In the 2007 season, how many games did the San Antonio Spurs 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 = 'SAS' AND g.wl_home = 'L' AND o.total_turnovers_home < o.total_turnovers_away AND g.season_id = '22007'; 1 +In the 2007 season, how many games did the Orlando Magic 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 = 'ORL' AND g.wl_home = 'L' AND o.total_turnovers_home < o.total_turnovers_away AND g.season_id = '22007'; 5 +In the 2007 season, how many games did the Oklahoma City Thunder 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 = 'OKC' AND g.wl_home = 'L' AND o.total_turnovers_home < o.total_turnovers_away AND g.season_id = '22007'; 0 +In 2003, what was the average number of fast break points scored by opponents of the Washington Wizards 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 = 'WAS' AND g.stl_home > 10 AND g.season_id = '22003'; 16.75 +In 2003, what was the average number of fast break points scored by opponents of the Toronto Raptors 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 = 'TOR' AND g.stl_home > 10 AND g.season_id = '22003'; 11.375 +In 2003, what was the average number of fast break points scored by opponents of the Milwaukee Bucks 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 = 'MIL' AND g.stl_home > 10 AND g.season_id = '22003'; 20.5 +In the 2006 season, how many games did the Philadelphia 76ers 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 = 'PHI' AND g.wl_home = 'L' AND o.total_turnovers_home < o.total_turnovers_away AND g.season_id = '22006'; 7 +What is the average plus-minus for the Denver Nuggets 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 = 'DEN' AND o.pts_2nd_chance_away > o.pts_2nd_chance_home AND g.season_id = '22003'; 5.75 +In the 2006 season, how many games did the Toronto Raptors 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 = 'TOR' AND g.wl_home = 'L' AND o.total_turnovers_home < o.total_turnovers_away AND g.season_id = '22006'; 3 +In the 2006 season, how many games did the Miami Heat 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 = 'MIA' AND g.wl_home = 'L' AND o.total_turnovers_home < o.total_turnovers_away AND g.season_id = '22006'; 6 +In the 2006 season, how many games did the Atlanta Hawks 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 = 'ATL' AND g.wl_home = 'L' AND o.total_turnovers_home < o.total_turnovers_away AND g.season_id = '22006'; 6 +In the 2006 season, how many games did the Chicago Bulls 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 = 'CHI' AND g.wl_home = 'L' AND o.total_turnovers_home < o.total_turnovers_away AND g.season_id = '22006'; 3 +What is the average plus-minus for the Dallas Mavericks 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 = 'DAL' AND o.pts_2nd_chance_away > o.pts_2nd_chance_home AND g.season_id = '22002'; 16.05882353 +What is the average plus-minus for the Boston Celtics 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 = 'BOS' AND o.pts_2nd_chance_away > o.pts_2nd_chance_home AND g.season_id = '22002'; 3.266666667 +In the 2020 season, what was the average number of second chance points allowed by the San Antonio Spurs 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 = 'SAS' AND g.wl_home = 'W' AND ABS(g.pts_home - g.pts_away) < 5) OR (g.team_abbreviation_away = 'SAS' AND g.wl_away = 'W' AND ABS(g.pts_home - g.pts_away) < 5)) AND g.season_id = '22020'; 12 +In the 2020 season, what was the average number of second chance points allowed by the Minnesota Timberwolves 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 = 'MIN' AND g.wl_home = 'W' AND ABS(g.pts_home - g.pts_away) < 5) OR (g.team_abbreviation_away = 'MIN' AND g.wl_away = 'W' AND ABS(g.pts_home - g.pts_away) < 5)) AND g.season_id = '22020'; 13.8 +In games from the 2012 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 = '22012'; 0 +What is the average number of tov in away games by the Denver Nuggets? SELECT AVG(tov_away) FROM game WHERE team_name_away = 'Denver Nuggets'; 15.67133293 +What is the average number of tov in away games by the Oklahoma City Thunder? SELECT AVG(tov_away) FROM game WHERE team_name_away = 'Oklahoma City Thunder'; 14.80650155 +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.8015873 +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.5720000000000001 +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 +In which season did the San Antonio Spurs have the highest average fg_pct at home? SELECT season_id, AVG(fg_pct_home) as avg_stat FROM game WHERE team_name_home = 'San Antonio Spurs' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 41984 | 0.597 +In which season did the Charlotte Hornets have the highest average tov at home? SELECT season_id, AVG(tov_home) as avg_stat FROM game WHERE team_name_home = 'Charlotte Hornets' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12020 | 24.0 +In which season did the Milwaukee Bucks have the highest average tov at home? SELECT season_id, AVG(tov_home) as avg_stat FROM game WHERE team_name_home = 'Milwaukee Bucks' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12007 | 23.0 +In which season did the Portland Trail Blazers have the highest average tov at home? SELECT season_id, AVG(tov_home) as avg_stat FROM game WHERE team_name_home = 'Portland Trail Blazers' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12021 | 26.5 +In which season did the New York Knicks have the highest average ast at home? SELECT season_id, AVG(ast_home) as avg_stat FROM game WHERE team_name_home = 'New York Knicks' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 41989 | 29.25 +In which season did the Memphis Grizzlies have the highest average ast at home? SELECT season_id, AVG(ast_home) as avg_stat FROM game WHERE team_name_home = 'Memphis Grizzlies' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 22019 | 27.89189189189189 +In which season did the Toronto Raptors have the highest average ast at home? SELECT season_id, AVG(ast_home) as avg_stat FROM game WHERE team_name_home = 'Toronto Raptors' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 42007 | 27.5 +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.666666666666664 +What is the average number of tov in away games by the Charlotte Hornets? SELECT AVG(tov_away) FROM game WHERE team_name_away = 'Charlotte Hornets'; 14.29344433 +What is the average number of tov in away games by the Minnesota Timberwolves? SELECT AVG(tov_away) FROM game WHERE team_name_away = 'Minnesota Timberwolves'; 14.98063128 +What is the average number of tov in away games by the Phoenix Suns? SELECT AVG(tov_away) FROM game WHERE team_name_away = 'Phoenix Suns'; 15.4465602 +What is the average number of tov in away games by the Milwaukee Bucks? SELECT AVG(tov_away) FROM game WHERE team_name_away = 'Milwaukee Bucks'; 15.13784764 +What is the average number of ast in home games by the Brooklyn Nets? SELECT AVG(ast_home) FROM game WHERE team_name_home = 'Brooklyn Nets'; 23.37168142 +What is the average number of ast in home games by the Milwaukee Bucks? SELECT AVG(ast_home) FROM game WHERE team_name_home = 'Milwaukee Bucks'; 24.44381705 +What is the average number of ast in home games by the Phoenix Suns? SELECT AVG(ast_home) FROM game WHERE team_name_home = 'Phoenix Suns'; 25.47826087 +What is the average number of ast in home games by the New York Knicks? SELECT AVG(ast_home) FROM game WHERE team_name_home = 'New York Knicks'; 22.73735077 +What is the average number of pts in away games by the Toronto Raptors? SELECT AVG(pts_away) FROM game WHERE team_name_away = 'Toronto Raptors'; 99.61413969 +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.2517029 +What is the average number of pts in away games by the Dallas Mavericks? SELECT AVG(pts_away) FROM game WHERE team_name_away = 'Dallas Mavericks'; 101.8379404 +In which season did the Indiana Pacers have the highest average reb at home? SELECT season_id, AVG(reb_home) as avg_stat FROM game WHERE team_name_home = 'Indiana Pacers' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12007 | 57.5 +In which season did the Utah Jazz have the highest average reb at home? SELECT season_id, AVG(reb_home) as avg_stat FROM game WHERE team_name_home = 'Utah Jazz' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 42011 | 53.0 +In which season did the Minnesota Timberwolves have the highest average reb at home? SELECT season_id, AVG(reb_home) as avg_stat FROM game WHERE team_name_home = 'Minnesota Timberwolves' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12011 | 52.0 +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; 12022 | 51.0 +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 +How many home games did the Brooklyn Nets play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Brooklyn Nets' AND season_id = '22018'; 41 +How many home games did the Denver Nuggets play in the 2008 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Denver Nuggets' AND season_id = '22008'; 41 +What is the average number of ft_pct in home games by the Utah Jazz? SELECT AVG(ft_pct_home) FROM game WHERE team_name_home = 'Utah Jazz'; 0.7613338624 +What is the average number of ft_pct in home games by the Minnesota Timberwolves? SELECT AVG(ft_pct_home) FROM game WHERE team_name_home = 'Minnesota Timberwolves'; 0.7657539568 +What is the average number of ft_pct in home games by the Chicago Bulls? SELECT AVG(ft_pct_home) FROM game WHERE team_name_home = 'Chicago Bulls'; 0.7572023346 +What is the highest combined ft_pct in any game involving the Indiana Pacers? SELECT MAX(ft_pct_home + ft_pct_away) FROM game WHERE team_name_home = 'Indiana Pacers' OR team_name_away = 'Indiana Pacers'; 1.931 +What is the highest combined ft_pct in any game involving the New Orleans Pelicans? SELECT MAX(ft_pct_home + ft_pct_away) FROM game WHERE team_name_home = 'New Orleans Pelicans' OR team_name_away = 'New Orleans Pelicans'; 1.95 +What is the average number of ft_pct in away games by the Oklahoma City Thunder? SELECT AVG(ft_pct_away) FROM game WHERE team_name_away = 'Oklahoma City Thunder'; 0.7744767802 +What is the average number of ft_pct in away games by the Denver Nuggets? SELECT AVG(ft_pct_away) FROM game WHERE team_name_away = 'Denver Nuggets'; 0.7586835067 +What is the average number of ft_pct in away games by the Sacramento Kings? SELECT AVG(ft_pct_away) FROM game WHERE team_name_away = 'Sacramento Kings'; 0.755547954 +How many home games did the Indiana Pacers play in the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Indiana Pacers' AND season_id = '22020'; 36 +How many home games did the Memphis Grizzlies play in the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Memphis Grizzlies' AND season_id = '22020'; 36 +What is the average number of reb in home games by the Orlando Magic? SELECT AVG(reb_home) FROM game WHERE team_name_home = 'Miami Heat'; 42.2 +What is the highest combined ast in any game involving the Memphis Grizzlies? SELECT MAX(ast_home + ast_away) FROM game WHERE team_name_home = 'Memphis Grizzlies' OR team_name_away = 'Memphis Grizzlies'; 73 +What is the highest combined ast in any game involving the Sacramento Kings? SELECT MAX(ast_home + ast_away) FROM game WHERE team_name_home = 'Sacramento Kings' OR team_name_away = 'Sacramento Kings'; 76 +What is the highest combined ast in any game involving the Denver Nuggets? SELECT MAX(ast_home + ast_away) FROM game WHERE team_name_home = 'Denver Nuggets' OR team_name_away = 'Denver Nuggets'; 93 +What is the highest combined ast in any game involving the Milwaukee Bucks? SELECT MAX(ast_home + ast_away) FROM game WHERE team_name_home = 'Milwaukee Bucks' OR team_name_away = 'Milwaukee Bucks'; 99 +What is the average number of tov in away games by the Detroit Pistons? SELECT AVG(tov_away) FROM game WHERE team_name_away = 'Detroit Pistons'; 14.41005451 +What is the average number of tov in away games by the Philadelphia 76ers? SELECT AVG(tov_away) FROM game WHERE team_name_away = 'Philadelphia 76ers'; 15.90944444 +How many home games did the Cleveland Cavaliers play in the 2007 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Cleveland Cavaliers' AND season_id = '22007'; 41 +What is the highest combined reb in any game involving the Washington Wizards? SELECT MAX(reb_home + reb_away) FROM game WHERE team_name_home = 'Washington Wizards' OR team_name_away = 'Washington Wizards'; 133 +What is the highest combined reb in any game involving the Miami Heat? SELECT MAX(reb_home + reb_away) FROM game WHERE team_name_home = 'Miami Heat' OR team_name_away = 'Miami Heat'; 125 +What is the highest combined reb in any game involving the Minnesota Timberwolves? SELECT MAX(reb_home + reb_away) FROM game WHERE team_name_home = 'Minnesota Timberwolves' OR team_name_away = 'Minnesota Timberwolves'; 132 +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 +What is the highest combined pts in any game involving the Detroit Pistons? SELECT MAX(pts_home + pts_away) FROM game WHERE team_name_home = 'Detroit Pistons' OR team_name_away = 'Detroit Pistons'; 370 +What is the highest combined pts in any game involving the New York Knicks? SELECT MAX(pts_home + pts_away) FROM game WHERE team_name_home = 'New York Knicks' OR team_name_away = 'New York Knicks'; 302 +What is the highest combined pts in any game involving the San Antonio Spurs? SELECT MAX(pts_home + pts_away) FROM game WHERE team_name_home = 'San Antonio Spurs' OR team_name_away = 'San Antonio Spurs'; 337 +What is the highest combined pts in any game involving the Golden State Warriors? SELECT MAX(pts_home + pts_away) FROM game WHERE team_name_home = 'Golden State Warriors' OR team_name_away = 'Golden State Warriors'; 320 +What is the highest combined pts in any game involving the Philadelphia 76ers? SELECT MAX(pts_home + pts_away) FROM game WHERE team_name_home = 'Philadelphia 76ers' OR team_name_away = 'Philadelphia 76ers'; 290 +What is the highest combined pts in any game involving the Chicago Bulls? SELECT MAX(pts_home + pts_away) FROM game WHERE team_name_home = 'Chicago Bulls' OR team_name_away = 'Chicago Bulls'; 329 +What is the average number of pts in away games by the Los Angeles Lakers? SELECT AVG(pts_away) FROM game WHERE team_name_away = 'Los Angeles Lakers'; 105.7537372 +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.26172148 +What is the average number of pts in away games by the Oklahoma City Thunder? SELECT AVG(pts_away) FROM game WHERE team_name_away = 'Oklahoma City Thunder'; 104.4814241 +What is the average number of reb in home games by the Utah Jazz? SELECT AVG(reb_home) FROM game WHERE team_name_home = 'Utah Jazz'; 44.24052066 +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.96598639 +What is the average number of reb in home games by the San Antonio Spurs? SELECT AVG(reb_home) FROM game WHERE team_name_home = 'San Antonio Spurs'; 44.41597796 +What is the average number of reb in home games by the Detroit Pistons? SELECT AVG(reb_home) FROM game WHERE team_name_home = 'Detroit Pistons'; 44.08547486 +What is the average number of ast in away games by the Dallas Mavericks? SELECT AVG(ast_away) FROM game WHERE team_name_away = 'Dallas Mavericks'; 21.78231293 +What is the average number of ast in away games by the Memphis Grizzlies? SELECT AVG(ast_away) FROM game WHERE team_name_away = 'Memphis Grizzlies'; 21.53234358 +What is the average number of ast in away games by the Washington Wizards? SELECT AVG(ast_away) FROM game WHERE team_name_away = 'Washington Wizards'; 21.18990826 +What is the average number of ast in away games by the Philadelphia 76ers? SELECT AVG(ast_away) FROM game WHERE team_name_away = 'Philadelphia 76ers'; 21.10598572 +How many away games did the Utah Jazz play in the 2019 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Utah Jazz' AND season_id = '22019'; 37 +How many away games did the Orlando Magic play in the 2019 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Orlando Magic' AND season_id = '22019'; 38 +How many away games did the Cleveland Cavaliers play in the 2019 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Cleveland Cavaliers' AND season_id = '22019'; 29 +How many away games did the New Orleans Pelicans play in the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'New Orleans Pelicans' AND season_id = '22020'; 36 +How many away games did the Toronto Raptors play in the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Toronto Raptors' AND season_id = '22020'; 36 +What is the highest combined pts in any game involving the Washington Wizards? SELECT MAX(pts_home + pts_away) FROM game WHERE team_name_home = 'Washington Wizards' OR team_name_away = 'Washington Wizards'; 317 +How many away games did the Detroit Pistons play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Detroit Pistons' AND season_id = '22018'; 41 +How many away games did the Charlotte Hornets play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Charlotte Hornets' AND season_id = '22018'; 41 +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 +In which season did the San Antonio Spurs have the highest average ft_pct at home? SELECT season_id, AVG(ft_pct_home) as avg_stat FROM game WHERE team_name_home = 'San Antonio Spurs' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12016 | 0.8673333333333333 +In which season did the Miami Heat have the highest average ft_pct at home? SELECT season_id, AVG(ft_pct_home) as avg_stat FROM game WHERE team_name_home = 'Miami Heat' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12011 | 0.885 +In which season did the New Orleans Pelicans have the highest average ft_pct at home? SELECT season_id, AVG(ft_pct_home) as avg_stat FROM game WHERE team_name_home = 'New Orleans Pelicans' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 42014 | 0.8685 +In which season did the Dallas Mavericks have the highest average ft_pct at home? SELECT season_id, AVG(ft_pct_home) as avg_stat FROM game WHERE team_name_home = 'Dallas Mavericks' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12020 | 0.92 +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; 42009 | 0.9376666666666665 +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; 12014 | 0.8431999999999998 +In which season did the Philadelphia 76ers have the highest average ft_pct at home? SELECT season_id, AVG(ft_pct_home) as avg_stat FROM game WHERE team_name_home = 'Philadelphia 76ers' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 42022 | 0.9026 +In which season did the Toronto Raptors have the highest average reb at home? SELECT season_id, AVG(reb_home) as avg_stat FROM game WHERE team_name_home = 'Toronto Raptors' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12022 | 55.0 +In which season did the New Orleans Pelicans have the highest average reb at home? SELECT season_id, AVG(reb_home) as avg_stat FROM game WHERE team_name_home = 'New Orleans Pelicans' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12021 | 53.0 +In which season did the San Antonio Spurs have the highest average reb at home? SELECT season_id, AVG(reb_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 | 54.6 +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; 12017 | 48.5 +What is the highest combined ast in any game involving the Philadelphia 76ers? SELECT MAX(ast_home + ast_away) FROM game WHERE team_name_home = 'Philadelphia 76ers' OR team_name_away = 'Philadelphia 76ers'; 77 +What is the highest combined ast in any game involving the Phoenix Suns? SELECT MAX(ast_home + ast_away) FROM game WHERE team_name_home = 'Phoenix Suns' OR team_name_away = 'Phoenix Suns'; 88 +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 +How many away games did the New Orleans Pelicans play in the 2022 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'New Orleans Pelicans' AND season_id = '22022'; 41 +How many away games did the Atlanta Hawks play in the 2022 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Atlanta Hawks' AND season_id = '22022'; 41 +How many home games did the Philadelphia 76ers play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Philadelphia 76ers' AND season_id = '22018'; 41 +How many home games did the Washington Wizards play in the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Washington Wizards' AND season_id = '22020'; 36 +How many home games did the Oklahoma City Thunder play in the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Oklahoma City Thunder' AND season_id = '22020'; 36 +What is the average number of fg_pct in home games by the Minnesota Timberwolves? SELECT AVG(fg_pct_home) FROM game WHERE team_name_home = 'Minnesota Timberwolves'; 0.4572028777 +What is the average number of fg_pct in home games by the Detroit Pistons? SELECT AVG(fg_pct_home) FROM game WHERE team_name_home = 'Detroit Pistons'; 0.4611972067 +What is the average number of fg_pct in home games by the Toronto Raptors? SELECT AVG(fg_pct_home) FROM game WHERE team_name_home = 'Toronto Raptors'; 0.4551036226 +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.4782432016 +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; 22019 | 27.194444444444443 +In which season did the Utah Jazz have the highest average ast at home? SELECT season_id, AVG(ast_home) as avg_stat FROM game WHERE team_name_home = 'Utah Jazz' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 21987 | 31.26829268292683 +What is the average number of ft_pct in home games by the New Orleans Pelicans? SELECT AVG(ft_pct_home) FROM game WHERE team_name_home = 'New Orleans Pelicans'; 0.7707236534 +What is the average number of ft_pct in home games by the New York Knicks? SELECT AVG(ft_pct_home) FROM game WHERE team_name_home = 'New York Knicks'; 0.7540007767 +What is the average number of ft_pct in home games by the Sacramento Kings? SELECT AVG(ft_pct_home) FROM game WHERE team_name_home = 'Sacramento Kings'; 0.7543485825 +In which season did the Brooklyn Nets have the highest average reb at home? SELECT season_id, AVG(reb_home) as avg_stat FROM game WHERE team_name_home = 'Brooklyn Nets' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12017 | 48.333333333333336 +In which season did the Denver Nuggets have the highest average reb at home? SELECT season_id, AVG(reb_home) as avg_stat FROM game WHERE team_name_home = 'Denver Nuggets' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12011 | 55.0 +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 +In which season did the Philadelphia 76ers have the highest average reb at home? SELECT season_id, AVG(reb_home) as avg_stat FROM game WHERE team_name_home = 'Philadelphia 76ers' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12011 | 55.0 +How many away games did the Los Angeles Lakers play in the 1999 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Los Angeles Lakers' AND season_id = '21999'; 41 +How many away games did the Detroit Pistons play in the 1999 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Detroit Pistons' AND season_id = '21999'; 41 +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 +How many away games did the Minnesota Timberwolves play in the 2022 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Minnesota Timberwolves' AND season_id = '22022'; 41 +How many away games did the Denver Nuggets play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Denver Nuggets' AND season_id = '22018'; 41 +How many away games did the Orlando Magic play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Orlando Magic' AND season_id = '22018'; 41 +What is the average number of pts in away games by the Memphis Grizzlies? SELECT AVG(pts_away) FROM game WHERE team_name_away = 'Memphis Grizzlies'; 99.03287381 +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.0924292 +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.9464052 +What is the average number of fg_pct in home games by the Orlando Magic? SELECT AVG(fg_pct_home) FROM game WHERE team_name_home = 'Orlando Magic'; 0.4619229152 +What is the average number of fg_pct in home games by the Philadelphia 76ers? SELECT AVG(fg_pct_home) FROM game WHERE team_name_home = 'Philadelphia 76ers'; 0.4671971287 +What is the average number of fg_pct in home games by the Sacramento Kings? SELECT AVG(fg_pct_home) FROM game WHERE team_name_home = 'Sacramento Kings'; 0.465625 +What is the highest combined tov in any game involving the Memphis Grizzlies? SELECT MAX(tov_home + tov_away) FROM game WHERE team_name_home = 'Memphis Grizzlies' OR team_name_away = 'Memphis Grizzlies'; 54 +What is the highest combined tov in any game involving the Denver Nuggets? SELECT MAX(tov_home + tov_away) FROM game WHERE team_name_home = 'Denver Nuggets' OR team_name_away = 'Denver Nuggets'; 69 +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 +What is the highest combined tov in any game involving the Dallas Mavericks? SELECT MAX(tov_home + tov_away) FROM game WHERE team_name_home = 'Dallas Mavericks' OR team_name_away = 'Dallas Mavericks'; 53 +How many away games did the Portland Trail Blazers play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Portland Trail Blazers' AND season_id = '22018'; 41 +How many away games did the Memphis Grizzlies play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Memphis Grizzlies' AND season_id = '22018'; 41 +What is the average number of fg_pct in home games by the Oklahoma City Thunder? SELECT AVG(fg_pct_home) FROM game WHERE team_name_home = 'Oklahoma City Thunder'; 0.4664208909 +What is the average number of fg_pct in home games by the New Orleans Pelicans? SELECT AVG(fg_pct_home) FROM game WHERE team_name_home = 'New Orleans Pelicans'; 0.4713185012 +How many away games did the Oklahoma City Thunder play in the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Oklahoma City Thunder' AND season_id = '22020'; 36 +How many away games did the Philadelphia 76ers play in the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Philadelphia 76ers' AND season_id = '22020'; 36 +How many home games did the Utah Jazz play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Utah Jazz' AND season_id = '22018'; 41 +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 +What is the average number of tov in home games by the Phoenix Suns? SELECT AVG(tov_home) FROM game WHERE team_name_home = 'Phoenix Suns'; 14.88963415 +What is the average number of tov in home games by the Utah Jazz? SELECT AVG(tov_home) FROM game WHERE team_name_home = 'Utah Jazz'; 15.08409506 +What is the average number of tov in home games by the New Orleans Pelicans? SELECT AVG(tov_home) FROM game WHERE team_name_home = 'New Orleans Pelicans'; 14.04918033 +What is the average number of ast in away games by the New York Knicks? SELECT AVG(ast_away) FROM game WHERE team_name_away = 'New York Knicks'; 21.55461234 +What is the average number of ast in away games by the Orlando Magic? SELECT AVG(ast_away) FROM game WHERE team_name_away = 'Orlando Magic'; 21.40797761 +What is the average number of ast in away games by the New Orleans Pelicans? SELECT AVG(ast_away) FROM game WHERE team_name_away = 'New Orleans Pelicans'; 23.56781609 +How many home games did the Utah Jazz play in the 2019 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Utah Jazz' AND season_id = '22019'; 35 +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; 41974 | 55.5 +In which season did the Oklahoma City Thunder have the highest average reb at home? SELECT season_id, AVG(reb_home) as avg_stat FROM game WHERE team_name_home = 'Oklahoma City Thunder' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12022 | 52.0 +In which season did the Portland Trail Blazers have the highest average ft_pct at home? SELECT season_id, AVG(ft_pct_home) as avg_stat FROM game WHERE team_name_home = 'Portland Trail Blazers' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 42000 | 0.923 +In which season did the Atlanta Hawks have the highest average ft_pct at home? SELECT season_id, AVG(ft_pct_home) as avg_stat FROM game WHERE team_name_home = 'Atlanta Hawks' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 42013 | 0.8953333333333333 +In which season did the Phoenix Suns have the highest average ft_pct at home? SELECT season_id, AVG(ft_pct_home) as avg_stat FROM game WHERE team_name_home = 'Phoenix Suns' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12021 | 0.907 +How many away games did the Philadelphia 76ers play in the 2007 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Philadelphia 76ers' AND season_id = '22007'; 41 +What is the highest combined reb in any game involving the Phoenix Suns? SELECT MAX(reb_home + reb_away) FROM game WHERE team_name_home = 'Phoenix Suns' OR team_name_away = 'Phoenix Suns'; 150 +What is the highest combined reb in any game involving the Memphis Grizzlies? SELECT MAX(reb_home + reb_away) FROM game WHERE team_name_home = 'Memphis Grizzlies' OR team_name_away = 'Memphis Grizzlies'; 118 +What is the highest combined reb in any game involving the Detroit Pistons? SELECT MAX(reb_home + reb_away) FROM game WHERE team_name_home = 'Detroit Pistons' OR team_name_away = 'Detroit Pistons'; 146 +What is the average number of ft_pct in home games by the Washington Wizards? SELECT AVG(ft_pct_home) FROM game WHERE team_name_home = 'Washington Wizards'; 0.7599337748 +What is the average number of ft_pct in home games by the Houston Rockets? SELECT AVG(ft_pct_home) FROM game WHERE team_name_home = 'Houston Rockets'; 0.751528328 +What is the average number of ft_pct in home games by the Phoenix Suns? SELECT AVG(ft_pct_home) FROM game WHERE team_name_home = 'Phoenix Suns'; 0.7674043498 +What is the average number of ft_pct in home games by the Memphis Grizzlies? SELECT AVG(ft_pct_home) FROM game WHERE team_name_home = 'Memphis Grizzlies'; 0.7520424178 +What is the average number of pts in home games by the Cleveland Cavaliers? SELECT AVG(pts_home) FROM game WHERE team_name_home = 'Cleveland Cavaliers'; 102.834576 +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.409324 +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.2784891 +What is the average number of pts in home games by the San Antonio Spurs? SELECT AVG(pts_home) FROM game WHERE team_name_home = 'San Antonio Spurs'; 106.6730392 +What is the average number of pts in home games by the Detroit Pistons? SELECT AVG(pts_home) FROM game WHERE team_name_home = 'Detroit Pistons'; 104.4078585 +What is the average number of pts in home games by the Phoenix Suns? SELECT AVG(pts_home) FROM game WHERE team_name_home = 'Phoenix Suns'; 109.7381269 +What is the average number of pts in home games by the Washington Wizards? SELECT AVG(pts_home) FROM game WHERE team_name_home = 'Washington Wizards'; 102.9063387 +What is the average number of pts in home games by the Oklahoma City Thunder? SELECT AVG(pts_home) FROM game WHERE team_name_home = 'Oklahoma City Thunder'; 107.40553 +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; 21989 | 121.36585365853658 +In which season did the Houston Rockets have the highest average pts at home? SELECT season_id, AVG(pts_home) as avg_stat FROM game WHERE team_name_home = 'Houston Rockets' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12016 | 127.25 +In which season did the New Orleans Pelicans have the highest average pts at home? SELECT season_id, AVG(pts_home) as avg_stat FROM game WHERE team_name_home = 'New Orleans Pelicans' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12020 | 127.0 +In which season did the Sacramento Kings have the highest average pts at home? SELECT season_id, AVG(pts_home) as avg_stat FROM game WHERE team_name_home = 'Sacramento Kings' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12022 | 129.5 +In which season did the New York Knicks have the highest average reb at home? SELECT season_id, AVG(reb_home) as avg_stat FROM game WHERE team_name_home = 'New York Knicks' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 21959 | 63.0 +In which season did the Orlando Magic have the highest average reb at home? SELECT season_id, AVG(reb_home) as avg_stat FROM game WHERE team_name_home = 'Orlando Magic' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12020 | 51.5 +What is the highest combined reb in any game involving the Cleveland Cavaliers? SELECT MAX(reb_home + reb_away) FROM game WHERE team_name_home = 'Cleveland Cavaliers' OR team_name_away = 'Cleveland Cavaliers'; 145 +What is the highest combined reb in any game involving the Charlotte Hornets? SELECT MAX(reb_home + reb_away) FROM game WHERE team_name_home = 'Charlotte Hornets' OR team_name_away = 'Charlotte Hornets'; 133 +What is the highest combined reb in any game involving the Toronto Raptors? SELECT MAX(reb_home + reb_away) FROM game WHERE team_name_home = 'Toronto Raptors' OR team_name_away = 'Toronto Raptors'; 123 +What is the highest combined tov in any game involving the New Orleans Pelicans? SELECT MAX(tov_home + tov_away) FROM game WHERE team_name_home = 'New Orleans Pelicans' OR team_name_away = 'New Orleans Pelicans'; 53 +What is the highest combined tov in any game involving the Cleveland Cavaliers? SELECT MAX(tov_home + tov_away) FROM game WHERE team_name_home = 'Cleveland Cavaliers' OR team_name_away = 'Cleveland Cavaliers'; 55 +What is the highest combined tov in any game involving the Orlando Magic? SELECT MAX(tov_home + tov_away) FROM game WHERE team_name_home = 'Orlando Magic' OR team_name_away = 'Orlando Magic'; 57 +What is the highest combined tov in any game involving the Washington Wizards? SELECT MAX(tov_home + tov_away) FROM game WHERE team_name_home = 'Washington Wizards' OR team_name_away = 'Washington Wizards'; 54 +In which season did the Detroit Pistons have the highest average reb at home? SELECT season_id, AVG(reb_home) as avg_stat FROM game WHERE team_name_home = 'Detroit Pistons' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 21958 | 61.0 +In which season did the Washington Wizards have the highest average reb at home? SELECT season_id, AVG(reb_home) as avg_stat FROM game WHERE team_name_home = 'Washington Wizards' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 42020 | 49.0 +In which season did the Atlanta Hawks have the highest average reb at home? SELECT season_id, AVG(reb_home) as avg_stat FROM game WHERE team_name_home = 'Atlanta Hawks' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12020 | 61.0 +What is the average number of fg_pct in away games by the Orlando Magic? SELECT AVG(fg_pct_away) FROM game WHERE team_name_away = 'Orlando Magic'; 0.4494814556 +What is the average number of fg_pct in away games by the Oklahoma City Thunder? SELECT AVG(fg_pct_away) FROM game WHERE team_name_away = 'Oklahoma City Thunder'; 0.4466486068 +What is the average number of fg_pct in away games by the Phoenix Suns? SELECT AVG(fg_pct_away) FROM game WHERE team_name_away = 'Phoenix Suns'; 0.4689347333 +What is the average number of fg_pct in away games by the Detroit Pistons? SELECT AVG(fg_pct_away) FROM game WHERE team_name_away = 'Detroit Pistons'; 0.4509188732 +What is the highest combined ft_pct in any game involving the Milwaukee Bucks? SELECT MAX(ft_pct_home + ft_pct_away) FROM game WHERE team_name_home = 'Milwaukee Bucks' OR team_name_away = 'Milwaukee Bucks'; 2 +What is the highest combined ft_pct in any game involving the Orlando Magic? SELECT MAX(ft_pct_home + ft_pct_away) FROM game WHERE team_name_home = 'Orlando Magic' OR team_name_away = 'Orlando Magic'; 1.947 +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 +What is the average number of ft_pct in home games by the Denver Nuggets? SELECT AVG(ft_pct_home) FROM game WHERE team_name_home = 'Denver Nuggets'; 0.7607427848 +What is the average number of ft_pct in home games by the Atlanta Hawks? SELECT AVG(ft_pct_home) FROM game WHERE team_name_home = 'Atlanta Hawks'; 0.7629431664 +What is the average number of ft_pct in home games by the Cleveland Cavaliers? SELECT AVG(ft_pct_home) FROM game WHERE team_name_home = 'Cleveland Cavaliers'; 0.7544007456 +What is the average number of ft_pct in home games by the Orlando Magic? SELECT AVG(ft_pct_home) FROM game WHERE team_name_home = 'Orlando Magic'; 0.7382824107 +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.7450706107 +What is the average number of ft_pct in home games by the Oklahoma City Thunder? SELECT AVG(ft_pct_home) FROM game WHERE team_name_home = 'Oklahoma City Thunder'; 0.7695883257 +What is the average number of tov in home games by the Golden State Warriors? SELECT AVG(tov_home) FROM game WHERE team_name_home = 'Golden State Warriors'; 15.49324324 +What is the average number of tov in home games by the Toronto Raptors? SELECT AVG(tov_home) FROM game WHERE team_name_home = 'Toronto Raptors'; 13.8483572 +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.78812107 +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.41725768 +In which season did the Memphis Grizzlies have the highest average pts at home? SELECT season_id, AVG(pts_home) as avg_stat FROM game WHERE team_name_home = 'Memphis Grizzlies' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12020 | 122.0 +In which season did the Atlanta Hawks have the highest average pts at home? SELECT season_id, AVG(pts_home) as avg_stat FROM game WHERE team_name_home = 'Atlanta Hawks' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 42022 | 123.66666666666667 +In which season did the Orlando Magic have the highest average pts at home? SELECT season_id, AVG(pts_home) as avg_stat FROM game WHERE team_name_home = 'Orlando Magic' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12020 | 117.5 +What is the average number of ast in away games by the Boston Celtics? SELECT AVG(ast_away) FROM game WHERE team_name_away = 'Boston Celtics'; 22.7171123 +What is the average number of ast in away games by the Indiana Pacers? SELECT AVG(ast_away) FROM game WHERE team_name_away = 'Indiana Pacers'; 22.52957907 +What is the average number of ast in away games by the Chicago Bulls? SELECT AVG(ast_away) FROM game WHERE team_name_away = 'Chicago Bulls'; 22.1115493 +What is the average number of ast in away games by the Phoenix Suns? SELECT AVG(ast_away) FROM game WHERE team_name_away = 'Phoenix Suns'; 24.00625355 +What is the average number of ft_pct in away games by the Detroit Pistons? SELECT AVG(ft_pct_away) FROM game WHERE team_name_away = 'Detroit Pistons'; 0.7430191602 +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.7538615611 +What is the average number of ft_pct in away games by the Toronto Raptors? SELECT AVG(ft_pct_away) FROM game WHERE team_name_away = 'Toronto Raptors'; 0.7667325383 +What is the average number of ft_pct in away games by the Atlanta Hawks? SELECT AVG(ft_pct_away) FROM game WHERE team_name_away = 'Atlanta Hawks'; 0.7592745186 +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; 42016 | 0.89 +In which season did the Sacramento Kings have the highest average ft_pct at home? SELECT season_id, AVG(ft_pct_home) as avg_stat FROM game WHERE team_name_home = 'Sacramento Kings' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 41985 | 0.844 +What is the highest combined pts in any game involving the Phoenix Suns? SELECT MAX(pts_home + pts_away) FROM game WHERE team_name_home = 'Phoenix Suns' OR team_name_away = 'Phoenix Suns'; 318 +What is the highest combined pts in any game involving the Los Angeles Lakers? SELECT MAX(pts_home + pts_away) FROM game WHERE team_name_home = 'Los Angeles Lakers' OR team_name_away = 'Los Angeles Lakers'; 307 +What is the highest combined pts in any game involving the Utah Jazz? SELECT MAX(pts_home + pts_away) FROM game WHERE team_name_home = 'Utah Jazz' OR team_name_away = 'Utah Jazz'; 299 +What is the average number of reb in home games by the Washington Wizards? SELECT AVG(reb_home) FROM game WHERE team_name_home = 'Washington Wizards'; 42.70577105 +What is the average number of reb in home games by the Los Angeles Lakers? SELECT AVG(reb_home) FROM game WHERE team_name_home = 'Los Angeles Lakers'; 44.57032854 +What is the average number of reb in home games by the Sacramento Kings? SELECT AVG(reb_home) FROM game WHERE team_name_home = 'Sacramento Kings'; 43.40463918 +What is the average number of reb in home games by the Dallas Mavericks? SELECT AVG(reb_home) FROM game WHERE team_name_home = 'Dallas Mavericks'; 44.11028571 +How many home games did the Miami Heat play in the 2022 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Miami Heat' AND season_id = '22022'; 41 +How many home games did the Toronto Raptors play in the 2022 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Toronto Raptors' AND season_id = '22022'; 41 +How many home games did the Houston Rockets play in the 2022 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Houston Rockets' AND season_id = '22022'; 41 +What is the average number of pts in away games by the Washington Wizards? SELECT AVG(pts_away) FROM game WHERE team_name_away = 'Washington Wizards'; 99.1266055 +In which season did the Denver Nuggets have the highest average pts at home? SELECT season_id, AVG(pts_home) as avg_stat FROM game WHERE team_name_home = 'Denver Nuggets' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 21981 | 129.8048780487805 +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 | 119.65853658536585 +In which season did the Toronto Raptors have the highest average pts at home? SELECT season_id, AVG(pts_home) as avg_stat FROM game WHERE team_name_home = 'Toronto Raptors' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12017 | 118.5 +In which season did the San Antonio Spurs have the highest average pts at home? SELECT season_id, AVG(pts_home) as avg_stat FROM game WHERE team_name_home = 'San Antonio Spurs' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 21978 | 124.6829268292683 +How many away games did the Memphis Grizzlies play in the 2011 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Memphis Grizzlies' AND season_id = '22011'; 33 +How many away games did the New York Knicks play in the 2019 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'New York Knicks' AND season_id = '22019'; 33 +How many home games did the Washington Wizards play in the 2021 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Washington Wizards' AND season_id = '22021'; 41 +How many home games did the Sacramento Kings play in the 2021 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Sacramento Kings' AND season_id = '22021'; 41 +What is the average number of tov in away games by the Indiana Pacers? SELECT AVG(tov_away) FROM game WHERE team_name_away = 'Indiana Pacers'; 15.64250914 +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.96990903 +What is the average number of tov in away games by the Chicago Bulls? SELECT AVG(tov_away) FROM game WHERE team_name_away = 'Chicago Bulls'; 15.18455971 +What is the average number of ast in home games by the Los Angeles Lakers? SELECT AVG(ast_home) FROM game WHERE team_name_home = 'Los Angeles Lakers'; 26.03717088 +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.88689218 +What is the average number of ast in home games by the Washington Wizards? SELECT AVG(ast_home) FROM game WHERE team_name_home = 'Washington Wizards'; 22.49952696 +What is the average number of ast in home games by the Cleveland Cavaliers? SELECT AVG(ast_home) FROM game WHERE team_name_home = 'Cleveland Cavaliers'; 24.63380282 +What is the highest combined ast in any game involving the Charlotte Hornets? SELECT MAX(ast_home + ast_away) FROM game WHERE team_name_home = 'Charlotte Hornets' OR team_name_away = 'Charlotte Hornets'; 79 +What is the highest combined ast in any game involving the Atlanta Hawks? SELECT MAX(ast_home + ast_away) FROM game WHERE team_name_home = 'Atlanta Hawks' OR team_name_away = 'Atlanta Hawks'; 117 +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 +In which season did the Denver Nuggets have the highest average ast at home? SELECT season_id, AVG(ast_home) as avg_stat FROM game WHERE team_name_home = 'Denver Nuggets' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12021 | 35.0 +In which season did the Houston Rockets have the highest average ast at home? SELECT season_id, AVG(ast_home) as avg_stat FROM game WHERE team_name_home = 'Houston Rockets' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12017 | 33.0 +In which season did the Sacramento Kings have the highest average ast at home? SELECT season_id, AVG(ast_home) as avg_stat FROM game WHERE team_name_home = 'Sacramento Kings' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12022 | 32.0 +In which season did the Los Angeles Lakers have the highest average reb at home? SELECT season_id, AVG(reb_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 | 59.333333333333336 +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; 22018 | 46.609756097560975 +In which season did the Milwaukee Bucks have the highest average reb at home? SELECT season_id, AVG(reb_home) as avg_stat FROM game WHERE team_name_home = 'Milwaukee Bucks' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 41970 | 57.5 +How many away games did the Indiana Pacers play in the 2022 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Indiana Pacers' AND season_id = '22022'; 41 +What is the highest combined ft_pct in any game involving the Houston Rockets? SELECT MAX(ft_pct_home + ft_pct_away) FROM game WHERE team_name_home = 'Houston Rockets' OR team_name_away = 'Houston Rockets'; 1.916 +What is the highest combined ft_pct in any game involving the Memphis Grizzlies? SELECT MAX(ft_pct_home + ft_pct_away) FROM game WHERE team_name_home = 'Memphis Grizzlies' OR team_name_away = 'Memphis Grizzlies'; 1.943 +What is the highest combined ft_pct in any game involving the Washington Wizards? SELECT MAX(ft_pct_home + ft_pct_away) FROM game WHERE team_name_home = 'Washington Wizards' OR team_name_away = 'Washington Wizards'; 2 +What is the highest combined ft_pct in any game involving the Detroit Pistons? SELECT MAX(ft_pct_home + ft_pct_away) FROM game WHERE team_name_home = 'Detroit Pistons' OR team_name_away = 'Detroit Pistons'; 2.575 +What is the highest combined ft_pct in any game involving the Oklahoma City Thunder? SELECT MAX(ft_pct_home + ft_pct_away) FROM game WHERE team_name_home = 'Oklahoma City Thunder' OR team_name_away = 'Oklahoma City Thunder'; 1.909 +What is the highest combined ft_pct in any game involving the Cleveland Cavaliers? SELECT MAX(ft_pct_home + ft_pct_away) FROM game WHERE team_name_home = 'Cleveland Cavaliers' OR team_name_away = 'Cleveland Cavaliers'; 1.944 +What is the highest combined ft_pct in any game involving the Phoenix Suns? SELECT MAX(ft_pct_home + ft_pct_away) FROM game WHERE team_name_home = 'Phoenix Suns' OR team_name_away = 'Phoenix Suns'; 1.952 +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.6668216 +What is the average number of tov in away games by the Atlanta Hawks? SELECT AVG(tov_away) FROM game WHERE team_name_away = 'Atlanta Hawks'; 15.2873633 +What is the highest combined fg_pct in any game involving the Sacramento Kings? SELECT MAX(fg_pct_home + fg_pct_away) FROM game WHERE team_name_home = 'Sacramento Kings' OR team_name_away = 'Sacramento Kings'; 1.195 +What is the highest combined fg_pct in any game involving the Boston Celtics? SELECT MAX(fg_pct_home + fg_pct_away) FROM game WHERE team_name_home = 'Boston Celtics' OR team_name_away = 'Boston Celtics'; 1.265 +What is the highest combined fg_pct in any game involving the Atlanta Hawks? SELECT MAX(fg_pct_home + fg_pct_away) FROM game WHERE team_name_home = 'Atlanta Hawks' OR team_name_away = 'Atlanta Hawks'; 1.179 +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 +What is the average number of pts in home games by the Charlotte Hornets? SELECT AVG(pts_home) FROM game WHERE team_name_home = 'Charlotte Hornets'; 103.8556375 +What is the average number of ft_pct in home games by the San Antonio Spurs? SELECT AVG(ft_pct_home) FROM game WHERE team_name_home = 'San Antonio Spurs'; 0.7501362745 +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.7597613054 +What is the average number of tov in home games by the Cleveland Cavaliers? SELECT AVG(tov_home) FROM game WHERE team_name_home = 'Cleveland Cavaliers'; 14.54101327 +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.09272919 +What is the average number of tov in home games by the Sacramento Kings? SELECT AVG(tov_home) FROM game WHERE team_name_home = 'Sacramento Kings'; 15.24226804 +How many home games did the Detroit Pistons play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Detroit Pistons' AND season_id = '22018'; 41 +In which season did the Charlotte Hornets have the highest average ast at home? SELECT season_id, AVG(ast_home) as avg_stat FROM game WHERE team_name_home = 'Charlotte Hornets' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 21991 | 29.390243902439025 +In which season did the Atlanta Hawks have the highest average ast at home? SELECT season_id, AVG(ast_home) as avg_stat FROM game WHERE team_name_home = 'Atlanta Hawks' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 41985 | 32.5 +What is the highest combined fg_pct in any game involving the Cleveland Cavaliers? SELECT MAX(fg_pct_home + fg_pct_away) FROM game WHERE team_name_home = 'Cleveland Cavaliers' OR team_name_away = 'Cleveland Cavaliers'; 1.172 +What is the highest combined fg_pct in any game involving the Chicago Bulls? SELECT MAX(fg_pct_home + fg_pct_away) FROM game WHERE team_name_home = 'Chicago Bulls' OR team_name_away = 'Chicago Bulls'; 1.245 +What is the highest combined fg_pct in any game involving the Phoenix Suns? SELECT MAX(fg_pct_home + fg_pct_away) FROM game WHERE team_name_home = 'Phoenix Suns' OR team_name_away = 'Phoenix Suns'; 1.226 +How many away games did the Brooklyn Nets play in the 2011 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Brooklyn Nets' AND season_id = '22011'; 0 +How many away games did the Minnesota Timberwolves play in the 2011 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Minnesota Timberwolves' AND season_id = '22011'; 33 +How many away games did the Orlando Magic play in the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Orlando Magic' AND season_id = '22020'; 36 +What is the highest combined fg_pct in any game involving the Philadelphia 76ers? SELECT MAX(fg_pct_home + fg_pct_away) FROM game WHERE team_name_home = 'Philadelphia 76ers' OR team_name_away = 'Philadelphia 76ers'; 1.23 +What is the highest combined fg_pct in any game involving the Milwaukee Bucks? SELECT MAX(fg_pct_home + fg_pct_away) FROM game WHERE team_name_home = 'Milwaukee Bucks' OR team_name_away = 'Milwaukee Bucks'; 1.245 +What is the highest combined fg_pct in any game involving the Memphis Grizzlies? SELECT MAX(fg_pct_home + fg_pct_away) FROM game WHERE team_name_home = 'Memphis Grizzlies' OR team_name_away = 'Memphis Grizzlies'; 1.153 +How many away games did the Utah Jazz play in the 2021 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Utah Jazz' AND season_id = '22021'; 41 +How many away games did the Chicago Bulls play in the 2021 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Chicago Bulls' AND season_id = '22021'; 41 +How many away games did the Golden State Warriors play in the 2021 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Golden State Warriors' AND season_id = '22021'; 41 +How many away games did the Indiana Pacers play in the 2021 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Indiana Pacers' AND season_id = '22021'; 41 +How many away games did the Boston Celtics play in the 2021 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Boston Celtics' AND season_id = '22021'; 41 +What is the average number of reb in away games by the Utah Jazz? SELECT AVG(reb_away) FROM game WHERE team_name_away = 'Utah Jazz'; 41.59128978 +What is the average number of reb in away games by the Charlotte Hornets? SELECT AVG(reb_away) FROM game WHERE team_name_away = 'Charlotte Hornets'; 41.99271592 +What is the average number of reb in away games by the New York Knicks? SELECT AVG(reb_away) FROM game WHERE team_name_away = 'New York Knicks'; 41.82023742 +What is the average number of reb in away games by the Miami Heat? SELECT AVG(reb_away) FROM game WHERE team_name_away = 'Miami Heat'; 41.39449541 +What is the average number of reb in away games by the Oklahoma City Thunder? SELECT AVG(reb_away) FROM game WHERE team_name_away = 'Oklahoma City Thunder'; 44.84674923 +What is the average number of reb in away games by the Philadelphia 76ers? SELECT AVG(reb_away) FROM game WHERE team_name_away = 'Philadelphia 76ers'; 42.07578254 +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.512123 +What is the average number of ast in away games by the Sacramento Kings? SELECT AVG(ast_away) FROM game WHERE team_name_away = 'Sacramento Kings'; 22.94693095 +What is the average number of ast in away games by the Cleveland Cavaliers? SELECT AVG(ast_away) FROM game WHERE team_name_away = 'Cleveland Cavaliers'; 21.05447248 +What is the average number of ast in away games by the Oklahoma City Thunder? SELECT AVG(ast_away) FROM game WHERE team_name_away = 'Oklahoma City Thunder'; 20.625387 +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.59463895 +How many away games did the Memphis Grizzlies play in the 2019 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Memphis Grizzlies' AND season_id = '22019'; 36 +How many away games did the Boston Celtics play in the 2019 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Boston Celtics' AND season_id = '22019'; 36 +How many away games did the San Antonio Spurs play in the 2014 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'San Antonio Spurs' AND season_id = '22014'; 41 +How many away games did the Phoenix Suns play in the 2007 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Phoenix Suns' AND season_id = '22007'; 41 +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 +How many away games did the Minnesota Timberwolves play in the 2019 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Minnesota Timberwolves' AND season_id = '22019'; 32 +How many away games did the Brooklyn Nets play in the 2019 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Brooklyn Nets' AND season_id = '22019'; 36 +How many away games did the New Orleans Pelicans play in the 2019 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'New Orleans Pelicans' AND season_id = '22019'; 36 +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 +How many away games did the Sacramento Kings play in the 2009 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Sacramento Kings' AND season_id = '22009'; 41 +In which season did the Minnesota Timberwolves have the highest average ft_pct at home? SELECT season_id, AVG(ft_pct_home) as avg_stat FROM game WHERE team_name_home = 'Minnesota Timberwolves' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 41996 | 0.87 +In which season did the Orlando Magic have the highest average ft_pct at home? SELECT season_id, AVG(ft_pct_home) as avg_stat FROM game WHERE team_name_home = 'Orlando Magic' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 41996 | 0.8714999999999999 +In which season did the Brooklyn Nets have the highest average ft_pct at home? SELECT season_id, AVG(ft_pct_home) as avg_stat FROM game WHERE team_name_home = 'Brooklyn Nets' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 42020 | 0.8854285714285713 +What is the highest combined pts in any game involving the Indiana Pacers? SELECT MAX(pts_home + pts_away) FROM game WHERE team_name_home = 'Cleveland Cavaliers' OR team_name_away = 'Cleveland Cavaliers'; 307 +How many home games did the Denver Nuggets play in the 2022 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Denver Nuggets' AND season_id = '22022'; 41 +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 +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 +How many away games did the New York Knicks play in the 2001 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'New York Knicks' AND season_id = '22001'; 41 +What is the average number of fg_pct in away games by the Toronto Raptors? SELECT AVG(fg_pct_away) FROM game WHERE team_name_away = 'Toronto Raptors'; 0.4468705281 +What is the average number of fg_pct in away games by the Golden State Warriors? SELECT AVG(fg_pct_away) FROM game WHERE team_name_away = 'Golden State Warriors'; 0.456704946 +What is the average number of fg_pct in away games by the Cleveland Cavaliers? SELECT AVG(fg_pct_away) FROM game WHERE team_name_away = 'Cleveland Cavaliers'; 0.4535515464 +How many away games did the Portland Trail Blazers play in the 2002 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Portland Trail Blazers' AND season_id = '22002'; 41 +What is the highest combined reb in any game involving the Houston Rockets? SELECT MAX(reb_home + reb_away) FROM game WHERE team_name_home = 'Houston Rockets' OR team_name_away = 'Houston Rockets'; 147 +What is the highest combined reb in any game involving the Denver Nuggets? SELECT MAX(reb_home + reb_away) FROM game WHERE team_name_home = 'Denver Nuggets' OR team_name_away = 'Denver Nuggets'; 147 +How many home games did the Chicago Bulls play in the 2005 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Chicago Bulls' AND season_id = '22005'; 41 +How many home games did the Memphis Grizzlies play in the 2003 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Memphis Grizzlies' AND season_id = '22003'; 41 +How many home games did the Brooklyn Nets play in the 2003 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Brooklyn Nets' AND season_id = '22003'; 0 +How many home games did the Detroit Pistons play in the 2003 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Detroit Pistons' AND season_id = '22003'; 41 +How many home games did the Denver Nuggets play in the 2003 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Denver Nuggets' AND season_id = '22003'; 41 +What is the average number of reb in away games by the Atlanta Hawks? SELECT AVG(reb_away) FROM game WHERE team_name_away = 'Atlanta Hawks'; 41.72979084 +What is the average number of reb in away games by the Orlando Magic? SELECT AVG(reb_away) FROM game WHERE team_name_away = 'Orlando Magic'; 42.08327502 +What is the average number of reb in away games by the Minnesota Timberwolves? SELECT AVG(reb_away) FROM game WHERE team_name_away = 'Minnesota Timberwolves'; 41.34935438 +What is the average number of reb in away games by the New Orleans Pelicans? SELECT AVG(reb_away) FROM game WHERE team_name_away = 'New Orleans Pelicans'; 44.15172414 +In which season did the 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 | 38.2 +In which season did the Boston Celtics have the highest average ast at home? SELECT season_id, AVG(ast_home) as avg_stat FROM game WHERE team_name_home = 'Boston Celtics' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 41989 | 36.666666666666664 +In which season did the Dallas Mavericks have the highest average ast at home? SELECT season_id, AVG(ast_home) as avg_stat FROM game WHERE team_name_home = 'Dallas Mavericks' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 21982 | 30.325 +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 +What is the highest combined ast in any game involving the Miami Heat? SELECT MAX(ast_home + ast_away) FROM game WHERE team_name_home = 'Miami Heat' OR team_name_away = 'Miami Heat'; 72 +What is the highest combined ast in any game involving the Brooklyn Nets? SELECT MAX(ast_home + ast_away) FROM game WHERE team_name_home = 'Brooklyn Nets' OR team_name_away = 'Brooklyn Nets'; 74 +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 +In which season did the Portland Orlando Magic have the highest average ast at home? SELECT season_id, AVG(ast_home) as avg_stat FROM game WHERE team_name_home = 'Orlando Magic' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 21994 | 28.24390243902439 +In which season did the Portland Brooklyn Nets have the highest average ast at home? SELECT season_id, AVG(ast_home) as avg_stat FROM game WHERE team_name_home = 'Brooklyn Nets' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 22020 | 27.166666666666668 +What is the average number of ft_pct in away games by the Houston Rockets? SELECT AVG(ft_pct_away) FROM game WHERE team_name_away = 'Houston Rockets'; 0.7580814061 +What is the average number of ft_pct in away games by the Dallas Mavericks? SELECT AVG(ft_pct_away) FROM game WHERE team_name_away = 'Dallas Mavericks'; 0.7733810298 +How many away games did the Oklahoma City Thunder play in the 2009 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Oklahoma City Thunder' AND season_id = '22009'; 41 +How many away games did the Cleveland Cavaliers play in the 2009 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Cleveland Cavaliers' AND season_id = '22009'; 41 +How many away games did the Milwaukee Bucks play in the 2009 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Milwaukee Bucks' AND season_id = '22009'; 41 +How many away games did the New Orleans Pelicans play in the 2009 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'New Orleans Pelicans' AND season_id = '22009'; 0 +How many away games did the Houston Rockets play in the 2009 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Houston Rockets' AND season_id = '22009'; 41 +How many away games did the Utah Jazz play in the 2022 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Utah Jazz' AND season_id = '22022'; 41 +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 +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 +What is the highest combined tov in any game involving the Philadelphia 76ers? SELECT MAX(tov_home + tov_away) FROM game WHERE team_name_home = 'Philadelphia 76ers' OR team_name_away = 'Philadelphia 76ers'; 62 +What is the highest combined tov in any game involving the Indiana Pacers? SELECT MAX(tov_home + tov_away) FROM game WHERE team_name_home = 'Indiana Pacers' OR team_name_away = 'Indiana Pacers'; 61 +What is the highest combined tov in any game involving the Toronto Raptors? SELECT MAX(tov_home + tov_away) FROM game WHERE team_name_home = 'Toronto Raptors' OR team_name_away = 'Toronto Raptors'; 66 +What is the highest combined ft_pct in any game involving the San Antonio Spurs? SELECT MAX(ft_pct_home + ft_pct_away) FROM game WHERE team_name_home = 'San Antonio Spurs' OR team_name_away = 'San Antonio Spurs'; 2 +What is the highest combined ft_pct in any game involving the Dallas Mavericks? SELECT MAX(ft_pct_home + ft_pct_away) FROM game WHERE team_name_home = 'Dallas Mavericks' OR team_name_away = 'Dallas Mavericks'; 1.957 +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 +What is the average number of pts in home games by the Utah Jazz? SELECT AVG(pts_home) FROM game WHERE team_name_home = 'Utah Jazz'; 105.4084656 +What is the highest combined fg_pct in any game involving the Indiana Pacers? SELECT MAX(fg_pct_home + fg_pct_away) FROM game WHERE team_name_home = 'Indiana Pacers' OR team_name_away = 'Indiana Pacers'; 1.234 +How many home games did the New Orleans Pelicans play in the 2013 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'New Orleans Pelicans' AND season_id = '22013'; 41 +How many home games did the Brooklyn Nets play in the 2011 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Brooklyn Nets' AND season_id = '22011'; 0 +How many home games did the New York Knicks play in the 2011 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'New York Knicks' AND season_id = '22011'; 33 +How many away games did the Phoenix Suns play in the 2002 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Phoenix Suns' AND season_id = '22002'; 41 +How many away games did the Charlotte Hornets play in the 2002 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Charlotte Hornets' AND season_id = '22002'; 0 +How many away games did the Oklahoma City Thunder play in the 2002 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Oklahoma City Thunder' AND season_id = '22002'; 0 +How many home games did the Milwaukee Bucks play in the 2001 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Milwaukee Bucks' AND season_id = '22001'; 41 +How many home games did the New Orleans Pelicans play in the 2001 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'New Orleans Pelicans' AND season_id = '22001'; 0 +How many home games did the Charlotte Hornets play in the 2013 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Charlotte Hornets' AND season_id = '22013'; 0 +What is the highest combined ft_pct in any game involving the Philadelphia 76ers? SELECT MAX(ft_pct_home + ft_pct_away) FROM game WHERE team_name_home = 'Philadelphia 76ers' OR team_name_away = 'Philadelphia 76ers'; 2.917 +What is the highest combined ft_pct in any game involving the Brooklyn Nets? SELECT MAX(ft_pct_home + ft_pct_away) FROM game WHERE team_name_home = 'Brooklyn Nets' OR team_name_away = 'Brooklyn Nets'; 1.933 +What is the highest combined ft_pct in any game involving the Atlanta Hawks? SELECT MAX(ft_pct_home + ft_pct_away) FROM game WHERE team_name_home = 'Atlanta Hawks' OR team_name_away = 'Atlanta Hawks'; 2 +What is the average number of pts in home games by the Memphis Grizzlies? SELECT AVG(pts_home) FROM game WHERE team_name_home = 'Memphis Grizzlies'; 102.0636267 +What is the average number of pts in home games by the Atlanta Hawks? SELECT AVG(pts_home) FROM game WHERE team_name_home = 'Atlanta Hawks'; 105.3432567 +What is the average number of pts in home games by the Toronto Raptors? SELECT AVG(pts_home) FROM game WHERE team_name_home = 'Toronto Raptors'; 102.1946083 +What is the average number of pts in home games by the Sacramento Kings? SELECT AVG(pts_home) FROM game WHERE team_name_home = 'Sacramento Kings'; 105.1804124 +How many home games did the Los Angeles Lakers play in the 2019 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Los Angeles Lakers' AND season_id = '22019'; 35 +How many home games did the Memphis Grizzlies play in the 2019 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Memphis Grizzlies' AND season_id = '22019'; 37 +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 +What is the average number of pts in away games by the Indiana Pacers? SELECT AVG(pts_away) FROM game WHERE team_name_away = 'Indiana Pacers'; 101.2127551 +What is the average number of pts in away games by the Cleveland Cavaliers? SELECT AVG(pts_away) FROM game WHERE team_name_away = 'Cleveland Cavaliers'; 99.08664773 +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.78243775 +What is the average number of fg_pct in away games by the Dallas Mavericks? SELECT AVG(fg_pct_away) FROM game WHERE team_name_away = 'Dallas Mavericks'; 0.4553786078 +What is the average number of fg_pct in away games by the Utah Jazz? SELECT AVG(fg_pct_away) FROM game WHERE team_name_away = 'Utah Jazz'; 0.4657068677 +What is the average number of fg_pct in away games by the Sacramento Kings? SELECT AVG(fg_pct_away) FROM game WHERE team_name_away = 'Sacramento Kings'; 0.4541726343 +What is the average number of fg_pct in away games by the Philadelphia 76ers? SELECT AVG(fg_pct_away) FROM game WHERE team_name_away = 'Philadelphia 76ers'; 0.4546205382 +In which season did the Philadelphia 76ers have the highest average tov at home? SELECT season_id, AVG(tov_home) as avg_stat FROM game WHERE team_name_home = 'Philadelphia 76ers' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12016 | 24.333333333333332 +In which season did the Houston Rockets have the highest average tov at home? SELECT season_id, AVG(tov_home) as avg_stat FROM game WHERE team_name_home = 'Houston Rockets' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12011 | 21.0 +In which season did the Cleveland Cavaliers have the highest average tov at home? SELECT season_id, AVG(tov_home) as avg_stat FROM game WHERE team_name_home = 'Cleveland Cavaliers' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12020 | 25.5 +In which season did the Utah Jazz have the highest average tov at home? SELECT season_id, AVG(tov_home) as avg_stat FROM game WHERE team_name_home = 'Utah Jazz' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 21983 | 27.0 +In which season did the New York Knicks have the highest average tov at home? SELECT season_id, AVG(tov_home) as avg_stat FROM game WHERE team_name_home = 'New York Knicks' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 41990 | 23.0 +In which season did the Atlanta Hawks have the highest average tov at home? SELECT season_id, AVG(tov_home) as avg_stat FROM game WHERE team_name_home = 'Atlanta Hawks' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12017 | 22.5 +What is the average number of ft_pct in away games by the Minnesota Timberwolves? SELECT AVG(ft_pct_away) FROM game WHERE team_name_away = 'Minnesota Timberwolves'; 0.7737926829 +What is the average number of ft_pct in away games by the New York Knicks? SELECT AVG(ft_pct_away) FROM game WHERE team_name_away = 'New York Knicks'; 0.7497584485 +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.7524065985 +What is the average number of ft_pct in away games by the Charlotte Hornets? SELECT AVG(ft_pct_away) FROM game WHERE team_name_away = 'Charlotte Hornets'; 0.7677023933 +In which season did the Oklahoma City Thunder have the highest average fg_pct at home? SELECT season_id, AVG(fg_pct_home) as avg_stat FROM game WHERE team_name_home = 'Oklahoma City Thunder' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 42016 | 0.524 +In which season did the Miami Heat have the highest average fg_pct at home? SELECT season_id, AVG(fg_pct_home) as avg_stat FROM game WHERE team_name_home = 'Miami Heat' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12011 | 0.587 +In which season did the Cleveland Cavaliers have the highest average fg_pct at home? SELECT season_id, AVG(fg_pct_home) as avg_stat FROM game WHERE team_name_home = 'Cleveland Cavaliers' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 41989 | 0.552 +How many home games did the Dallas Mavericks play in the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Dallas Mavericks' AND season_id = '22020'; 36 +How many home games did the Minnesota Timberwolves play in the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Minnesota Timberwolves' AND season_id = '22020'; 36 +How many home games did the Detroit Pistons play in the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Detroit Pistons' AND season_id = '22020'; 36 +What is the average number of tov in home games by the Portland Trail Blazers? SELECT AVG(tov_home) FROM game WHERE team_name_home = 'Portland Trail Blazers'; 14.68440367 +What is the average number of tov in home games by the Philadelphia 76ers? SELECT AVG(tov_home) FROM game WHERE team_name_home = 'Philadelphia 76ers'; 15.60122358 +How many away games did the Orlando Magic play in the 2021 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Orlando Magic' AND season_id = '22021'; 41 +In which season did the Dallas Mavericks have the highest average pts at home? SELECT season_id, AVG(pts_home) as avg_stat FROM game WHERE team_name_home = 'Dallas Mavericks' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 41986 | 130.5 +In which season did the New York Knicks have the highest average pts at home? SELECT season_id, AVG(pts_home) as avg_stat FROM game WHERE team_name_home = 'New York Knicks' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 21965 | 120.13157894736842 +What is the average number of ft_pct in away games by the Phoenix Suns? SELECT AVG(ft_pct_away) FROM game WHERE team_name_away = 'Phoenix Suns'; 0.7635485025 +What is the average number of ft_pct in away games by the Memphis Grizzlies? SELECT AVG(ft_pct_away) FROM game WHERE team_name_away = 'Memphis Grizzlies'; 0.7474040297 +What is the average number of ft_pct in away games by the Brooklyn Nets? SELECT AVG(ft_pct_away) FROM game WHERE team_name_away = 'Brooklyn Nets'; 0.7734608501 +How many away games did the Houston Rockets play in the 2022 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Houston Rockets' AND season_id = '22022'; 41 +What is the highest combined reb in any game involving the Atlanta Hawks? SELECT MAX(reb_home + reb_away) FROM game WHERE team_name_home = 'Atlanta Hawks' OR team_name_away = 'Atlanta Hawks'; 132 +What is the highest combined reb in any game involving the Milwaukee Bucks? SELECT MAX(reb_home + reb_away) FROM game WHERE team_name_home = 'Milwaukee Bucks' OR team_name_away = 'Milwaukee Bucks'; 134 +What is the highest combined reb in any game involving the New Orleans Pelicans? SELECT MAX(reb_home + reb_away) FROM game WHERE team_name_home = 'New Orleans Pelicans' OR team_name_away = 'New Orleans Pelicans'; 119 +What is the average number of pts in home games by the Portland Trail Blazers? SELECT AVG(pts_home) FROM game WHERE team_name_home = 'Portland Trail Blazers'; 106.8559441 +What is the average number of pts in home games by the New Orleans Pelicans? SELECT AVG(pts_home) FROM game WHERE team_name_home = 'New Orleans Pelicans'; 110.0351288 +In which season did the New Orleans Pelicans have the highest average ast at home? SELECT season_id, AVG(ast_home) as avg_stat FROM game WHERE team_name_home = 'New Orleans Pelicans' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 22017 | 28.29268292682927 +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 | 31.333333333333332 +How many away games did the Minnesota Timberwolves play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Minnesota Timberwolves' AND season_id = '22018'; 41 +How many away games did the Miami Heat play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Miami Heat' AND season_id = '22018'; 41 +What is the highest combined reb in any game involving the Indiana Pacers? SELECT MAX(reb_home + reb_away) FROM game WHERE team_name_home = 'Indiana Pacers' OR team_name_away = 'Indiana Pacers'; 135 +What is the highest combined reb in any game involving the Oklahoma City Thunder? SELECT MAX(reb_home + reb_away) FROM game WHERE team_name_home = 'Oklahoma City Thunder' OR team_name_away = 'Oklahoma City Thunder'; 121 +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 +How many away games did the Milwaukee Bucks play in the 2017 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Milwaukee Bucks' AND season_id = '22017'; 41 +How many away games did the Houston Rockets play in the 2017 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Houston Rockets' AND season_id = '22017'; 41 +How many away games did the Brooklyn Nets play in the 2017 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Brooklyn Nets' AND season_id = '22017'; 41 +How many away games did the Oklahoma City Thunder play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_away = 'Oklahoma City Thunder' AND season_id = '22018'; 41 +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.17657242 +What is the average number of tov in away games by the Washington Wizards? SELECT AVG(tov_away) FROM game WHERE team_name_away = 'Washington Wizards'; 14.71192661 +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.94177501 +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.83399659 +How many home games did the New Orleans Pelicans play in the 2021 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'New Orleans Pelicans' AND season_id = '22021'; 41 +How many home games did the Portland Trail Blazers play in the 2021 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Portland Trail Blazers' AND season_id = '22021'; 41 +How many home games did the Golden State Warriors play in the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Golden State Warriors' AND season_id = '22020'; 36 +How many home games did the Sacramento Kings play in the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Sacramento Kings' AND season_id = '22020'; 36 +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 +What is the highest combined tov in any game involving the Minnesota Timberwolves? SELECT MAX(tov_home + tov_away) FROM game WHERE team_name_home = 'Minnesota Timberwolves' OR team_name_away = 'Minnesota Timberwolves'; 52 +How many home games did the Indiana Pacers Lakers play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Indiana Pacers' AND season_id = '22018'; 41 +How many home games did the New York Knicks Lakers play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'New York Knicks' AND season_id = '22018'; 41 +How many home games did the Minnesota Timberwolves Lakers play in the 2018 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Minnesota Timberwolves' AND season_id = '22018'; 41 +What is the average number of ast in home games by the Denver Nuggets? SELECT AVG(ast_home) FROM game WHERE team_name_home = 'Denver Nuggets'; 25.35294118 +What is the average number of ast in home games by the San Antonio Spurs? SELECT AVG(ast_home) FROM game WHERE team_name_home = 'San Antonio Spurs'; 24.69570011 +What is the average number of tov in home games by the Washington Wizards? SELECT AVG(tov_home) FROM game WHERE team_name_home = 'Washington Wizards'; 14.51561022 +What is the average number of tov in home games by the Dallas Mavericks? SELECT AVG(tov_home) FROM game WHERE team_name_home = 'Dallas Mavericks'; 13.69717445 +How many away games did the Memphis Grizzlies play in the 2014 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Memphis Grizzlies' AND season_id = '22015'; 41 +How many away games did the Milwaukee Bucks play in the 2014 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Milwaukee Bucks' AND season_id = '22015'; 41 +What is the average number of ft_pct in away games by the Utah Jazz? SELECT AVG(ft_pct_away) FROM game WHERE team_name_away = 'Utah Jazz'; 0.7584554974 +What is the average number of ft_pct in away games by the Indiana Pacers? SELECT AVG(ft_pct_away) FROM game WHERE team_name_away = 'Indiana Pacers'; 0.7663596939 +What is the average number of pts in away games by the San Antonio Spurs? SELECT AVG(pts_away) FROM game WHERE team_name_away = 'San Antonio Spurs'; 102.3549337 +What is the average number of pts in away games by the Sacramento Kings? SELECT AVG(pts_away) FROM game WHERE team_name_away = 'Sacramento Kings'; 101.7078005 +What is the average number of pts in away games by the Atlanta Hawks? SELECT AVG(pts_away) FROM game WHERE team_name_away = 'Atlanta Hawks'; 100.4290193 +What is the average number of pts in away games by the Detroit Pistons? SELECT AVG(pts_away) FROM game WHERE team_name_away = 'Detroit Pistons'; 101.8393762 +What is the highest combined ast in any game involving the Golden State Warriors? SELECT MAX(ast_home + ast_away) FROM game WHERE team_name_home = 'Golden State Warriors' OR team_name_away = 'Golden State Warriors'; 77 +What is the highest combined ast in any game involving the New Orleans Pelicans? SELECT MAX(ast_home + ast_away) FROM game WHERE team_name_home = 'New Orleans Pelicans' OR team_name_away = 'New Orleans Pelicans'; 73 +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.7147689 +What is the highest combined ast in any game involving the Detroit Pistons? SELECT MAX(ast_home + ast_away) FROM game WHERE team_name_home = 'Detroit Pistons' OR team_name_away = 'Detroit Pistons'; 93 +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 +What is the highest combined ast in any game involving the Toronto Raptors? SELECT MAX(ast_home + ast_away) FROM game WHERE team_name_home = 'Toronto Raptors' OR team_name_away = 'Toronto Raptors'; 71 +What is the average number of ft_pct in away games by the Orlando Magic? SELECT AVG(ft_pct_away) FROM game WHERE team_name_away = 'Orlando Magic'; 0.7317557733 +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.7408833552 +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 +What is the highest combined tov in any game involving the Utah Jazz? SELECT MAX(tov_home + tov_away) FROM game WHERE team_name_home = 'Utah Jazz' OR team_name_away = 'Utah Jazz'; 60 +What is the average number of reb in home games by the Philadelphia 76ers? SELECT AVG(reb_home) FROM game WHERE team_name_home = 'Philadelphia 76ers'; 43.56101601 +What is the average number of reb in home games by the Brooklyn Nets? SELECT AVG(reb_home) FROM game WHERE team_name_home = 'Brooklyn Nets'; 43.77876106 +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; 12022 | 127.66666666666667 +In which season did the Boston Celtics have the highest average pts at home? SELECT season_id, AVG(pts_home) as avg_stat FROM game WHERE team_name_home = 'Boston Celtics' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 41989 | 129.0 +How many home games did the Boston Celtics play in the 2022 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Boston Celtics' AND season_id = '22022'; 41 +What is the average number of fg_pct in home games by the Memphis Grizzlies? SELECT AVG(fg_pct_home) FROM game WHERE team_name_home = 'Memphis Grizzlies'; 0.4590657476 +What is the average number of fg_pct in home games by the Utah Jazz? SELECT AVG(fg_pct_home) FROM game WHERE team_name_home = 'Utah Jazz'; 0.4810536723 +What is the average number of fg_pct in home games by the Dallas Mavericks? SELECT AVG(fg_pct_home) FROM game WHERE team_name_home = 'Dallas Mavericks'; 0.46389251 +In which season did the New Orleans Pelicans have the highest average fg_pct at home? SELECT season_id, AVG(fg_pct_home) as avg_stat FROM game WHERE team_name_home = 'New Orleans Pelicans' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12020 | 0.512 +In which season did the Atlanta Hawks have the highest average fg_pct at home? SELECT season_id, AVG(fg_pct_home) as avg_stat FROM game WHERE team_name_home = 'Atlanta Hawks' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12022 | 0.547 +In which season did the Brooklyn Nets have the highest average fg_pct at home? SELECT season_id, AVG(fg_pct_home) as avg_stat FROM game WHERE team_name_home = 'Brooklyn Nets' GROUP BY season_id ORDER BY avg_stat DESC LIMIT 1; 12020 | 0.514 +What is the most points the Philadelphia 76ers have scored at home? SELECT MAX(pts_home) FROM game WHERE team_name_home = 'Philadelphia 76ers'; 159 +What is the most points the Dallas Mavericks have scored at home? SELECT MAX(pts_home) FROM game WHERE team_name_home = 'Dallas Mavericks'; 151 +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 +What is the most points the Orlando Magic have scored at home? SELECT MAX(pts_home) FROM game WHERE team_name_home = 'Orlando Magic'; 155 +How many home games did the Los Angeles Lakers win in the 1946 season? SELECT COUNT(*) as wins FROM game WHERE team_name_home = 'Los Angeles Lakers' AND wl_home = 'W' AND season_id = '21946'; 0 +How many home games did the Miami Heat win in the 1946 season? SELECT COUNT(*) as wins FROM game WHERE team_name_home = 'Miami Heat' AND wl_home = 'W' AND season_id = '21946'; 0 +How many home games did the New York Knicks win in the 1946 season? SELECT COUNT(*) as wins FROM game WHERE team_name_home = 'New York Knicks' AND wl_home = 'W' AND season_id = '21946'; 18 +What is the total number of assists by the Utah Jazz at home? SELECT SUM(ast_home) as total_assists FROM game WHERE team_name_home = 'Utah Jazz'; 44165 +What is the total number of assists by the Houston Rockets at home? SELECT SUM(ast_home) as total_assists FROM game WHERE team_name_home = 'Houston Rockets'; 42360 +What is the total number of assists by the Los Angeles Lakers at home? SELECT SUM(ast_home) as total_assists FROM game WHERE team_name_home = 'Los Angeles Lakers'; 50434 +What is the total number of assists by the Milwaukee Bucks at home? SELECT SUM(ast_home) as total_assists FROM game WHERE team_name_home = 'Milwaukee Bucks'; 43290 +How many games did the Minnesota Timberwolves lose away in the 1996 season? SELECT COUNT(*) as losses FROM game WHERE team_name_away = 'Minnesota Timberwolves' AND wl_away = 'L' AND season_id = '21996'; 26 +How many games did the New York Knicks lose away in the 1996 season? SELECT COUNT(*) as losses FROM game WHERE team_name_away = 'New York Knicks' AND wl_away = 'L' AND season_id = '21996'; 15 +What is the average field goal percentage for the Milwaukee Bucks at home? SELECT AVG(fg_pct_home) as avg_fg_pct FROM game WHERE team_name_home = 'Milwaukee Bucks'; 0.4708141892 +What is the average field goal percentage for the Sacramento Kings at home? SELECT AVG(fg_pct_home) as avg_fg_pct FROM game WHERE team_name_home = 'Sacramento Kings'; 0.465625 +What is the average field goal percentage for the Los Angeles Lakers at home? SELECT AVG(fg_pct_home) as avg_fg_pct FROM game WHERE team_name_home = 'Los Angeles Lakers'; 0.4782432016 +What is the average field goal percentage for the Detroit Pistons at home? SELECT AVG(fg_pct_home) as avg_fg_pct FROM game WHERE team_name_home = 'Detroit Pistons'; 0.4611972067 +How many steals did the Milwaukee Bucks make at home in the 1996 season? SELECT SUM(stl_home) as total_steals FROM game WHERE team_name_home = 'Milwaukee Bucks' AND season_id = '21996'; 337 +What is the highest plus-minus score for the New York Knicks at home? SELECT MAX(plus_minus_home) as max_plus_minus FROM game WHERE team_name_home = 'New York Knicks'; 48 +What is the highest plus-minus score for the Los Angeles Lakers at home? SELECT MAX(plus_minus_home) as max_plus_minus FROM game WHERE team_name_home = 'Los Angeles Lakers'; 63 +What is the highest plus-minus score for the Cleveland Cavaliers at home? SELECT MAX(plus_minus_home) as max_plus_minus FROM game WHERE team_name_home = 'Cleveland Cavaliers'; 68 +What is the highest plus-minus score for the Miami Heat at home? SELECT MAX(plus_minus_home) as max_plus_minus FROM game WHERE team_name_home = 'Miami Heat'; 43 +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 +How many games did the Portland Trail Blazers play at home in 1996? SELECT COUNT(*) as home_games FROM game WHERE team_name_home = 'Portland Trail Blazers' AND season_id = '21996'; 41 +How many blocks did the Charlotte Hornets make at home in 1996? SELECT SUM(blk_home) as total_blocks FROM game WHERE team_name_home = 'Charlotte Hornets' AND season_id = '21996'; 188 +What is the total number of rebounds by the Oklahoma City Thunder at home? SELECT SUM(reb_home) as total_rebounds FROM game WHERE team_name_home = 'Oklahoma City Thunder'; 29362 +What is the total number of rebounds by the Memphis Grizzlies at home? SELECT SUM(reb_home) as total_rebounds FROM game WHERE team_name_home = 'Memphis Grizzlies'; 40729 +What is the total number of rebounds by the Denver Nuggets at home? SELECT SUM(reb_home) as total_rebounds FROM game WHERE team_name_home = 'Denver Nuggets'; 78123 +What is the total number of rebounds by the Utah Jazz at home? SELECT SUM(reb_home) as total_rebounds FROM game WHERE team_name_home = 'Utah Jazz'; 78173 +What is the lowest points scored by the Charlotte Hornets at home? SELECT MIN(pts_home) as min_points FROM game WHERE team_name_home = 'Charlotte Hornets'; 59 +What is the lowest points scored by the Miami Heat at home? SELECT MIN(pts_home) as min_points FROM game WHERE team_name_home = 'Miami Heat'; 56 +What is the lowest points scored by the Oklahoma City Thunder at home? SELECT MIN(pts_home) as min_points FROM game WHERE team_name_home = 'Oklahoma City Thunder'; 65 +What is the lowest points scored by the Denver Nuggets at home? SELECT MIN(pts_home) as min_points FROM game WHERE team_name_home = 'Denver Nuggets'; 56 +What is the total points scored by the Milwaukee Bucks away? SELECT SUM(pts_away) as total_points FROM game WHERE team_name_away = 'Milwaukee Bucks'; 232282 +What is the total points scored by the Detroit Pistons away? SELECT SUM(pts_away) as total_points FROM game WHERE team_name_away = 'Detroit Pistons'; 261218 +What is the total points scored by the Memphis Grizzlies away? SELECT SUM(pts_away) as total_points FROM game WHERE team_name_away = 'Memphis Grizzlies'; 93388 +How many turnovers did the Phoenix Suns have at home in 1996? SELECT SUM(tov_home) as total_turnovers FROM game WHERE team_name_home = 'Phoenix Suns' AND season_id = '21996'; 540 +How many turnovers did the Houston Rockets have at home in 1996? SELECT SUM(tov_home) as total_turnovers FROM game WHERE team_name_home = 'Houston Rockets' AND season_id = '21996'; 657 +How many turnovers did the Cleveland Cavaliers have at home in 1996? SELECT SUM(tov_home) as total_turnovers FROM game WHERE team_name_home = 'Cleveland Cavaliers' AND season_id = '21996'; 605 +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 +What is the highest points scored by the Brooklyn Nets away? SELECT MAX(pts_away) as max_points FROM game WHERE team_name_away = 'Brooklyn Nets'; 150 +What is the highest points scored by the Dallas Mavericks away? SELECT MAX(pts_away) as max_points FROM game WHERE team_name_away = 'Dallas Mavericks'; 156 +What is the highest points scored by the Sacramento Kings away? SELECT MAX(pts_away) as max_points FROM game WHERE team_name_away = 'Sacramento Kings'; 176 +How many games did the New Orleans Pelicans lose at home in 1996? SELECT COUNT(*) as home_losses FROM game WHERE team_name_home = 'New Orleans Pelicans' AND wl_home = 'L' AND season_id = '21996'; 0 +How many games did the Boston Celtics lose at home in 1996? SELECT COUNT(*) as home_losses FROM game WHERE team_name_home = 'Boston Celtics' AND wl_home = 'L' AND season_id = '21996'; 30 +How many games did the Detroit Pistons lose at home in 1996? SELECT COUNT(*) as home_losses FROM game WHERE team_name_home = 'Detroit Pistons' AND wl_home = 'L' AND season_id = '21996'; 11 +What is the total free throws made by the Toronto Raptors at home? SELECT SUM(ftm_home) as total_ftm FROM game WHERE team_name_home = 'Toronto Raptors'; 22059 +What is the total free throws made by the Houston Rockets at home? SELECT SUM(ftm_home) as total_ftm FROM game WHERE team_name_home = 'Houston Rockets'; 42496 +What is the total free throws made by the Brooklyn Nets at home? SELECT SUM(ftm_home) as total_ftm FROM game WHERE team_name_home = 'Brooklyn Nets'; 8127 +What is the total free throws made by the Milwaukee Bucks at home? SELECT SUM(ftm_home) as total_ftm FROM game WHERE team_name_home = 'Milwaukee Bucks'; 44088 +How many assists did the San Antonio Spurs have away in 1996? SELECT SUM(ast_away) as total_assists FROM game WHERE team_name_away = 'San Antonio Spurs' AND season_id = '21996'; 799 +What is the average points scored by the Milwaukee Bucks at home? SELECT AVG(pts_home) as avg_points FROM game WHERE team_name_home = 'Milwaukee Bucks'; 106.2445628 +What is the average points scored by the Detroit Pistons at home? SELECT AVG(pts_home) as avg_points FROM game WHERE team_name_home = 'Detroit Pistons'; 104.4078585 +What is the average points scored by the Dallas Mavericks at home? SELECT AVG(pts_home) as avg_points FROM game WHERE team_name_home = 'Dallas Mavericks'; 105.0365521 +What is the average points scored by the Minnesota Timberwolves at home? SELECT AVG(pts_home) as avg_points FROM game WHERE team_name_home = 'Minnesota Timberwolves'; 101.2323741 +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 +How many games did the Toronto Raptors win at home in 1996? SELECT COUNT(*) as home_wins FROM game WHERE team_name_home = 'Toronto Raptors' AND wl_home = 'W' AND season_id = '21996'; 18 +What is the total points in the paint by the San Antonio Spurs at home? SELECT SUM(pts_paint_home) as total_pts_paint FROM other_stats WHERE team_abbreviation_home = 'SAS'; 41320 +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 +What is the total points in the paint by the Memphis Grizzlies at home? SELECT SUM(pts_paint_home) as total_pts_paint FROM other_stats WHERE team_abbreviation_home = 'MEM'; 37436 +What is the total points in the paint by the Charlotte Hornets at home? SELECT SUM(pts_paint_home) as total_pts_paint FROM other_stats WHERE team_abbreviation_home = 'CHA'; 27054 +How many lead changes occurred in games where the Cleveland Cavaliers played at home? SELECT SUM(lead_changes) as total_lead_changes FROM other_stats WHERE team_abbreviation_home = 'CLE'; 6045 +How many lead changes occurred in games where the Minnesota Timberwolves played at home? SELECT SUM(lead_changes) as total_lead_changes FROM other_stats WHERE team_abbreviation_home = 'MIN'; 5688 +How many lead changes occurred in games where the Miami Heat played at home? SELECT SUM(lead_changes) as total_lead_changes FROM other_stats WHERE team_abbreviation_home = 'MIA'; 5607 +How many lead changes occurred in games where the Charlotte Hornets played at home? SELECT SUM(lead_changes) as total_lead_changes FROM other_stats WHERE team_abbreviation_home = 'CHA'; 4128 +What is the largest lead the Oklahoma City Thunder had at home? SELECT MAX(largest_lead_home) as max_lead FROM other_stats WHERE team_abbreviation_home = 'OKC'; 43 +What is the largest lead the Charlotte Hornets had at home? SELECT MAX(largest_lead_home) as max_lead FROM other_stats WHERE team_abbreviation_home = 'CHA'; 65 +What is the largest lead the New Orleans Pelicans had at home? SELECT MAX(largest_lead_home) as max_lead FROM other_stats WHERE team_abbreviation_home = 'NOP'; 53 +How many fast break points did the Phoenix Suns score away? SELECT SUM(pts_fb_away) as total_fb_points FROM other_stats WHERE team_abbreviation_away = 'PHX'; 14700 +How many fast break points did the Utah Jazz score away? SELECT SUM(pts_fb_away) as total_fb_points FROM other_stats WHERE team_abbreviation_away = 'UTA'; 11223 +How many fast break points did the Charlotte Hornets score away? SELECT SUM(pts_fb_away) as total_fb_points FROM other_stats WHERE team_abbreviation_away = 'CHA'; 7654 +What is the total second chance points by the Phoenix Suns at home? SELECT SUM(pts_2nd_chance_home) as total_2nd_chance FROM other_stats WHERE team_abbreviation_home = 'PHX'; 12365 +What is the total second chance points by the Chicago Bulls at home? SELECT SUM(pts_2nd_chance_home) as total_2nd_chance FROM other_stats WHERE team_abbreviation_home = 'CHI'; 12770 +What is the total second chance points by the Portland Trail Blazers at home? SELECT SUM(pts_2nd_chance_home) as total_2nd_chance FROM other_stats WHERE team_abbreviation_home = 'POR'; 12293 +What is the total second chance points by the Milwaukee Bucks at home? SELECT SUM(pts_2nd_chance_home) as total_2nd_chance FROM other_stats WHERE team_abbreviation_home = 'MIL'; 12640 +What's the average number of three-pointers made by the Portland Trail Blazers in home games during the 2016 season? SELECT AVG(fg3m_home) FROM game WHERE team_name_home = 'Portland Trail Blazers' AND season_id = '22016'; 11.07317073 +What's the average number of three-pointers made by the Phoenix Suns in home games during the 2016 season? SELECT AVG(fg3m_home) FROM game WHERE team_name_home = 'Phoenix Suns' AND season_id = '22016'; 7.829268293 +How many total team rebounds did the Milwaukee Bucks 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 = 'MIL' AND os.pts_fb_away > 15; 2309 +How many total team rebounds did the Brooklyn Nets 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 = 'BKN' AND os.pts_fb_away > 15; 898 +How many total team rebounds did the Washington Wizards 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 = 'WAS' AND os.pts_fb_away > 15; 2429 +How many total team rebounds did the Phoenix Suns 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 = 'PHX' AND os.pts_fb_away > 15; 2849 +What is the total rebounds by the Denver Nuggets away? SELECT SUM(reb_away) as total_rebounds FROM game WHERE team_name_away = 'Denver Nuggets'; 76197 +What is the total rebounds by the Houston Rockets away? SELECT SUM(reb_away) as total_rebounds FROM game WHERE team_name_away = 'Houston Rockets'; 75490 +What is the total rebounds by the San Antonio Spurs away? SELECT SUM(reb_away) as total_rebounds FROM game WHERE team_name_away = 'San Antonio Spurs'; 77571 +What is the total rebounds by the Oklahoma City Thunder away? SELECT SUM(reb_away) as total_rebounds FROM game WHERE team_name_away = 'Oklahoma City Thunder'; 28971 +How many blocks did the Charlotte Hornets make at home? SELECT SUM(blk_home) as total_blocks FROM game WHERE team_name_home = 'Charlotte Hornets'; 4781 +How many blocks did the Phoenix Suns make at home? SELECT SUM(blk_home) as total_blocks FROM game WHERE team_name_home = 'Phoenix Suns'; 8794 +How many blocks did the Washington Wizards make at home? SELECT SUM(blk_home) as total_blocks FROM game WHERE team_name_home = 'Washington Wizards'; 5171 +How many blocks did the Portland Trail Blazers make at home? SELECT SUM(blk_home) as total_blocks FROM game WHERE team_name_home = 'Portland Trail Blazers'; 7831 +What is the lowest plus-minus score for the Minnesota Timberwolves at home? SELECT MIN(plus_minus_home) as min_plus_minus FROM game WHERE team_name_home = 'Minnesota Timberwolves'; -38 +What is the lowest plus-minus score for the Atlanta Hawks at home? SELECT MIN(plus_minus_home) as min_plus_minus FROM game WHERE team_name_home = 'Atlanta Hawks'; -44 +What is the lowest plus-minus score for the Houston Rockets at home? SELECT MIN(plus_minus_home) as min_plus_minus FROM game WHERE team_name_home = 'Houston Rockets'; -56 +How many games did the Miami Heat lose away in 1996? SELECT COUNT(*) as away_losses FROM game WHERE team_name_away = 'Miami Heat' AND wl_away = 'L' AND season_id = '21996'; 9 +How many games did the Utah Jazz lose away in 1996? SELECT COUNT(*) as away_losses FROM game WHERE team_name_away = 'Utah Jazz' AND wl_away = 'L' AND season_id = '21996'; 15 +What is the total points scored by the Denver Nuggets at home? SELECT SUM(pts_home) as total_points FROM game WHERE team_name_home = 'Denver Nuggets'; 217457 +What is the total points scored by the Utah Jazz at home? SELECT SUM(pts_home) as total_points FROM game WHERE team_name_home = 'Utah Jazz'; 199222 +What is the total points scored by the Washington Wizards at home? SELECT SUM(pts_home) as total_points FROM game WHERE team_name_home = 'Washington Wizards'; 108772 +What is the total points scored by the Miami Heat at home? SELECT SUM(pts_home) as total_points FROM game WHERE team_name_home = 'Miami Heat'; 155695 +How many assists did the Charlotte Hornets have at home in 1996? SELECT SUM(ast_home) as total_assists FROM game WHERE team_name_home = 'Charlotte Hornets' AND season_id = '21996'; 1141 +How many assists did the Boston Celtics have at home in 1996? SELECT SUM(ast_home) as total_assists FROM game WHERE team_name_home = 'Boston Celtics' AND season_id = '21996'; 927 +What is the average free throw percentage for the Utah Jazz away? SELECT AVG(ft_pct_away) as avg_ft_pct FROM game WHERE team_name_away = 'Utah Jazz'; 0.7584554974 +What is the average free throw percentage for the Brooklyn Nets away? SELECT AVG(ft_pct_away) as avg_ft_pct FROM game WHERE team_name_away = 'Brooklyn Nets'; 0.7734608501 +What is the average free throw percentage for the Philadelphia 76ers away? SELECT AVG(ft_pct_away) as avg_ft_pct FROM game WHERE team_name_away = 'Philadelphia 76ers'; 0.7496236735 +What is the average free throw percentage for the Washington Wizards away? SELECT AVG(ft_pct_away) as avg_ft_pct FROM game WHERE team_name_away = 'Washington Wizards'; 0.7457110092 +How many games did the Washington Wizards win at home in 1996? SELECT COUNT(*) as home_wins FROM game WHERE team_name_home = 'Washington Wizards' AND wl_home = 'W' AND season_id = '21996'; 0 +How many games did the Atlanta Hawks win at home in 1996? SELECT COUNT(*) as home_wins FROM game WHERE team_name_home = 'Atlanta Hawks' AND wl_home = 'W' AND season_id = '21996'; 36 +How many games did the Brooklyn Nets win at home in 1996? SELECT COUNT(*) as home_wins FROM game WHERE team_name_home = 'Brooklyn Nets' AND wl_home = 'W' AND season_id = '21996'; 0 +What is the total points off turnovers by the New Orleans Pelicans at home? SELECT SUM(pts_off_to_home) as total_pts_off_to FROM other_stats WHERE team_abbreviation_home = 'NOP'; 6819 +What is the total points off turnovers by the Detroit Pistons at home? SELECT SUM(pts_off_to_home) as total_pts_off_to FROM other_stats WHERE team_abbreviation_home = 'DET'; 11805 +What is the total points off turnovers by the Cleveland Cavaliers at home? SELECT SUM(pts_off_to_home) as total_pts_off_to FROM other_stats WHERE team_abbreviation_home = 'CLE'; 13963 +What is the total points off turnovers by the Milwaukee Bucks at home? SELECT SUM(pts_off_to_home) as total_pts_off_to FROM other_stats WHERE team_abbreviation_home = 'MIL'; 13477 +How many times were games tied when the Dallas Mavericks played at home? SELECT SUM(times_tied) as total_times_tied FROM other_stats WHERE team_abbreviation_home = 'DAL'; 4703 +How many times were games tied when the Denver Nuggets played at home? SELECT SUM(times_tied) as total_times_tied FROM other_stats WHERE team_abbreviation_home = 'DEN'; 5196 +How many times were games tied when the Chicago Bulls played at home? SELECT SUM(times_tied) as total_times_tied FROM other_stats WHERE team_abbreviation_home = 'CHI'; 4779 +How many times were games tied when the Charlotte Hornets played at home? SELECT SUM(times_tied) as total_times_tied FROM other_stats WHERE team_abbreviation_home = 'CHA'; 3332 +What is the highest fast break points by the Detroit Pistons at home? SELECT MAX(pts_fb_home) as max_fb_points FROM other_stats WHERE team_abbreviation_home = 'DET'; 36 +What is the highest fast break points by the Orlando Magic at home? SELECT MAX(pts_fb_home) as max_fb_points FROM other_stats WHERE team_abbreviation_home = 'ORL'; 42 +What is the highest fast break points by the Sacramento Kings at home? SELECT MAX(pts_fb_home) as max_fb_points FROM other_stats WHERE team_abbreviation_home = 'SAC'; 35 +What is the highest fast break points by the Portland Trail Blazers at home? SELECT MAX(pts_fb_home) as max_fb_points FROM other_stats WHERE team_abbreviation_home = 'POR'; 34 +How many team turnovers did the Phoenix Suns have at home? SELECT SUM(team_turnovers_home) as total_team_turnovers FROM other_stats WHERE team_abbreviation_home = 'PHX'; 500 +How many team turnovers did the Philadelphia 76ers have at home? SELECT SUM(team_turnovers_home) as total_team_turnovers FROM other_stats WHERE team_abbreviation_home = 'PHI'; 631 +How many team turnovers did the Indiana Pacers have at home? SELECT SUM(team_turnovers_home) as total_team_turnovers FROM other_stats WHERE team_abbreviation_home = 'IND'; 603 +What is the total points in the paint by the Charlotte Hornets away? SELECT SUM(pts_paint_away) as total_pts_paint FROM other_stats WHERE team_abbreviation_away = 'CHA'; 27100 +What is the total points in the paint by the Brooklyn Nets away? SELECT SUM(pts_paint_away) as total_pts_paint FROM other_stats WHERE team_abbreviation_away = 'BKN'; 17602 +What is the total points in the paint by the New Orleans Pelicans away? SELECT SUM(pts_paint_away) as total_pts_paint FROM other_stats WHERE team_abbreviation_away = 'NOP'; 16270 +What is the total points in the paint by the New York Knicks away? SELECT SUM(pts_paint_away) as total_pts_paint FROM other_stats WHERE team_abbreviation_away = 'NYK'; 37084 +How many games did the Denver Nuggets play at home in 1996? SELECT COUNT(*) as home_games FROM game WHERE team_name_home = 'Denver Nuggets' AND season_id = '21996'; 41 +How many games did the Miami Heat play at home in 1996? SELECT COUNT(*) as home_games FROM game WHERE team_name_home = 'Miami Heat' AND season_id = '21996'; 41 +How many games did the Toronto Raptors play at home in 1996? SELECT COUNT(*) as home_games FROM game WHERE team_name_home = 'Toronto Raptors' AND season_id = '21996'; 41 +What is the lowest points scored by the Atlanta Hawks at home? SELECT MIN(pts_home) as min_points FROM game WHERE team_name_home = 'Atlanta Hawks'; 59 +What is the lowest points scored by the New Orleans Pelicans at home? SELECT MIN(pts_home) as min_points FROM game WHERE team_name_home = 'New Orleans Pelicans'; 72 +What is the lowest points scored by the Chicago Bulls at home? SELECT MIN(pts_home) as min_points FROM game WHERE team_name_home = 'Chicago Bulls'; 49 +How many steals did the Toronto Raptors make away in 1996? SELECT SUM(stl_away) as total_steals FROM game WHERE team_name_away = 'Toronto Raptors' AND season_id = '21996'; 384 +How many steals did the Denver Nuggets make away in 1996? SELECT SUM(stl_away) as total_steals FROM game WHERE team_name_away = 'Denver Nuggets' AND season_id = '21996'; 253 +What is the highest plus-minus score for the Golden State Warriors at home? SELECT MAX(plus_minus_home) as max_plus_minus FROM game WHERE team_name_home = 'Golden State Warriors'; 62 +What is the highest plus-minus score for the Atlanta Hawks at home? SELECT MAX(plus_minus_home) as max_plus_minus FROM game WHERE team_name_home = 'Atlanta Hawks'; 46 +What is the highest plus-minus score for the Denver Nuggets at home? SELECT MAX(plus_minus_home) as max_plus_minus FROM game WHERE team_name_home = 'Denver Nuggets'; 52 +How many games did the Cleveland Cavaliers lose at home in 1996? SELECT COUNT(*) as home_losses FROM game WHERE team_name_home = 'Cleveland Cavaliers' AND wl_home = 'L' AND season_id = '21996'; 16 +How many games did the Miami Heat lose at home in 1996? SELECT COUNT(*) as home_losses FROM game WHERE team_name_home = 'Miami Heat' AND wl_home = 'L' AND season_id = '21996'; 12 +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 +What is the average points scored by the Chicago Bulls away? SELECT AVG(pts_away) as avg_points FROM game WHERE team_name_away = 'Chicago Bulls'; 100.9464052 +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.3549337 +What is the average points scored by the Phoenix Suns away? SELECT AVG(pts_away) as avg_points FROM game WHERE team_name_away = 'Phoenix Suns'; 105.7063031 +What is the average points scored by the Los Angeles Lakers away? SELECT AVG(pts_away) as avg_points FROM game WHERE team_name_away = 'Los Angeles Lakers'; 105.7537372 +How many games did the Toronto Raptors win away in 1996? SELECT COUNT(*) as away_wins FROM game WHERE team_name_away = 'Toronto Raptors' AND wl_away = 'W' AND season_id = '21996'; 12 +How many games did the Los Angeles Lakers win away in 1996? SELECT COUNT(*) as away_wins FROM game WHERE team_name_away = 'Los Angeles Lakers' AND wl_away = 'W' AND season_id = '21996'; 25 +What is the largest lead the Boston Celtics had at home? SELECT MAX(largest_lead_home) as max_lead FROM other_stats WHERE team_abbreviation_home = 'BOS'; 60 +What is the largest lead the Houston Rockets had at home? SELECT MAX(largest_lead_home) as max_lead FROM other_stats WHERE team_abbreviation_home = 'HOU'; 58 +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 +How many fast break points did the Toronto Raptors score at home? SELECT SUM(pts_fb_home) as total_fb_points FROM other_stats WHERE team_abbreviation_home = 'TOR'; 12758 +How many fast break points did the Brooklyn Nets score at home? SELECT SUM(pts_fb_home) as total_fb_points FROM other_stats WHERE team_abbreviation_home = 'BKN'; 4453 +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 +How many fast break points did the Charlotte Hornets score at home? SELECT SUM(pts_fb_home) as total_fb_points FROM other_stats WHERE team_abbreviation_home = 'CHA'; 7662 +What is the total second chance points by the Milwaukee Bucks away? SELECT SUM(pts_2nd_chance_away) as total_2nd_chance FROM other_stats WHERE team_abbreviation_away = 'MIL'; 11987 +What is the total second chance points by the Philadelphia 76ers away? SELECT SUM(pts_2nd_chance_away) as total_2nd_chance FROM other_stats WHERE team_abbreviation_away = 'PHI'; 12648 +What is the total second chance points by the New York Knicks away? SELECT SUM(pts_2nd_chance_away) as total_2nd_chance FROM other_stats WHERE team_abbreviation_away = 'NYK'; 12572 +What is the total second chance points by the Detroit Pistons away? SELECT SUM(pts_2nd_chance_away) as total_2nd_chance FROM other_stats WHERE team_abbreviation_away = 'DET'; 13218 +How many games did the Washington Wizards play away in 1996? SELECT COUNT(*) as away_games FROM game WHERE team_name_away = 'Washington Wizards' AND season_id = '21996'; 0 +How many games did the Portland Trail Blazers play away in 1996? SELECT COUNT(*) as away_games FROM game WHERE team_name_away = 'Portland Trail Blazers' AND season_id = '21996'; 41 +What is the highest points scored by the Toronto Raptors away? SELECT MAX(pts_away) as max_points FROM game WHERE team_name_away = 'Toronto Raptors'; 150 +What is the highest points scored by the Chicago Bulls away? SELECT MAX(pts_away) as max_points FROM game WHERE team_name_away = 'Chicago Bulls'; 168 +What is the lowest plus-minus score for the San Antonio Spurs at home? SELECT MIN(plus_minus_home) as min_plus_minus FROM game WHERE team_name_home = 'San Antonio Spurs'; -43 +What is the lowest plus-minus score for the Cleveland Cavaliers at home? SELECT MIN(plus_minus_home) as min_plus_minus FROM game WHERE team_name_home = 'Cleveland Cavaliers'; -41 +What is the lowest plus-minus score for the New Orleans Pelicans at home? SELECT MIN(plus_minus_home) as min_plus_minus FROM game WHERE team_name_home = 'New Orleans Pelicans'; -35 +How many games did the Utah Jazz win away in 1996? SELECT COUNT(*) as away_wins FROM game WHERE team_name_away = 'Utah Jazz' AND wl_away = 'W' AND season_id = '21996'; 26 +How many games did the Boston Celtics win away in 1996? SELECT COUNT(*) as away_wins FROM game WHERE team_name_away = 'Boston Celtics' AND wl_away = 'W' AND season_id = '21996'; 4 +How many games did the Detroit Pistons win away in 1996? SELECT COUNT(*) as away_wins FROM game WHERE team_name_away = 'Detroit Pistons' AND wl_away = 'W' AND season_id = '21996'; 24 +What is the average points scored by the Orlando Magic away? SELECT AVG(pts_away) as avg_points FROM game WHERE team_name_away = 'Orlando Magic'; 99.26172148 +What is the average points scored by the Charlotte Hornets away? SELECT AVG(pts_away) as avg_points FROM game WHERE team_name_away = 'Charlotte Hornets'; 101.855359 +What is the average points scored by the Oklahoma City Thunder away? SELECT AVG(pts_away) as avg_points FROM game WHERE team_name_away = 'Oklahoma City Thunder'; 104.4814241 +How many games did the New York Knicks lose at home in 1996? SELECT COUNT(*) as home_losses FROM game WHERE team_name_home = 'New York Knicks' AND wl_home = 'L' AND season_id = '21996'; 10 +What is the total points in the paint by the Chicago Bulls at home? SELECT SUM(pts_paint_home) as total_pts_paint FROM other_stats WHERE team_abbreviation_home = 'CHI'; 38266 +What is the total points in the paint by the New York Knicks at home? SELECT SUM(pts_paint_home) as total_pts_paint FROM other_stats WHERE team_abbreviation_home = 'NYK'; 35742 +What is the total points in the paint by the Washington Wizards at home? SELECT SUM(pts_paint_home) as total_pts_paint FROM other_stats WHERE team_abbreviation_home = 'WAS'; 36720 +How many times were games tied when the Brooklyn Nets played at home? SELECT SUM(times_tied) as total_times_tied FROM other_stats WHERE team_abbreviation_home = 'BKN'; 1743 +How many times were games tied when the Golden State Warriors played at home? SELECT SUM(times_tied) as total_times_tied FROM other_stats WHERE team_abbreviation_home = 'GSW'; 5013 +How many times were games tied when the Portland Trail Blazers played at home? SELECT SUM(times_tied) as total_times_tied FROM other_stats WHERE team_abbreviation_home = 'POR'; 4450 +"What is the total second chance points by the Golden State Warriors at home?""" SELECT SUM(pts_2nd_chance_home) as total_2nd_chance FROM other_stats WHERE team_abbreviation_home = 'GSW'; 13756 +"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 +How many games did the Minnesota Timberwolves play away in 1996? SELECT COUNT(*) as away_games FROM game WHERE team_name_away = 'Minnesota Timberwolves' AND season_id = '21996'; 41 +How many games did the Memphis Grizzlies play away in 1996? SELECT COUNT(*) as away_games FROM game WHERE team_name_away = 'Memphis Grizzlies' AND season_id = '21996'; 0 +What is the highest points scored by the Milwaukee Bucks at home? SELECT MAX(pts_home) as max_points FROM game WHERE team_name_home = 'Milwaukee Bucks'; 158 +What is the highest points scored by the Houston Rockets at home? SELECT MAX(pts_home) as max_points FROM game WHERE team_name_home = 'Houston Rockets'; 158 +What is the highest points scored by the Miami Heat at home? SELECT MAX(pts_home) as max_points FROM game WHERE team_name_home = 'Miami Heat'; 149 +What is the highest points scored by the Washington Wizards at home? SELECT MAX(pts_home) as max_points FROM game WHERE team_name_home = 'Washington Wizards'; 158 +What is the average points scored by the Sacramento Kings at home when they won in the 1996 season? SELECT AVG(pts_home) as avg_points FROM game WHERE team_name_home = 'Sacramento Kings' AND wl_home = 'W' AND season_id = '21996'; 105.4545455 +What is the average points scored by the Indiana Pacers at home when they won in the 1996 season? SELECT AVG(pts_home) as avg_points FROM game WHERE team_name_home = 'Indiana Pacers' AND wl_home = 'W' AND season_id = '21996'; 102.2380952 +What is the average points scored by the Dallas Mavericks at home when they won in the 1996 season? SELECT AVG(pts_home) as avg_points FROM game WHERE team_name_home = 'Dallas Mavericks' AND wl_home = 'W' AND season_id = '21996'; 98.78571429 +How many games did the Memphis Grizzlies win at home with more than 15 assists in 1996? SELECT COUNT(*) as wins FROM game WHERE team_name_home = 'Memphis Grizzlies' AND wl_home = 'W' AND ast_home > 15 AND season_id = '21996'; 0 +How many games did the Houston Rockets win at home with more than 15 assists in 1996? SELECT COUNT(*) as wins FROM game WHERE team_name_home = 'Houston Rockets' AND wl_home = 'W' AND ast_home > 15 AND season_id = '21996'; 30 +What is the total points in the paint by the Miami Heat 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 = 'Miami Heat' AND g.wl_home = 'L' AND g.season_id = '21996'; 430 +How many times did the Phoenix Suns win at home with a plus-minus greater than 10 in 1996? SELECT COUNT(*) as wins FROM game WHERE team_name_home = 'Phoenix Suns' AND wl_home = 'W' AND plus_minus_home > 10 AND season_id = '21996'; 14 +How many times did the Denver Nuggets win at home with a plus-minus greater than 10 in 1996? SELECT COUNT(*) as wins FROM game WHERE team_name_home = 'Denver Nuggets' AND wl_home = 'W' AND plus_minus_home > 10 AND season_id = '21996'; 4 +How many times did the Washington Wizards win at home with a plus-minus greater than 10 in 1996? SELECT COUNT(*) as wins FROM game WHERE team_name_home = 'Washington Wizards' AND wl_home = 'W' AND plus_minus_home > 10 AND season_id = '21996'; 0 +What is the total fast break points by the Charlotte Hornets 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 = 'Charlotte Hornets' AND g.wl_home = 'L' AND g.season_id = '21996'; 68 +What is the average second chance points by the Boston Celtics 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 = 'Boston Celtics' AND g.wl_home = 'W'; 13.16390728 +What is the average second chance points by the Washington Wizards 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 = 'Washington Wizards' AND g.wl_home = 'W'; 13.65434783 +What is the average second chance points by the Oklahoma City Thunder 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 = 'Oklahoma City Thunder' AND g.wl_home = 'W'; 13.37982196 +What is the total points scored by the Memphis Grizzlies at home when they had more than 10 steals? SELECT SUM(pts_home) as total_points FROM game WHERE team_name_home = 'Memphis Grizzlies' AND stl_home > 10; 20660 +What is the total points scored by the Houston Rockets at home when they had more than 10 steals? SELECT SUM(pts_home) as total_points FROM game WHERE team_name_home = 'Houston Rockets' AND stl_home > 10; 37396 +What is the total points scored by the New York Knicks at home when they had more than 10 steals? SELECT SUM(pts_home) as total_points FROM game WHERE team_name_home = 'New York Knicks' AND stl_home > 10; 29331 +What is the total points scored by the Dallas Mavericks at home when they had more than 10 steals? SELECT SUM(pts_home) as total_points FROM game WHERE team_name_home = 'Dallas Mavericks' AND stl_home > 10; 26722 +What is the highest points in the paint by the Charlotte Hornets 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 = 'Charlotte Hornets' AND g.wl_away = 'W'; 78 +What is the highest points in the paint by the Dallas Mavericks 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 = 'Dallas Mavericks' AND g.wl_away = 'W'; 72 +What is the highest points in the paint by the Orlando Magic 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 = 'Orlando Magic' AND g.wl_away = 'W'; 70 +What is the highest points in the paint by the Detroit Pistons 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 = 'Detroit Pistons' AND g.wl_away = 'W'; 70 +How many games did the Houston Rockets 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 = 'Houston Rockets' AND os.pts_paint_home > 30 AND g.season_id = '21996'; 28 +What is the total second chance points by the Utah Jazz 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 = 'Utah Jazz' AND g.wl_home = 'W'; 8769 +What is the total second chance points by the Oklahoma City Thunder 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 = 'Oklahoma City Thunder' AND g.wl_home = 'W'; 4509 +What is the total second chance points by the Sacramento Kings 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 = 'Sacramento Kings' AND g.wl_home = 'W'; 6888 +What is the total second chance points by the Boston Celtics 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 = 'Boston Celtics' AND g.wl_home = 'W'; 7951 +What is the total points in the paint by the Golden State Warriors 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 = 'Golden State Warriors' AND g.wl_away = 'L'; 26444 +What is the total points in the paint by the New Orleans Pelicans 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 = 'New Orleans Pelicans' AND g.wl_away = 'L'; 10962 +What is the total points in the paint by the Memphis Grizzlies 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 = 'Memphis Grizzlies' AND g.wl_away = 'L'; 21318 +What is the total points in the paint by the Atlanta Hawks 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 = 'Atlanta Hawks' AND g.wl_away = 'L'; 26324 +What is the average points scored by the Orlando Magic 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 = 'Orlando Magic' AND os.pts_2nd_chance_home > 10 AND g.season_id = '21996'; 97.77777778 +What is the average points scored by the Sacramento Kings 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 = 'Sacramento Kings' AND os.pts_2nd_chance_home > 10 AND g.season_id = '21996'; 100.6521739 +What is the total number of points scored by the Golden State Warriors at home? SELECT SUM(pts_home) as total_points FROM game WHERE team_name_home = 'Golden State Warriors'; 234683 +What is the total number of points scored by the Boston Celtics at home? SELECT SUM(pts_home) as total_points FROM game WHERE team_name_home = 'Boston Celtics'; 332014 +What is the total number of points scored by the Oklahoma City Thunder at home? SELECT SUM(pts_home) as total_points FROM game WHERE team_name_home = 'Oklahoma City Thunder'; 69921 +How many games did the Dallas Mavericks lose at home in the 1996 season? SELECT COUNT(*) as losses FROM game WHERE team_name_home = 'Dallas Mavericks' AND wl_home = 'L' AND season_id = '21996'; 27 +What is the highest field goals made by the Charlotte Hornets at home? SELECT MAX(fgm_home) as max_fgm FROM game WHERE team_name_home = 'Charlotte Hornets'; 58 +What is the highest field goals made by the New York Knicks at home? SELECT MAX(fgm_home) as max_fgm FROM game WHERE team_name_home = 'New York Knicks'; 62 +What is the highest field goals made by the Milwaukee Bucks at home? SELECT MAX(fgm_home) as max_fgm FROM game WHERE team_name_home = 'Milwaukee Bucks'; 69 +How many games did the New Orleans Pelicans lose away in 1996? SELECT COUNT(*) as away_losses FROM game WHERE team_name_away = 'New Orleans Pelicans' AND wl_away = 'L' AND season_id = '21996'; 0 +What is the total points scored by the Los Angeles Lakers away? SELECT SUM(pts_away) as total_points FROM game WHERE team_name_away = 'Los Angeles Lakers'; 268826 +What is the total points scored by the New York Knicks away? SELECT SUM(pts_away) as total_points FROM game WHERE team_name_away = 'New York Knicks'; 292706 +What is the total points scored by the Indiana Pacers away? SELECT SUM(pts_away) as total_points FROM game WHERE team_name_away = 'Indiana Pacers'; 198377 +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 +How many games did the Philadelphia 76ers win at home in 1996? SELECT COUNT(*) as home_wins FROM game WHERE team_name_home = 'Philadelphia 76ers' AND wl_home = 'W' AND season_id = '21996'; 11 +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 +What is the lowest points scored by the Atlanta Hawks away? SELECT MIN(pts_away) as min_points FROM game WHERE team_name_away = 'Atlanta Hawks'; 63 +What is the lowest points scored by the Charlotte Hornets away? SELECT MIN(pts_away) as min_points FROM game WHERE team_name_away = 'Charlotte Hornets'; 64 +What is the lowest points scored by the New Orleans Pelicans away? SELECT MIN(pts_away) as min_points FROM game WHERE team_name_away = 'New Orleans Pelicans'; 72 +How many games did the Detroit Pistons play at home in 1996? SELECT COUNT(*) as home_games FROM game WHERE team_name_home = 'Detroit Pistons' AND season_id = '21996'; 41 +How many games did the Los Angeles Lakers play at home in 1996? SELECT COUNT(*) as home_games FROM game WHERE team_name_home = 'Los Angeles Lakers' AND season_id = '21996'; 41 +What is the highest points scored by the Boston Celtics away? SELECT MAX(pts_away) as max_points FROM game WHERE team_name_away = 'Boston Celtics'; 148 +What is the highest points scored by the Milwaukee Bucks away? SELECT MAX(pts_away) as max_points FROM game WHERE team_name_away = 'Milwaukee Bucks'; 166 +What is the highest points scored by the Indiana Pacers away? SELECT MAX(pts_away) as max_points FROM game WHERE team_name_away = 'Indiana Pacers'; 152 +How many games did the Golden State Warriors lose at home in 1996? SELECT COUNT(*) as home_losses FROM game WHERE team_name_home = 'Golden State Warriors' AND wl_home = 'L' AND season_id = '21996'; 23 +What is the total assists by the Washington Wizards at home? SELECT SUM(ast_home) as total_assists FROM game WHERE team_name_home = 'Washington Wizards'; 23782 +What is the total assists by the Philadelphia 76ers at home? SELECT SUM(ast_home) as total_assists FROM game WHERE team_name_home = 'Philadelphia 76ers'; 43333 +What is the total assists by the Orlando Magic at home? SELECT SUM(ast_home) as total_assists FROM game WHERE team_name_home = 'Orlando Magic'; 31603 +What is the total assists by the Atlanta Hawks at home? SELECT SUM(ast_home) as total_assists FROM game WHERE team_name_home = 'Atlanta Hawks'; 41509 +What is the lowest plus-minus score for the Milwaukee Bucks away? SELECT MIN(plus_minus_away) as min_plus_minus FROM game WHERE team_name_away = 'Milwaukee Bucks'; -48 +What is the lowest plus-minus score for the Atlanta Hawks away? SELECT MIN(plus_minus_away) as min_plus_minus FROM game WHERE team_name_away = 'Atlanta Hawks'; -49 +What is the lowest plus-minus score for the Indiana Pacers away? SELECT MIN(plus_minus_away) as min_plus_minus FROM game WHERE team_name_away = 'Indiana Pacers'; -46 +How many games did the Memphis Grizzlies win at home in 1996? SELECT COUNT(*) as home_wins FROM game WHERE team_name_home = 'Memphis Grizzlies' AND wl_home = 'W' AND season_id = '21996'; 0 +How many games did the Sacramento Kings win at home in 1996? SELECT COUNT(*) as home_wins FROM game WHERE team_name_home = 'Sacramento Kings' AND wl_home = 'W' AND season_id = '21996'; 22 +What is the total points scored by the San Antonio Spurs at home? SELECT SUM(pts_home) as total_points FROM game WHERE team_name_home = 'San Antonio Spurs'; 217613 +What is the total points scored by the Dallas Mavericks at home? SELECT SUM(pts_home) as total_points FROM game WHERE team_name_home = 'Dallas Mavericks'; 192532 +What is the total points scored by the Minnesota Timberwolves at home? SELECT SUM(pts_home) as total_points FROM game WHERE team_name_home = 'Minnesota Timberwolves'; 140713 +How many games did the Dallas Mavericks lose at home in 1996? SELECT COUNT(*) as home_losses FROM game WHERE team_name_home = 'Dallas Mavericks' AND wl_home = 'L' AND season_id = '21996'; 27 +What is the total points in the paint by the Philadelphia 76ers at home? SELECT SUM(pts_paint_home) as total_pts_paint FROM other_stats WHERE team_abbreviation_home = 'PHI'; 41524 +What is the total points in the paint by the Los Angeles Lakers at home? SELECT SUM(pts_paint_home) as total_pts_paint FROM other_stats WHERE team_abbreviation_home = 'LAL'; 45320 +What is the total points in the paint by the Atlanta Hawks at home? SELECT SUM(pts_paint_home) as total_pts_paint FROM other_stats WHERE team_abbreviation_home = 'ATL'; 39440 +What is the total points in the paint by the Minnesota Timberwolves at home? SELECT SUM(pts_paint_home) as total_pts_paint FROM other_stats WHERE team_abbreviation_home = 'MIN'; 36982 +How many lead changes occurred in games where the Milwaukee Bucks played at home? SELECT SUM(lead_changes) as total_lead_changes FROM other_stats WHERE team_abbreviation_home = 'MIL'; 6115 +How many lead changes occurred in games where the New York Knicks played at home? SELECT SUM(lead_changes) as total_lead_changes FROM other_stats WHERE team_abbreviation_home = 'NYK'; 5382 +How many lead changes occurred in games where the Atlanta Hawks played at home? SELECT SUM(lead_changes) as total_lead_changes FROM other_stats WHERE team_abbreviation_home = 'ATL'; 5610 +What is the largest lead the Chicago Bulls had away? SELECT MAX(largest_lead_away) as max_lead FROM other_stats WHERE team_abbreviation_away = 'CHI'; 54 +What is the largest lead the New Orleans Pelicans had away? SELECT MAX(largest_lead_away) as max_lead FROM other_stats WHERE team_abbreviation_away = 'NOP'; 42 +What is the largest lead the Orlando Magic had away? SELECT MAX(largest_lead_away) as max_lead FROM other_stats WHERE team_abbreviation_away = 'ORL'; 55 +What is the largest lead the Minnesota Timberwolves had away? SELECT MAX(largest_lead_away) as max_lead FROM other_stats WHERE team_abbreviation_away = 'MIN'; 56 +How many fast break points did the Philadelphia 76ers score at home? SELECT SUM(pts_fb_home) as total_fb_points FROM other_stats WHERE team_abbreviation_home = 'PHI'; 14504 +How many fast break points did the Detroit Pistons score at home? SELECT SUM(pts_fb_home) as total_fb_points FROM other_stats WHERE team_abbreviation_home = 'DET'; 10914 +How many fast break points did the Portland Trail Blazers score at home? SELECT SUM(pts_fb_home) as total_fb_points FROM other_stats WHERE team_abbreviation_home = 'POR'; 9746 +What is the total second chance points by the Atlanta Hawks away? SELECT SUM(pts_2nd_chance_away) as total_2nd_chance FROM other_stats WHERE team_abbreviation_away = 'ATL'; 12703 +What is the total second chance points by the Miami Heat away? SELECT SUM(pts_2nd_chance_away) as total_2nd_chance FROM other_stats WHERE team_abbreviation_away = 'MIA'; 12627 +What is the total points scored by the Portland Trail Blazers away? SELECT SUM(pts_away) as total_points FROM game WHERE team_name_away = 'Portland Trail Blazers'; 220939 +What is the total points scored by the Boston Celtics away? SELECT SUM(pts_away) as total_points FROM game WHERE team_name_away = 'Boston Celtics'; 315242 +What is the total points scored by the Golden State Warriors away? SELECT SUM(pts_away) as total_points FROM game WHERE team_name_away = 'Golden State Warriors'; 226264 +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 +What is the lowest points scored by the Miami Heat away? SELECT MIN(pts_away) as min_points FROM game WHERE team_name_away = 'Miami Heat'; 54 +What is the lowest points scored by the Orlando Magic away? SELECT MIN(pts_away) as min_points FROM game WHERE team_name_away = 'Orlando Magic'; 56 +How many games did the Cleveland Cavaliers win away in 1996? SELECT COUNT(*) as away_wins FROM game WHERE team_name_away = 'Cleveland Cavaliers' AND wl_away = 'W' AND season_id = '21996'; 17 +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 +What is the total points in the paint by the Sacramento Kings away? SELECT SUM(pts_paint_away) as total_pts_paint FROM other_stats WHERE team_abbreviation_away = 'SAC'; 40704 +What is the total points in the paint by the Boston Celtics away? SELECT SUM(pts_paint_away) as total_pts_paint FROM other_stats WHERE team_abbreviation_away = 'BOS'; 36676 +How many times were games tied when the Cleveland Cavaliers played away? SELECT SUM(times_tied) as total_times_tied FROM other_stats WHERE team_abbreviation_away = 'CLE'; 4840 +How many times were games tied when the Boston Celtics played away? SELECT SUM(times_tied) as total_times_tied FROM other_stats WHERE team_abbreviation_away = 'BOS'; 4517 +How many times were games tied when the Dallas Mavericks played away? SELECT SUM(times_tied) as total_times_tied FROM other_stats WHERE team_abbreviation_away = 'DAL'; 4993 +How many times were games tied when the San Antonio Spurs played away? SELECT SUM(times_tied) as total_times_tied FROM other_stats WHERE team_abbreviation_away = 'SAS'; 4893 +What is the highest fast break points by the Oklahoma City Thunder away? SELECT MAX(pts_fb_away) as max_fb_points FROM other_stats WHERE team_abbreviation_away = 'OKC'; 40 +What is the highest fast break points by the Indiana Pacers away? SELECT MAX(pts_fb_away) as max_fb_points FROM other_stats WHERE team_abbreviation_away = 'IND'; 43 +What is the highest fast break points by the Sacramento Kings away? SELECT MAX(pts_fb_away) as max_fb_points FROM other_stats WHERE team_abbreviation_away = 'SAC'; 40 +What is the highest fast break points by the Washington Wizards away? SELECT MAX(pts_fb_away) as max_fb_points FROM other_stats WHERE team_abbreviation_away = 'WAS'; 39 +How many games did the Toronto Raptors play away in 1996? SELECT COUNT(*) as away_games FROM game WHERE team_name_away = 'Toronto Raptors' AND season_id = '21996'; 41 +What is the lowest points scored by the Golden State Warriors away? SELECT MIN(pts_away) as min_points FROM game WHERE team_name_away = 'Golden State Warriors'; 65 +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 +What is the lowest points scored by the Oklahoma City Thunder away? SELECT MIN(pts_away) as min_points FROM game WHERE team_name_away = 'Oklahoma City Thunder'; 74 +How many games did the Dallas Mavericks lose away in 1996? SELECT COUNT(*) as away_losses FROM game WHERE team_name_away = 'Dallas Mavericks' AND wl_away = 'L' AND season_id = '21996'; 31 +How many games did the Oklahoma City Thunder lose away in 1996? SELECT COUNT(*) as away_losses FROM game WHERE team_name_away = 'Oklahoma City Thunder' AND wl_away = 'L' AND season_id = '21996'; 0 +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 +What is the highest points scored by the Indiana Pacers at home? SELECT MAX(pts_home) as max_points FROM game WHERE team_name_home = 'Indiana Pacers'; 145 +What is the highest points scored by the New Orleans Pelicans at home? SELECT MAX(pts_home) as max_points FROM game WHERE team_name_home = 'New Orleans Pelicans'; 149 +What is the highest points scored by the San Antonio Spurs at home? SELECT MAX(pts_home) as max_points FROM game WHERE team_name_home = 'San Antonio Spurs'; 171 +What is the total points scored by the Memphis Grizzlies at home? SELECT SUM(pts_home) as total_points FROM game WHERE team_name_home = 'Memphis Grizzlies'; 96246 +What is the lowest points scored by the Washington Wizards away? SELECT MIN(pts_away) as min_points FROM game WHERE team_name_away = 'Washington Wizards'; 64 +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 +What is the total points in the paint by the Golden State Warriors at home? SELECT SUM(pts_paint_home) as total_pts_paint FROM other_stats WHERE team_abbreviation_home = 'GSW'; 43916 +What is the total points in the paint by the Detroit Pistons at home? SELECT SUM(pts_paint_home) as total_pts_paint FROM other_stats WHERE team_abbreviation_home = 'DET'; 35436 +How many lead changes occurred in games where the Minnesota Timberwolves played away? SELECT SUM(lead_changes) as total_lead_changes FROM other_stats WHERE team_abbreviation_away = 'MIN'; 5947 +How many lead changes occurred in games where the Indiana Pacers played away? SELECT SUM(lead_changes) as total_lead_changes FROM other_stats WHERE team_abbreviation_away = 'IND'; 5761 +How many lead changes occurred in games where the Charlotte Hornets played away? SELECT SUM(lead_changes) as total_lead_changes FROM other_stats WHERE team_abbreviation_away = 'CHA'; 3826 +How many lead changes occurred in games where the Chicago Bulls played away? SELECT SUM(lead_changes) as total_lead_changes FROM other_stats WHERE team_abbreviation_away = 'CHI'; 5671 +What is the highest second chance points by the New Orleans Pelicans at home? SELECT MAX(pts_2nd_chance_home) as max_2nd_chance FROM other_stats WHERE team_abbreviation_home = 'NOP'; 36 +What is the highest second chance points by the Boston Celtics at home? SELECT MAX(pts_2nd_chance_home) as max_2nd_chance FROM other_stats WHERE team_abbreviation_home = 'BOS'; 35 +What is the highest second chance points by the Minnesota Timberwolves at home? SELECT MAX(pts_2nd_chance_home) as max_2nd_chance FROM other_stats WHERE team_abbreviation_home = 'MIN'; 35 +What is the highest second chance points by the Dallas Mavericks at home? SELECT MAX(pts_2nd_chance_home) as max_2nd_chance FROM other_stats WHERE team_abbreviation_home = 'DAL'; 30 +How many fast break points did the Chicago Bulls score away? SELECT SUM(pts_fb_away) as total_fb_points FROM other_stats WHERE team_abbreviation_away = 'CHI'; 11183 +How many fast break points did the Sacramento Kings score away? SELECT SUM(pts_fb_away) as total_fb_points FROM other_stats WHERE team_abbreviation_away = 'SAC'; 13275 +How many fast break points did the Cleveland Cavaliers score away? SELECT SUM(pts_fb_away) as total_fb_points FROM other_stats WHERE team_abbreviation_away = 'CLE'; 11449 +How many games did the Philadelphia 76ers lose away in 1996? SELECT COUNT(*) as away_losses FROM game WHERE team_name_away = 'Philadelphia 76ers' AND wl_away = 'L' AND season_id = '21996'; 30 +What is the highest points scored by the Portland Trail Blazers at home? SELECT MAX(pts_home) as max_points FROM game WHERE team_name_home = 'Portland Trail Blazers'; 156 +What is the highest points scored by the Memphis Grizzlies at home? SELECT MAX(pts_home) as max_points FROM game WHERE team_name_home = 'Memphis Grizzlies'; 152 +What is the highest points scored by the Chicago Bulls at home? SELECT MAX(pts_home) as max_points FROM game WHERE team_name_home = 'Chicago Bulls'; 155 +What is the total rebounds by the Toronto Raptors at home? SELECT SUM(reb_home) as total_rebounds FROM game WHERE team_name_home = 'Toronto Raptors'; 50541 +What is the total rebounds by the Golden State Warriors at home? SELECT SUM(reb_home) as total_rebounds FROM game WHERE team_name_home = 'Golden State Warriors'; 78432 +What is the total rebounds by the Orlando Magic at home? SELECT SUM(reb_home) as total_rebounds FROM game WHERE team_name_home = 'Orlando Magic'; 62023 +What is the lowest plus-minus score for the Oklahoma City Thunder away? SELECT MIN(plus_minus_away) as min_plus_minus FROM game WHERE team_name_away = 'Oklahoma City Thunder'; -73 +What is the lowest plus-minus score for the Portland Trail Blazers away? SELECT MIN(plus_minus_away) as min_plus_minus FROM game WHERE team_name_away = 'Portland Trail Blazers'; -65 +What is the lowest plus-minus score for the Cleveland Cavaliers away? SELECT MIN(plus_minus_away) as min_plus_minus FROM game WHERE team_name_away = 'Cleveland Cavaliers'; -55 +What is the lowest plus-minus score for the Brooklyn Nets away? SELECT MIN(plus_minus_away) as min_plus_minus FROM game WHERE team_name_away = 'Brooklyn Nets'; -44 +How many games did the Denver Nuggets win away in 1996? SELECT COUNT(*) as away_wins FROM game WHERE team_name_away = 'Denver Nuggets' AND wl_away = 'W' AND season_id = '21996'; 9 +What is the total points in the paint by the Oklahoma City Thunder away? SELECT SUM(pts_paint_away) as total_pts_paint FROM other_stats WHERE team_abbreviation_away = 'OKC'; 23204 +What is the total points in the paint by the Los Angeles Lakers away? SELECT SUM(pts_paint_away) as total_pts_paint FROM other_stats WHERE team_abbreviation_away = 'LAL'; 44398 +What is the total points in the paint by the Denver Nuggets away? SELECT SUM(pts_paint_away) as total_pts_paint FROM other_stats WHERE team_abbreviation_away = 'DEN'; 40858 +What is the highest fast break points by the Philadelphia 76ers away? SELECT MAX(pts_fb_away) as max_fb_points FROM other_stats WHERE team_abbreviation_away = 'PHI'; 38 +What is the highest fast break points by the Houston Rockets away? SELECT MAX(pts_fb_away) as max_fb_points FROM other_stats WHERE team_abbreviation_away = 'HOU'; 34 +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 +What's the highest number of lead changes in any game involving the Denver Nuggets? SELECT MAX(os.lead_changes) FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_abbreviation_home = 'DEN' OR g.team_abbreviation_away = 'DEN'; 32 +What's the highest number of lead changes in any game involving the Indiana Pacers? SELECT MAX(os.lead_changes) FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_abbreviation_home = 'IND' OR g.team_abbreviation_away = 'IND'; 32 +What's the highest number of lead changes in any game involving the Utah Jazz? SELECT MAX(os.lead_changes) FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_abbreviation_home = 'UTA' OR g.team_abbreviation_away = 'UTA'; 31 +What's the highest number of lead changes in any game involving the Memphis Grizzlies? SELECT MAX(os.lead_changes) FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_abbreviation_home = 'MEM' OR g.team_abbreviation_away = 'MEM'; 25 +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 +What is the highest points scored by the Washington Wizards away? SELECT MAX(pts_away) as max_points FROM game WHERE team_name_away = 'Washington Wizards'; 147 +What is the highest points scored by the Detroit Pistons away? SELECT MAX(pts_away) as max_points FROM game WHERE team_name_away = 'Detroit Pistons'; 186 +What is the lowest points scored by the Houston Rockets at home? SELECT MIN(pts_home) as min_points FROM game WHERE team_name_home = 'Houston Rockets'; 66 +What is the lowest points scored by the Brooklyn Nets at home? SELECT MIN(pts_home) as min_points FROM game WHERE team_name_home = 'Brooklyn Nets'; 74 +How many games did the Milwaukee Bucks lose away in 1996? SELECT COUNT(*) as away_losses FROM game WHERE team_name_away = 'Milwaukee Bucks' AND wl_away = 'L' AND season_id = '21996'; 28 +How many games did the Chicago Bulls lose away in 1996? SELECT COUNT(*) as away_losses FROM game WHERE team_name_away = 'Chicago Bulls' AND wl_away = 'L' AND season_id = '21996'; 11 +What is the total points in the paint by the Chicago Bulls away? SELECT SUM(pts_paint_away) as total_pts_paint FROM other_stats WHERE team_abbreviation_away = 'CHI'; 37732 +What is the total points in the paint by the Minnesota Timberwolves away? SELECT SUM(pts_paint_away) as total_pts_paint FROM other_stats WHERE team_abbreviation_away = 'MIN'; 38870 +What is the total points in the paint by the Atlanta Hawks away? SELECT SUM(pts_paint_away) as total_pts_paint FROM other_stats WHERE team_abbreviation_away = 'ATL'; 39284 +How many lead changes occurred in games where the Atlanta Hawks played away? SELECT SUM(lead_changes) as total_lead_changes FROM other_stats WHERE team_abbreviation_away = 'ATL'; 5578 +How many lead changes occurred in games where the Sacramento Kings played away? SELECT SUM(lead_changes) as total_lead_changes FROM other_stats WHERE team_abbreviation_away = 'SAC'; 5725 +How many lead changes occurred in games where the Boston Celtics played away? SELECT SUM(lead_changes) as total_lead_changes FROM other_stats WHERE team_abbreviation_away = 'BOS'; 5492 +What is the highest second chance points by the Chicago Bulls away? SELECT MAX(pts_2nd_chance_away) as max_2nd_chance FROM other_stats WHERE team_abbreviation_away = 'CHI'; 34 +What is the highest second chance points by the Phoenix Suns away? SELECT MAX(pts_2nd_chance_away) as max_2nd_chance FROM other_stats WHERE team_abbreviation_away = 'PHX'; 32 +What is the highest second chance points by the Utah Jazz away? SELECT MAX(pts_2nd_chance_away) as max_2nd_chance FROM other_stats WHERE team_abbreviation_away = 'UTA'; 35 +What is the highest second chance points by the New York Knicks away? SELECT MAX(pts_2nd_chance_away) as max_2nd_chance FROM other_stats WHERE team_abbreviation_away = 'NYK'; 32 +How many fast break points did the Indiana Pacers score at home? SELECT SUM(pts_fb_home) as total_fb_points FROM other_stats WHERE team_abbreviation_home = 'IND'; 11705 +How many fast break points did the New Orleans Pelicans score at home? SELECT SUM(pts_fb_home) as total_fb_points FROM other_stats WHERE team_abbreviation_home = 'NOP'; 5720 +How many fast break points did the Denver Nuggets score at home? SELECT SUM(pts_fb_home) as total_fb_points FROM other_stats WHERE team_abbreviation_home = 'DEN'; 15227 +How many fast break points did the Chicago Bulls score at home? SELECT SUM(pts_fb_home) as total_fb_points FROM other_stats WHERE team_abbreviation_home = 'CHI'; 11524 +How many free throws did the Portland Trail Blazers attempt in away games they won during the 2020 season? SELECT SUM(fta_away) FROM game WHERE team_name_away = 'Portland Trail Blazers' AND wl_away = 'W' AND season_id = '22020'; 482 +How many free throws did the Los Angeles Lakers attempt in away games they won during the 2020 season? SELECT SUM(fta_away) FROM game WHERE team_name_away = 'Los Angeles Lakers' AND wl_away = 'W' AND season_id = '22020'; 447 +What is the lowest points scored by the Utah Jazz away? SELECT MIN(pts_away) as min_points FROM game WHERE team_name_away = 'Utah Jazz'; 54 +What is the lowest points scored by the Philadelphia 76ers away? SELECT MIN(pts_away) as min_points FROM game WHERE team_name_away = 'Philadelphia 76ers'; 65 +What is the lowest points scored by the Indiana Pacers away? SELECT MIN(pts_away) as min_points FROM game WHERE team_name_away = 'Indiana Pacers'; 61 +What is the lowest points scored by the Cleveland Cavaliers away? SELECT MIN(pts_away) as min_points FROM game WHERE team_name_away = 'Cleveland Cavaliers'; 57 +What is the average points scored by the Houston Rockets at home when they lost in 1996? SELECT AVG(pts_home) as avg_points FROM game WHERE team_name_home = 'Houston Rockets' AND wl_home = 'L' AND season_id = '21996'; 94.81818182 +What is the highest points scored by the Chicago Bulls 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 = 'Chicago Bulls' AND os.pts_paint_away > 15; 168 +What is the highest points scored by the Denver Nuggets 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 = 'Denver Nuggets' AND os.pts_paint_away > 15; 147 +What is the highest points scored by the Miami Heat 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 = 'Miami Heat' AND os.pts_paint_away > 15; 134 +What is the highest points scored by the Houston Rockets 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 = 'Houston Rockets' AND os.pts_paint_away > 15; 159 +How many games did the Brooklyn Nets win at home with a plus-minus greater than 15 in 1996? SELECT COUNT(*) as wins FROM game WHERE team_name_home = 'Brooklyn Nets' AND wl_home = 'W' AND plus_minus_home > 15 AND season_id = '21996'; 0 +What is the total second chance points by the Chicago Bulls 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 = 'Chicago Bulls' AND g.wl_away = 'L'; 7549 +What is the total second chance points by the Cleveland Cavaliers 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 = 'Cleveland Cavaliers' AND g.wl_away = 'L'; 7932 +What is the total second chance points by the Milwaukee Bucks 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 = 'Milwaukee Bucks' AND g.wl_away = 'L'; 7460 +What is the total second chance points by the Memphis Grizzlies 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 = 'Memphis Grizzlies' AND g.wl_away = 'L'; 6366 +What is the average points in the paint by the Indiana Pacers 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 = 'Indiana Pacers' AND g.wl_home = 'W'; 39.1107438 +What is the average points in the paint by the New York Knicks 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 = 'New York Knicks' AND g.wl_home = 'W'; 39.03950104 +What is the average points in the paint by the Portland Trail Blazers 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 = 'Portland Trail Blazers' AND g.wl_home = 'W'; 41.47386172 +What is the average points in the paint by the Detroit Pistons 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 = 'Detroit Pistons' AND g.wl_home = 'W'; 37.93818182 +How many games did the Milwaukee Bucks 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 = 'Milwaukee Bucks' AND g.wl_away = 'W' AND os.pts_paint_away > 20 AND g.season_id = '21996'; 11 +How many games did the Boston Celtics 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 = 'Boston Celtics' AND g.wl_away = 'W' AND os.pts_paint_away > 20 AND g.season_id = '21996'; 4 +What is the highest points scored by the Toronto Raptors 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 = 'Toronto Raptors' AND os.pts_2nd_chance_home > 10; 139 +What is the highest points scored by the Washington Wizards 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 = 'Washington Wizards' AND os.pts_2nd_chance_home > 10; 158 +What is the highest points scored by the Philadelphia 76ers 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 = 'Philadelphia 76ers' AND os.pts_2nd_chance_home > 10; 149 +What is the total fast break points by the Oklahoma City Thunder 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 = 'Oklahoma City Thunder' AND g.wl_home = 'L'; 2360 +What is the total fast break points by the Washington Wizards 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 = 'Washington Wizards' AND g.wl_home = 'L'; 5245 +What is the total fast break points by the Utah Jazz 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 = 'Utah Jazz' AND g.wl_home = 'L'; 3312 +What is the total second chance points by the Milwaukee Bucks 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 = 'Milwaukee Bucks' AND g.wl_away = 'W'; 4952 +What is the total second chance points by the Toronto Raptors 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 = 'Toronto Raptors' AND g.wl_away = 'W'; 4976 +What is the total second chance points by the Phoenix Suns 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 = 'Phoenix Suns' AND g.wl_away = 'W'; 5705 +What is the total second chance points by the Philadelphia 76ers 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 = 'Philadelphia 76ers' AND g.wl_away = 'W'; 5252 +How many games did the Charlotte Hornets 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 = 'Charlotte Hornets' AND os.pts_paint_away > 20 AND g.season_id = '21996'; 32 +How many games did the Boston Celtics 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 = 'Boston Celtics' AND os.pts_paint_away > 20 AND g.season_id = '21996'; 30 +What is the total points in the paint by the Golden State Warriors 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 = 'Golden State Warriors' AND g.wl_home = 'W'; 26792 +What is the total points in the paint by the Atlanta Hawks 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 = 'Atlanta Hawks' AND g.wl_home = 'W'; 23134 +What is the total points in the paint by the Denver Nuggets 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 = 'Denver Nuggets' AND g.wl_home = 'W'; 26006 +What is the total points in the paint by the Orlando Magic 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 = 'Orlando Magic' AND g.wl_home = 'W'; 21538 +What is the total fast break points by the San Antonio Spurs 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 = 'San Antonio Spurs' AND g.wl_away = 'L'; 5230 +What is the total fast break points by the Charlotte Hornets 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 = 'Charlotte Hornets' AND g.wl_away = 'L'; 3865 +What is the total fast break points by the Sacramento Kings 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 = 'Sacramento Kings' AND g.wl_away = 'L'; 8458 +What is the total fast break points by the Dallas Mavericks 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 = 'Dallas Mavericks' AND g.wl_away = 'L'; 6057 +What is the highest points scored by the Phoenix Suns 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 = 'Phoenix Suns' AND os.lead_changes > 5; 161 +What is the highest points scored by the Brooklyn Nets 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 = 'Brooklyn Nets' AND os.lead_changes > 5; 148 +What is the highest points scored by the Washington Wizards 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 = 'Washington Wizards' AND os.lead_changes > 5; 147 +What is the highest points scored by the San Antonio Spurs 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 = 'San Antonio Spurs' AND os.lead_changes > 5; 157 +How many games did the Detroit Pistons 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 = 'Detroit Pistons' AND g.wl_away = 'L' AND os.pts_fb_away > 10 AND g.season_id = '21996'; 4 +How many games did the Atlanta Hawks 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 = 'Atlanta Hawks' AND g.wl_away = 'L' AND os.pts_fb_away > 10 AND g.season_id = '21996'; 14 +What is the total second chance points by the Boston Celtics 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 = 'Boston Celtics' AND g.wl_home = 'L'; 4762 +What is the total second chance points by the San Antonio Spurs 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 = 'San Antonio Spurs' AND g.wl_home = 'L'; 3507 +What is the total second chance points by the Chicago Bulls 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 = 'Chicago Bulls' AND g.wl_home = 'L'; 5346 +What is the total second chance points by the Washington Wizards 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 = 'Washington Wizards' AND g.wl_home = 'L'; 5562 +What is the average points in the paint by the Milwaukee Bucks 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 = 'Milwaukee Bucks' AND g.wl_home = 'W'; 41.95454545 +What is the average points in the paint by the Phoenix Suns 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 = 'Phoenix Suns' AND g.wl_home = 'W'; 42.93114754 +What is the average points in the paint by the Cleveland Cavaliers 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 = 'Cleveland Cavaliers' AND g.wl_home = 'W'; 40.52487136 +How many games did the Denver Nuggets 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 = 'Denver Nuggets' AND g.wl_home = 'W' AND os.pts_fb_home > 15 AND g.season_id = '21996'; 4 +How many games did the San Antonio Spurs 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 = 'San Antonio Spurs' AND g.wl_home = 'W' AND os.pts_fb_home > 15 AND g.season_id = '21996'; 3 +How many games did the Washington Wizards 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 = 'Washington Wizards' AND g.wl_home = 'L' AND os.pts_2nd_chance_home > 10 AND g.season_id = '21996'; 0 +How many games did the Portland Trail Blazers 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 = 'Portland Trail Blazers' AND g.wl_home = 'L' AND os.pts_2nd_chance_home > 10 AND g.season_id = '21996'; 9 +How many games did the Memphis Grizzlies 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 = 'Memphis Grizzlies' AND g.wl_home = 'W' AND os.pts_paint_home > 20 AND g.season_id = '21996'; 0 +How many games did the Golden State Warriors 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 = 'Golden State Warriors' AND g.wl_home = 'W' AND os.pts_paint_home > 20 AND g.season_id = '21996'; 14 +What is the total second chance points by the Toronto Raptors 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 = 'Toronto Raptors' AND g.wl_away = 'L'; 7535 +What is the total second chance points by the Dallas Mavericks 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 = 'Dallas Mavericks' AND g.wl_away = 'L'; 6030 +What is the total second chance points by the Denver Nuggets 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 = 'Denver Nuggets' AND g.wl_away = 'L'; 8510 +What is the average points in the paint by the Dallas Mavericks 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 = 'Dallas Mavericks' AND g.wl_away = 'W'; 40.25917927 +What is the average points in the paint by the Golden State Warriors 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 = 'Golden State Warriors' AND g.wl_away = 'W'; 43.42245989 +What is the average points in the paint by the Portland Trail Blazers 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 = 'Portland Trail Blazers' AND g.wl_away = 'W'; 40.27968338 +What is the average points in the paint by the Minnesota Timberwolves 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 = 'Minnesota Timberwolves' AND g.wl_away = 'W'; 42.0815047 +How many games did the San Antonio Spurs 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 = 'San Antonio Spurs' AND g.wl_home = 'L' AND os.pts_fb_home > 15 AND g.season_id = '21996'; 8 +How many games did the Minnesota Timberwolves 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 = 'Minnesota Timberwolves' AND g.wl_home = 'L' AND os.pts_fb_home > 15 AND g.season_id = '21996'; 1 +How many games did the New York Knicks 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 = 'New York Knicks' AND g.wl_away = 'L' AND os.times_tied > 5 AND g.season_id = '21996'; 7 +What is the total fast break points by the Indiana Pacers 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 = 'Indiana Pacers' AND g.wl_home = 'W'; 7906 +What is the total fast break points by the New Orleans Pelicans 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 = 'New Orleans Pelicans' AND g.wl_home = 'W'; 2846 +What is the total fast break points by the Phoenix Suns 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 = 'Phoenix Suns' AND g.wl_home = 'W'; 8195 +What is the total fast break points by the Sacramento Kings 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 = 'Sacramento Kings' AND g.wl_home = 'W'; 6960 +How many games did the Detroit Pistons 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 = 'Detroit Pistons' AND g.wl_home = 'L' AND os.lead_changes > 5 AND g.season_id = '21996'; 4 +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 +What is the total points in the paint by the Charlotte Hornets 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 = 'Charlotte Hornets' AND g.wl_away = 'W'; 9296 +What is the total points in the paint by the Dallas Mavericks 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 = 'Dallas Mavericks' AND g.wl_away = 'W'; 18640 +What is the total points in the paint by the Indiana Pacers 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 = 'Indiana Pacers' AND g.wl_away = 'W'; 15868 +What is the highest points scored by the Miami Heat away when they had more than 5 blocks? SELECT MAX(pts_away) as max_points FROM game WHERE team_name_away = 'Miami Heat' AND blk_away > 5; 130 +What is the highest points scored by the Cleveland Cavaliers away when they had more than 5 blocks? SELECT MAX(pts_away) as max_points FROM game WHERE team_name_away = 'Cleveland Cavaliers' AND blk_away > 5; 132 +What is the highest points scored by the Brooklyn Nets away when they had more than 5 blocks? SELECT MAX(pts_away) as max_points FROM game WHERE team_name_away = 'Brooklyn Nets' AND blk_away > 5; 148 +What is the highest points scored by the Dallas Mavericks away when they had more than 5 blocks? SELECT MAX(pts_away) as max_points FROM game WHERE team_name_away = 'Dallas Mavericks' AND blk_away > 5; 144 +What is the average points scored by the Milwaukee Bucks away when they had more than 10 assists? SELECT AVG(pts_away) as avg_points FROM game WHERE team_name_away = 'Milwaukee Bucks' AND ast_away > 10; 101.5644344 +What is the average points scored by the Detroit Pistons away when they had more than 10 assists? SELECT AVG(pts_away) as avg_points FROM game WHERE team_name_away = 'Detroit Pistons' AND ast_away > 10; 99.4968661 +What is the average points scored by the Minnesota Timberwolves away when they had more than 10 assists? SELECT AVG(pts_away) as avg_points FROM game WHERE team_name_away = 'Minnesota Timberwolves' AND ast_away > 10; 100.2539683 +What is the average points scored by the San Antonio Spurs away when they had more than 10 assists? SELECT AVG(pts_away) as avg_points FROM game WHERE team_name_away = 'San Antonio Spurs' AND ast_away > 10; 101.3749307 +How many games did the Memphis Grizzlies win away with more than 10 field goals made in 1996? SELECT COUNT(*) as wins FROM game WHERE team_name_away = 'Memphis Grizzlies' AND wl_away = 'W' AND fgm_away > 10 AND season_id = '21996'; 0 +How many games did the Detroit Pistons win away with more than 10 field goals made in 1996? SELECT COUNT(*) as wins FROM game WHERE team_name_away = 'Detroit Pistons' AND wl_away = 'W' AND fgm_away > 10 AND season_id = '21996'; 24 +How many games did the Milwaukee Bucks 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 = 'Milwaukee Bucks' AND os.times_tied > 8 AND g.season_id = '21996'; 8 +How many games did the Dallas Mavericks 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 = 'Dallas Mavericks' AND os.times_tied > 8 AND g.season_id = '21996'; 10 +How many games did the Indiana Pacers 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 = 'Indiana Pacers' AND os.times_tied > 8 AND g.season_id = '21996'; 7 +How many games did the New Orleans Pelicans 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 = 'New Orleans Pelicans' AND os.times_tied > 8 AND g.season_id = '21996'; 0 +How many games did the Atlanta Hawks 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 = 'Atlanta Hawks' AND g.wl_home = 'L' AND os.lead_changes > 5 AND g.season_id = '21996'; 1 +How many games did the Utah Jazz 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 = 'Utah Jazz' AND g.wl_home = 'L' AND os.lead_changes > 5 AND g.season_id = '21996'; 2 +How many games did the Phoenix Suns 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 = 'Phoenix Suns' AND g.wl_home = 'L' AND os.lead_changes > 5 AND g.season_id = '21996'; 7 +How many games did the Dallas Mavericks 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 = 'Dallas Mavericks' AND g.wl_home = 'L' AND os.pts_fb_home > 10 AND g.season_id = '21996'; 18 +How many games did the Toronto Raptors 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 = 'Toronto Raptors' AND g.wl_home = 'L' AND os.pts_fb_home > 10 AND g.season_id = '21996'; 16 +What is the total points scored by the Los Angeles Lakers 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 Lakers' AND os.times_tied > 5; 44307 +What is the total points scored by the Orlando Magic 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 = 'Orlando Magic' AND os.times_tied > 5; 37570 +What is the total points scored by the Oklahoma City Thunder 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 = 'Oklahoma City Thunder' AND os.times_tied > 5; 20377 +What is the total points scored by the New Orleans Pelicans 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 = 'New Orleans Pelicans' AND os.times_tied > 5; 17514 +How many games did the Detroit Pistons 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 = 'Detroit Pistons' AND os.pts_paint_home > 15 AND g.season_id = '21996'; 33 +What is the average points scored by the Milwaukee Bucks away when they had more than 5 steals? SELECT AVG(pts_away) as avg_points FROM game WHERE team_name_away = 'Milwaukee Bucks' AND stl_away > 5; 101.611985 +What is the average points scored by the Cleveland Cavaliers away when they had more than 5 steals? SELECT AVG(pts_away) as avg_points FROM game WHERE team_name_away = 'Cleveland Cavaliers' AND stl_away > 5; 98.16787732 +What is the average points scored by the Charlotte Hornets away when they had more than 5 steals? SELECT AVG(pts_away) as avg_points FROM game WHERE team_name_away = 'Charlotte Hornets' AND stl_away > 5; 102.3898964 +How many games did the Orlando Magic 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 = 'Orlando Magic' AND g.wl_home = 'W' AND os.lead_changes > 10 AND g.season_id = '21996'; 4 +How many games did the Charlotte Hornets 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 = 'Charlotte Hornets' AND g.wl_away = 'L' AND os.pts_fb_away > 15 AND g.season_id = '21996'; 7 +How many games did the Denver Nuggets 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 = 'Denver Nuggets' AND g.wl_away = 'L' AND os.pts_fb_away > 15 AND g.season_id = '21996'; 9 +How many games did the Phoenix Suns 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 = 'Phoenix Suns' AND g.wl_away = 'L' AND os.pts_fb_away > 15 AND g.season_id = '21996'; 9 +How many blocks did the Golden State Warriors have at home in 1996? SELECT SUM(blk_home) as total_blocks FROM game WHERE team_name_home = 'Golden State Warriors' AND season_id = '21996'; 162 +What is the total rebounds by the Portland Trail Blazers at home? SELECT SUM(reb_home) as total_rebounds FROM game WHERE team_name_home = 'Portland Trail Blazers'; 77556 +How many field goals made did the Minnesota Timberwolves have away in 1996? SELECT SUM(fgm_away) as total_fgm FROM game WHERE team_name_away = 'Minnesota Timberwolves' AND season_id = '21996'; 1462 +What is the highest free throws attempted by the New Orleans Pelicans away? SELECT MAX(fta_away) as max_fta FROM game WHERE team_name_away = 'New Orleans Pelicans'; 51 +What is the highest free throws attempted by the Charlotte Hornets away? SELECT MAX(fta_away) as max_fta FROM game WHERE team_name_away = 'Charlotte Hornets'; 55 +What is the highest free throws attempted by the Portland Trail Blazers away? SELECT MAX(fta_away) as max_fta FROM game WHERE team_name_away = 'Portland Trail Blazers'; 56 +What is the highest free throws attempted by the Phoenix Suns away? SELECT MAX(fta_away) as max_fta FROM game WHERE team_name_away = 'Phoenix Suns'; 67 +How many assists did the Minnesota Timberwolves have at home in 1996? SELECT SUM(ast_home) as total_assists FROM game WHERE team_name_home = 'Minnesota Timberwolves' AND season_id = '21996'; 962 +How many steals did the Dallas Mavericks have away in 1996? SELECT SUM(stl_away) as total_steals FROM game WHERE team_name_away = 'Dallas Mavericks' AND season_id = '21996'; 332 +How many steals did the Indiana Pacers have away in 1996? SELECT SUM(stl_away) as total_steals FROM game WHERE team_name_away = 'Indiana Pacers' AND season_id = '21996'; 300 +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 +What is the total turnovers by the Golden State Warriors at home? SELECT SUM(tov_home) as total_turnovers FROM game WHERE team_name_home = 'Golden State Warriors'; 25223 +What is the total turnovers by the Denver Nuggets at home? SELECT SUM(tov_home) as total_turnovers FROM game WHERE team_name_home = 'Denver Nuggets'; 23556 +What is the total turnovers by the Philadelphia 76ers at home? SELECT SUM(tov_home) as total_turnovers FROM game WHERE team_name_home = 'Philadelphia 76ers'; 28051 +What is the total turnovers by the Milwaukee Bucks at home? SELECT SUM(tov_home) as total_turnovers FROM game WHERE team_name_home = 'Milwaukee Bucks'; 24065 +What is the total points off turnovers by the San Antonio Spurs away? SELECT SUM(pts_off_to_away) as total_pts_off_to FROM other_stats WHERE team_abbreviation_away = 'SAS'; 12944 +What is the total points off turnovers by the Denver Nuggets away? SELECT SUM(pts_off_to_away) as total_pts_off_to FROM other_stats WHERE team_abbreviation_away = 'DEN'; 13375 +What is the total points off turnovers by the Toronto Raptors away? SELECT SUM(pts_off_to_away) as total_pts_off_to FROM other_stats WHERE team_abbreviation_away = 'TOR'; 13577 +How many team turnovers did the Golden State Warriors have at home? SELECT SUM(team_turnovers_home) as total_team_turnovers FROM other_stats WHERE team_abbreviation_home = 'GSW'; 484 +How many team turnovers did the Boston Celtics have at home? SELECT SUM(team_turnovers_home) as total_team_turnovers FROM other_stats WHERE team_abbreviation_home = 'BOS'; 678 +What is the highest field goals made by the Houston Rockets at home? SELECT MAX(fgm_home) as max_fgm FROM game WHERE team_name_home = 'Houston Rockets'; 64 +What is the highest field goals made by the Detroit Pistons at home? SELECT MAX(fgm_home) as max_fgm FROM game WHERE team_name_home = 'Detroit Pistons'; 69 +What is the highest field goals made by the Denver Nuggets at home? SELECT MAX(fgm_home) as max_fgm FROM game WHERE team_name_home = 'Denver Nuggets'; 68 +How many blocks did the Minnesota Timberwolves have away in 1996? SELECT SUM(blk_away) as total_blocks FROM game WHERE team_name_away = 'Minnesota Timberwolves' AND season_id = '21996'; 242 +How many steals did the Charlotte Hornets have away in 1996? SELECT SUM(stl_away) as total_steals FROM game WHERE team_name_away = 'Charlotte Hornets' AND season_id = '21996'; 303 +How many steals did the Phoenix Suns have away in 1996? SELECT SUM(stl_away) as total_steals FROM game WHERE team_name_away = 'Phoenix Suns' AND season_id = '21996'; 316 +How many steals did the Miami Heat have away in 1996? SELECT SUM(stl_away) as total_steals FROM game WHERE team_name_away = 'Miami Heat' AND season_id = '21996'; 320 +How many steals did the San Antonio Spurs have away in 1996? SELECT SUM(stl_away) as total_steals FROM game WHERE team_name_away = 'San Antonio Spurs' AND season_id = '21996'; 316 +What is the total number of three-point field goals made by the Utah Jazz at home? SELECT SUM(fg3m_home) as total_fg3m FROM game WHERE team_name_home = 'Utah Jazz'; 9391 +What is the total number of three-point field goals made by the Detroit Pistons at home? SELECT SUM(fg3m_home) as total_fg3m FROM game WHERE team_name_home = 'Detroit Pistons'; 9533 +What is the total number of three-point field goals made by the San Antonio Spurs at home? SELECT SUM(fg3m_home) as total_fg3m FROM game WHERE team_name_home = 'San Antonio Spurs'; 10361 +What is the total number of three-point field goals made by the Houston Rockets at home? SELECT SUM(fg3m_home) as total_fg3m FROM game WHERE team_name_home = 'Houston Rockets'; 12967 +What is the highest number of personal fouls committed by the Portland Trail Blazers away? SELECT MAX(pf_away) as max_pf FROM game WHERE team_name_away = 'Portland Trail Blazers'; 41 +What is the highest number of personal fouls committed by the Memphis Grizzlies away? SELECT MAX(pf_away) as max_pf FROM game WHERE team_name_away = 'Memphis Grizzlies'; 37 +What is the highest number of personal fouls committed by the Philadelphia 76ers away? SELECT MAX(pf_away) as max_pf FROM game WHERE team_name_away = 'Philadelphia 76ers'; 39 +What is the highest number of personal fouls committed by the New Orleans Pelicans away? SELECT MAX(pf_away) as max_pf FROM game WHERE team_name_away = 'New Orleans Pelicans'; 35 +How many games did the Chicago Bulls win away in the 1996 season? SELECT COUNT(*) as away_wins FROM game WHERE team_name_away = 'Chicago Bulls' AND wl_away = 'W' AND season_id = '21996'; 30 +What is the total number of minutes played by the Toronto Raptors at home? SELECT SUM(min) as total_minutes FROM game WHERE team_name_home = 'Toronto Raptors'; 287180 +What is the total number of minutes played by the Houston Rockets at home? SELECT SUM(min) as total_minutes FROM game WHERE team_name_home = 'Houston Rockets'; 524340 +What is the total number of minutes played by the Orlando Magic at home? SELECT SUM(min) as total_minutes FROM game WHERE team_name_home = 'Orlando Magic'; 344830 +How many games did the Dallas Mavericks play away in 1996? SELECT COUNT(*) as away_games FROM game WHERE team_name_away = 'Dallas Mavericks' AND season_id = '21996'; 41 +How many games did the Philadelphia 76ers play away in 1996? SELECT COUNT(*) as away_games FROM game WHERE team_name_away = 'Philadelphia 76ers' AND season_id = '21996'; 41 +What is the lowest number of points scored by the Detroit Pistons at home? SELECT MIN(pts_home) as min_points FROM game WHERE team_name_home = 'Detroit Pistons'; 64 +What is the lowest number of 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 +What is the lowest number of points scored by the Milwaukee Bucks at home? SELECT MIN(pts_home) as min_points FROM game WHERE team_name_home = 'Milwaukee Bucks'; 65 +How many points in the paint did the San Antonio Spurs 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 = 'San Antonio Spurs' AND g.season_id = '21996'; 1454 +How many points in the paint did the Houston Rockets 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 = 'Houston Rockets' AND g.season_id = '21996'; 1386 +How many points in the paint did the Denver Nuggets 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 = 'Denver Nuggets' AND g.season_id = '21996'; 1242 +What is the largest lead the Brooklyn Nets had away? SELECT MAX(largest_lead_away) as max_lead FROM other_stats WHERE team_abbreviation_away = 'BKN'; 45 +What is the largest lead the Dallas Mavericks had away? SELECT MAX(largest_lead_away) as max_lead FROM other_stats WHERE team_abbreviation_away = 'DAL'; 53 +How many times were games tied when the Los Angeles Lakers played away? SELECT SUM(times_tied) as total_times_tied FROM other_stats WHERE team_abbreviation_away = 'LAL'; 5161 +How many times were games tied when the Atlanta Hawks played away? SELECT SUM(times_tied) as total_times_tied FROM other_stats WHERE team_abbreviation_away = 'ATL'; 4828 +How many games did the Phoenix Suns 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 = 'Phoenix Suns' AND g.wl_home = 'L' AND os.pts_paint_home > 30 AND g.season_id = '21996'; 12 +What is the total number of points scored by the Indiana Pacers 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 = 'Indiana Pacers' AND os.lead_changes > 5; 44312 +What is the total number of points scored by the Portland Trail Blazers 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 = 'Portland Trail Blazers' AND os.lead_changes > 5; 46135 +What is the total number of points scored by the Charlotte Hornets 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 = 'Charlotte Hornets' AND os.lead_changes > 5; 25294 +What is the total number of points scored by the Memphis Grizzlies 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 = 'Memphis Grizzlies' AND os.lead_changes > 5; 37580 +How many games did the New York Knicks 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 = 'New York Knicks' AND g.wl_home = 'W' AND os.pts_fb_home > 15 AND g.season_id = '21996'; 2 +How many games did the Phoenix Suns 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 = 'Phoenix Suns' AND g.wl_home = 'W' AND os.pts_fb_home > 15 AND g.season_id = '21996'; 6 +How many games did the Boston Celtics 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 = 'Boston Celtics' AND g.wl_home = 'W' AND os.pts_fb_home > 15 AND g.season_id = '21996'; 4 +How many games did the Orlando Magic 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 = 'Orlando Magic' AND g.wl_home = 'W' AND os.pts_fb_home > 15 AND g.season_id = '21996'; 8 +What is the highest number of points scored by the Charlotte Hornets 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 = 'Charlotte Hornets' AND os.pts_2nd_chance_away > 10; 158 +What is the highest number of points scored by the Minnesota Timberwolves 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 = 'Minnesota Timberwolves' AND os.pts_2nd_chance_away > 10; 151 +What is the highest number of points scored by the Washington Wizards 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 = 'Washington Wizards' AND os.pts_2nd_chance_away > 10; 147 +What is the highest number of points scored by the San Antonio Spurs 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 = 'San Antonio Spurs' AND os.pts_2nd_chance_away > 10; 157 +What's the average points in the paint for the Orlando Magic 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 = 'Orlando Magic' AND g.plus_minus_home >= 10; 40.2369338 +What's the average points in the paint for the Miami Heat 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 = 'Miami Heat' AND g.plus_minus_home >= 10; 40.62702703 +What's the average points in the paint for the Philadelphia 76ers 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 = 'Philadelphia 76ers' AND g.plus_minus_home >= 10; 43.0652921 +How many overtime home games did the Phoenix Suns play? (Overtime = 5+ minute periods) SELECT COUNT(*) FROM game WHERE team_name_home = 'Phoenix Suns' AND min > 288; -- 48 regulation minutes * 60 seconds / 10 (min column format) 16 +How many overtime home games did the Utah Jazz play? (Overtime = 5+ minute periods) SELECT COUNT(*) FROM game WHERE team_name_home = 'Utah Jazz' AND min > 288; -- 48 regulation minutes * 60 seconds / 10 (min column format) 10 +How many overtime home games did the Chicago Bulls play? (Overtime = 5+ minute periods) SELECT COUNT(*) FROM game WHERE team_name_home = 'Chicago Bulls' AND min > 288; -- 48 regulation minutes * 60 seconds / 10 (min column format) 21 +How many overtime home games did the Detroit Pistons play? (Overtime = 5+ minute periods) SELECT COUNT(*) FROM game WHERE team_name_home = 'Detroit Pistons' AND min > 288; -- 48 regulation minutes * 60 seconds / 10 (min column format) 14 +What's the total second-chance points the Utah Jazz 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 = 'Utah Jazz' AND g.wl_away = 'L' AND g.season_id = '22019'; 182 +What's the highest number of team turnovers the Philadelphia 76ers 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 = 'Philadelphia 76ers' AND g.season_id = '22018'; 2 +What's the highest number of team turnovers the Utah Jazz 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 = 'Utah Jazz' AND g.season_id = '22018'; 2 +What's the highest number of team turnovers the Atlanta Hawks 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 = 'Atlanta Hawks' AND g.season_id = '22018'; 2 +How many games did the Chicago Bulls play at home during the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Chicago Bulls' AND season_id = '22020'; 36 +How many games did the Toronto Raptors play at home during the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Toronto Raptors' AND season_id = '22020'; 36 +What is the highest field goal percentage recorded by the Atlanta Hawks in a home game? SELECT MAX(fg_pct_home) FROM game WHERE team_name_home = 'Atlanta Hawks'; 0.675 +What is the highest field goal percentage recorded by the Toronto Raptors in a home game? SELECT MAX(fg_pct_home) FROM game WHERE team_name_home = 'Toronto Raptors'; 0.65 +What is the highest field goal percentage recorded by the Oklahoma City Thunder in a home game? SELECT MAX(fg_pct_home) FROM game WHERE team_name_home = 'Oklahoma City Thunder'; 0.64 +What is the highest field goal percentage recorded by the Denver Nuggets in a home game? SELECT MAX(fg_pct_home) FROM game WHERE team_name_home = 'Denver Nuggets'; 0.659 +What is the total number of turnovers committed by the Toronto Raptors at home in the 2021 season? SELECT SUM(tov_home) FROM game WHERE team_name_home = 'Toronto Raptors' AND season_id = '22021'; 501 +How many home games did the Denver Nuggets win in the 2022 season? SELECT COUNT(*) AS home_wins FROM game WHERE team_name_home = 'Denver Nuggets' AND wl_home = 'W' AND season_id = '22022'; 34 +What is the most three-pointers the Utah Jazz have made in a single game? SELECT MAX(fg3m_home) AS max_three_pointers FROM game WHERE team_name_home = 'Utah Jazz'; 28 +What is the most three-pointers the Houston Rockets have made in a single game? SELECT MAX(fg3m_home) AS max_three_pointers FROM game WHERE team_name_home = 'Houston Rockets'; 27 +What is the most three-pointers the Washington Wizards have made in a single game? SELECT MAX(fg3m_home) AS max_three_pointers FROM game WHERE team_name_home = 'Washington Wizards'; 20 +What is the largest lead the New York Knicks have had in any game? SELECT MAX(largest_lead_home) AS largest_lead FROM other_stats WHERE team_abbreviation_home = 'NYK'; 49 +What is the largest lead the Oklahoma City Thunder have had in any game? SELECT MAX(largest_lead_home) AS largest_lead FROM other_stats WHERE team_abbreviation_home = 'OKC'; 43 +What is the largest lead the New Orleans Pelicans have had in any game? SELECT MAX(largest_lead_home) AS largest_lead FROM other_stats WHERE team_abbreviation_home = 'NOP'; 53 +What is the most total rebounds the Washington Wizards have recorded in a game? SELECT MAX(reb_home) AS max_rebounds FROM game WHERE team_name_home = 'Washington Wizards'; 72 +What is the most total rebounds the San Antonio Spurs have recorded in a game? SELECT MAX(reb_home) AS max_rebounds FROM game WHERE team_name_home = 'San Antonio Spurs'; 75 +What is the most total rebounds the New Orleans Pelicans have recorded in a game? SELECT MAX(reb_home) AS max_rebounds FROM game WHERE team_name_home = 'New Orleans Pelicans'; 70 +What is the most total rebounds the Miami Heat have recorded in a game? SELECT MAX(reb_home) AS max_rebounds FROM game WHERE team_name_home = 'Miami Heat'; 69 +How many times have the Milwaukee Bucks scored more than 120 points in a game? SELECT COUNT(*) AS high_scoring_games FROM game WHERE team_name_home = 'Milwaukee Bucks' AND pts_home > 120; 345 +How many times have the Portland Trail Blazers scored more than 120 points in a game? SELECT COUNT(*) AS high_scoring_games FROM game WHERE team_name_home = 'Portland Trail Blazers' AND pts_home > 120; 338 +How many times have the Indiana Pacers scored more than 120 points in a game? SELECT COUNT(*) AS high_scoring_games FROM game WHERE team_name_home = 'Indiana Pacers' AND pts_home > 120; 225 +What is the most fast break points the Portland Trail Blazers have scored in a single game? SELECT MAX(pts_fb_home) AS max_fast_break_points FROM other_stats WHERE team_abbreviation_home = 'POR'; 34 +What is the most fast break points the Houston Rockets have scored in a single game? SELECT MAX(pts_fb_home) AS max_fast_break_points FROM other_stats WHERE team_abbreviation_home = 'HOU'; 37 +What is the most fast break points the Brooklyn Nets have scored in a single game? SELECT MAX(pts_fb_home) AS max_fast_break_points FROM other_stats WHERE team_abbreviation_home = 'BKN'; 38 +What is the average number of three-pointers made by the Sacramento Kings at home in the 2018 season? SELECT AVG(fg3m_home) FROM game WHERE team_abbreviation_home = 'SAC' AND season_id = '22018'; 11.51219512 +What is the average number of three-pointers made by the Atlanta Hawks at home in the 2018 season? SELECT AVG(fg3m_home) FROM game WHERE team_abbreviation_home = 'ATL' AND season_id = '22018'; 13.19512195 +How many times did the Denver Nuggets score more than 120 points at home in the 2015 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'DEN' AND season_id = '22015' AND pts_home > 120; 2 +How many times did the New York Knicks score more than 120 points at home in the 2015 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'NYK' AND season_id = '22015' AND pts_home > 120; 1 +How many times did the Toronto Raptors score more than 120 points at home in the 2015 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'TOR' AND season_id = '22015' AND pts_home > 120; 1 +How many times did the New Orleans Pelicans score more than 120 points at home in the 2015 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'NOP' AND season_id = '22015' AND pts_home > 120; 3 +What is the highest number of assists recorded by the Detroit Pistons at home in a single game? SELECT MAX(ast_home) FROM game WHERE team_abbreviation_home = 'DET'; 43 +What is the highest number of assists recorded by the Philadelphia 76ers at home in a single game? SELECT MAX(ast_home) FROM game WHERE team_abbreviation_home = 'PHI'; 43 +What is the highest number of assists recorded by the Portland Trail Blazers at home in a single game? SELECT MAX(ast_home) FROM game WHERE team_abbreviation_home = 'POR'; 49 +What is the highest number of assists recorded by the Toronto Raptors at home in a single game? SELECT MAX(ast_home) FROM game WHERE team_abbreviation_home = 'TOR'; 40 +How many games did the New York Knicks play at home in the 1996 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'NYK' AND season_id = '21996'; 41 +How many games did the Cleveland Cavaliers play at home in the 1996 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'CLE' AND season_id = '21996'; 41 +What is the total number of lead changes in all games played by the Minnesota Timberwolves 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 = 'MIN' OR g.team_abbreviation_away = 'MIN'); 436 +What is the total number of lead changes in all games played by the Detroit Pistons 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 = 'DET' OR g.team_abbreviation_away = 'DET'); 474 +How many fast-break points did the Los Angeles Lakers 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 = 'LAL'; 476 +In the 2019 season, how many total points off turnovers did the Indiana Pacers 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 = 'IND'; 526 +In the 2019 season, how many total points off turnovers did the Washington Wizards 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 = 'WAS'; 431 +In the 2019 season, how many total points off turnovers did the Miami Heat 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 = 'MIA'; 450 +How many total turnovers did the Houston Rockets 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 = 'HOU'; 623 +How many total turnovers did the Washington Wizards 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 = 'WAS'; 530 +What was the largest lead the Minnesota Timberwolves 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 = 'MIN' AND game.season_id = '22018'; 36 +What was the largest lead the Indiana Pacers 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 = 'IND' AND game.season_id = '22018'; 46 +What was the largest lead the Houston Rockets 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 = 'HOU' AND game.season_id = '22018'; 44 +What was the largest lead the New York Knicks 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 = 'NYK' AND game.season_id = '22018'; 34 +Which season had the highest total points scored by the Utah Jazz at home? SELECT season_id, SUM(pts_home) AS total_points FROM game WHERE team_abbreviation_home = 'UTA' GROUP BY season_id ORDER BY total_points DESC LIMIT 1; 22022 | 4836.0 +Which season had the highest total points scored by the Minnesota Timberwolves at home? SELECT season_id, SUM(pts_home) AS total_points FROM game WHERE team_abbreviation_home = 'MIN' GROUP BY season_id ORDER BY total_points DESC LIMIT 1; 22022 | 4753.0 +Which season had the highest total points scored by the Indiana Pacers at home? SELECT season_id, SUM(pts_home) AS total_points FROM game WHERE team_abbreviation_home = 'IND' GROUP BY season_id ORDER BY total_points DESC LIMIT 1; 22022 | 4876.0 +How many games did the New York Knicks win at home in the 2010 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'NYK' AND wl_home = 'W' AND season_id = '22010'; 23 +How many games did the San Antonio Spurs win at home in the 2010 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'SAS' AND wl_home = 'W' AND season_id = '22010'; 36 +How many points did the Phoenix Suns score in their first home game of the 2015 season? SELECT pts_home FROM game WHERE team_abbreviation_home = 'PHX' AND season_id = '22015' ORDER BY game_date ASC LIMIT 1; 95 +How many points did the Los Angeles Lakers score in their first home game of the 2015 season? SELECT pts_home FROM game WHERE team_abbreviation_home = 'LAL' AND season_id = '22015' ORDER BY game_date ASC LIMIT 1; 111 +How many points did the Detroit Pistons score in their first home game of the 2015 season? SELECT pts_home FROM game WHERE team_abbreviation_home = 'DET' AND season_id = '22015' ORDER BY game_date ASC LIMIT 1; 92 +What is the average number of fast break points the Portland Trail Blazers scored per game in the 2018 season? SELECT AVG(pts_fb_home) FROM other_stats WHERE team_abbreviation_home = 'POR' AND game_id IN (SELECT game_id FROM game WHERE season_id = '22018'); 10.46153846 +Find the game where the Orlando Magic had the largest lead at home in the 2013 season. SELECT game_id, largest_lead_home FROM other_stats WHERE team_abbreviation_home = 'ORL' AND game_id IN (SELECT game_id FROM game WHERE season_id = '22013') ORDER BY largest_lead_home DESC LIMIT 1; 0021300689 | 25 +Find the game where the Milwaukee Bucks had the largest lead at home in the 2013 season. SELECT game_id, largest_lead_home FROM other_stats WHERE team_abbreviation_home = 'MIL' AND game_id IN (SELECT game_id FROM game WHERE season_id = '22013') ORDER BY largest_lead_home DESC LIMIT 1; 0021300894 | 33 +How many games did the Golden State Warriors play at home in the 2017 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'GSW' AND season_id = '22017'; 41 +How many games did the Portland Trail Blazers play at home in the 2017 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'POR' AND season_id = '22017'; 41 +Find the number of times the Phoenix Suns played a game on January 10, 2015. SELECT COUNT(*) FROM game WHERE (team_abbreviation_home = 'PHX' OR team_abbreviation_away = 'PHX') AND DATE(game_date) = '2015-01-10'; 0 +Find the number of times the Washington Wizards played a game on January 10, 2015. SELECT COUNT(*) FROM game WHERE (team_abbreviation_home = 'WAS' OR team_abbreviation_away = 'WAS') AND DATE(game_date) = '2015-01-10'; 0 +Find the number of times the New Orleans Pelicans played a game on January 10, 2015. SELECT COUNT(*) FROM game WHERE (team_abbreviation_home = 'NOP' OR team_abbreviation_away = 'NOP') AND DATE(game_date) = '2015-01-10'; 0 +Find the number of times the Golden State Warriors played a game on January 10, 2015. SELECT COUNT(*) FROM game WHERE (team_abbreviation_home = 'GSW' OR team_abbreviation_away = 'GSW') AND DATE(game_date) = '2015-01-10'; 0 +Find the average number of assists the Houston Rockets had per game at home in the 2016 season. SELECT AVG(ast_home) FROM game WHERE team_abbreviation_home = 'HOU' AND season_id = '22016'; 26.24390244 +How many total games did the Indiana Pacers play in the 2015 season? SELECT COUNT(*) FROM game WHERE (team_abbreviation_home = 'IND' OR team_abbreviation_away = 'IND') AND season_id = '22015'; 82 +How many total games did the Portland Trail Blazers play in the 2015 season? SELECT COUNT(*) FROM game WHERE (team_abbreviation_home = 'POR' OR team_abbreviation_away = 'POR') AND season_id = '22015'; 82 +How many times did the Charlotte Hornets win at home in the 2017 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'CHA' AND season_id = '22017' AND pts_home > pts_away; 21 +How many times did the Milwaukee Bucks win at home in the 2017 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'MIL' AND season_id = '22017' AND pts_home > pts_away; 25 +How many times did the Utah Jazz win at home in the 2017 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'UTA' AND season_id = '22017' AND pts_home > pts_away; 28 +How many times did the Oklahoma City Thunder win at home in the 2017 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'OKC' AND season_id = '22017' AND pts_home > pts_away; 27 +Find the average points per game for the Orlando Magic in the 2006 season. SELECT AVG(points) FROM ( SELECT pts_home AS points FROM game WHERE team_abbreviation_home = 'ORL' AND season_id = '22006' UNION ALL SELECT pts_away AS points FROM game WHERE team_abbreviation_away = 'ORL' AND season_id = '22006' ) AS team_points; 94.76829268 +Find the average points per game for the Cleveland Cavaliers in the 2006 season. SELECT AVG(points) FROM ( SELECT pts_home AS points FROM game WHERE team_abbreviation_home = 'CLE' AND season_id = '22006' UNION ALL SELECT pts_away AS points FROM game WHERE team_abbreviation_away = 'CLE' AND season_id = '22006' ) AS team_points; 96.75609756 +Find the average points per game for the Portland Trail Blazers in the 2006 season. SELECT AVG(points) FROM ( SELECT pts_home AS points FROM game WHERE team_abbreviation_home = 'POR' AND season_id = '22006' UNION ALL SELECT pts_away AS points FROM game WHERE team_abbreviation_away = 'POR' AND season_id = '22006' ) AS team_points; 94.1097561 +Find the average points per game for the Washington Wizards in the 2006 season. SELECT AVG(points) FROM ( SELECT pts_home AS points FROM game WHERE team_abbreviation_home = 'WAS' AND season_id = '22006' UNION ALL SELECT pts_away AS points FROM game WHERE team_abbreviation_away = 'WAS' AND season_id = '22006' ) AS team_points; 104.3414634 +Find the average number of assists per game for the Golden State Warriors in the 2016 season. SELECT AVG(assists) FROM ( SELECT ast_home AS assists FROM game WHERE team_abbreviation_home = 'GSW' AND season_id = '22016' UNION ALL SELECT ast_away AS assists FROM game WHERE team_abbreviation_away = 'GSW' AND season_id = '22016' ) AS team_assists; 30.37804878 +Find the average number of assists per game for the Utah Jazz in the 2016 season. SELECT AVG(assists) FROM ( SELECT ast_home AS assists FROM game WHERE team_abbreviation_home = 'UTA' AND season_id = '22016' UNION ALL SELECT ast_away AS assists FROM game WHERE team_abbreviation_away = 'UTA' AND season_id = '22016' ) AS team_assists; 20.13414634 +Find the average number of three-pointers made per game by the New Orleans Pelicans in the 2015 season. SELECT AVG(fg3m) FROM ( SELECT fg3m_home AS fg3m FROM game WHERE team_abbreviation_home = 'NOP' AND season_id = '22015' UNION ALL SELECT fg3m_away AS fg3m FROM game WHERE team_abbreviation_away = 'NOP' AND season_id = '22015' ) AS three_pointers; 8.56097561 +Find the average number of three-pointers made per game by the Utah Jazz in the 2015 season. SELECT AVG(fg3m) FROM ( SELECT fg3m_home AS fg3m FROM game WHERE team_abbreviation_home = 'UTA' AND season_id = '22015' UNION ALL SELECT fg3m_away AS fg3m FROM game WHERE team_abbreviation_away = 'UTA' AND season_id = '22015' ) AS three_pointers; 8.463414634 +Find the average number of three-pointers made per game by the Los Angeles Lakers in the 2015 season. SELECT AVG(fg3m) FROM ( SELECT fg3m_home AS fg3m FROM game WHERE team_abbreviation_home = 'LAL' AND season_id = '22015' UNION ALL SELECT fg3m_away AS fg3m FROM game WHERE team_abbreviation_away = 'LAL' AND season_id = '22015' ) AS three_pointers; 7.792682927 +Find the average number of three-pointers made per game by the Indiana Pacers in the 2015 season. SELECT AVG(fg3m) FROM ( SELECT fg3m_home AS fg3m FROM game WHERE team_abbreviation_home = 'IND' AND season_id = '22015' UNION ALL SELECT fg3m_away AS fg3m FROM game WHERE team_abbreviation_away = 'IND' AND season_id = '22015' ) AS three_pointers; 8.085365854 +How many games did the Sacramento Kings win at home in the 2018 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'SAC' AND season_id = '22018' AND wl_home = 'W'; 24 +How many games did the Boston Celtics win at home in the 2018 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'BOS' AND season_id = '22018' AND wl_home = 'W'; 28 +What is the average number of points scored by the Chicago Bulls on the road during the 2015 season? SELECT AVG(pts_away) FROM game WHERE team_abbreviation_away = 'CHI' AND season_id = '22015'; 101.4634146 +What is the average number of points scored by the Indiana Pacers on the road during the 2015 season? SELECT AVG(pts_away) FROM game WHERE team_abbreviation_away = 'IND' AND season_id = '22015'; 101.4146341 +What is the average number of points scored by the Houston Rockets on the road during the 2015 season? SELECT AVG(pts_away) FROM game WHERE team_abbreviation_away = 'HOU' AND season_id = '22015'; 106.8292683 +What is the average number of points scored by the New York Knicks on the road during the 2015 season? SELECT AVG(pts_away) FROM game WHERE team_abbreviation_away = 'NYK' AND season_id = '22015'; 97.87804878 +What is the total number of turnovers committed by the Miami Heat in home games during the 1998 season? SELECT SUM(tov_home) FROM game WHERE team_abbreviation_home = 'MIA' AND season_id = '21998'; 348 +How many times did the Los Angeles Lakers score at least 120 points in a game during the 1992 season? SELECT COUNT(*) FROM game WHERE (team_abbreviation_home = 'LAL' AND pts_home >= 120 OR team_abbreviation_away = 'LAL' AND pts_away >= 120) AND season_id = '21992'; 7 +How many times did the Dallas Mavericks score at least 120 points in a game during the 1992 season? SELECT COUNT(*) FROM game WHERE (team_abbreviation_home = 'DAL' AND pts_home >= 120 OR team_abbreviation_away = 'DAL' AND pts_away >= 120) AND season_id = '21992'; 2 +How many times did the Detroit Pistons score at least 120 points in a game during the 1992 season? SELECT COUNT(*) FROM game WHERE (team_abbreviation_home = 'DET' AND pts_home >= 120 OR team_abbreviation_away = 'DET' AND pts_away >= 120) AND season_id = '21992'; 5 +How many three-pointers did the Minnesota Timberwolves 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 = 'Minnesota Timberwolves' OR team_name_away = 'Minnesota Timberwolves'); 1412 +What is the most points the New Orleans Pelicans have scored in a single home game? SELECT pts_home FROM game WHERE team_name_home = 'New Orleans Pelicans' ORDER BY pts_home DESC LIMIT 1; 149 +What is the most points the Dallas Mavericks have scored in a single home game? SELECT pts_home FROM game WHERE team_name_home = 'Dallas Mavericks' ORDER BY pts_home DESC LIMIT 1; 151 +What is the most points the Brooklyn Nets have scored in a single home game? SELECT pts_home FROM game WHERE team_name_home = 'Brooklyn Nets' ORDER BY pts_home DESC LIMIT 1; 145 +What is the most points the Orlando Magic have scored in a single home game? SELECT pts_home FROM game WHERE team_name_home = 'Orlando Magic' ORDER BY pts_home DESC LIMIT 1; 155 +How many total rebounds did the Miami Heat 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 = 'Miami Heat'; 1494 +How many total rebounds did the Washington Wizards 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 = 'Washington Wizards'; 1761 +How many total rebounds did the Utah Jazz 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 = 'Utah Jazz'; 1672 +How many total rebounds did the Denver Nuggets 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 = 'Denver Nuggets'; 1803 +What is the highest number of offensive rebounds recorded by the Portland Trail Blazers in a single game? SELECT game_id, game_date, team_name_home, oreb_home AS offensive_rebounds FROM game WHERE team_name_home = 'Portland Trail Blazers' UNION ALL SELECT game_id, game_date, team_name_away, oreb_away AS offensive_rebounds FROM game WHERE team_name_away = 'Portland Trail Blazers' ORDER BY offensive_rebounds DESC LIMIT 1; 0028500868 | 1986-04-01 00:00:00 | Portland Trail Blazers | 31.0 +What is the highest number of offensive rebounds recorded by the Atlanta Hawks in a single game? SELECT game_id, game_date, team_name_home, oreb_home AS offensive_rebounds FROM game WHERE team_name_home = 'Atlanta Hawks' UNION ALL SELECT game_id, game_date, team_name_away, oreb_away AS offensive_rebounds FROM game WHERE team_name_away = 'Atlanta Hawks' ORDER BY offensive_rebounds DESC LIMIT 1; 0028500744 | 1986-03-11 00:00:00 | Atlanta Hawks | 31.0 +What is the highest number of offensive rebounds recorded by the Milwaukee Bucks in a single game? SELECT game_id, game_date, team_name_home, oreb_home AS offensive_rebounds FROM game WHERE team_name_home = 'Milwaukee Bucks' UNION ALL SELECT game_id, game_date, team_name_away, oreb_away AS offensive_rebounds FROM game WHERE team_name_away = 'Milwaukee Bucks' ORDER BY offensive_rebounds DESC LIMIT 1; 0021401022 | 2015-03-20 00:00:00 | Milwaukee Bucks | 38.0 +What is the highest number of offensive rebounds recorded by the Memphis Grizzlies in a single game? SELECT game_id, game_date, team_name_home, oreb_home AS offensive_rebounds FROM game WHERE team_name_home = 'Memphis Grizzlies' UNION ALL SELECT game_id, game_date, team_name_away, oreb_away AS offensive_rebounds FROM game WHERE team_name_away = 'Memphis Grizzlies' ORDER BY offensive_rebounds DESC LIMIT 1; 0020300281 | 2003-12-07 00:00:00 | Memphis Grizzlies | 28.0 +How many total games did the Houston Rockets play in the 2015 season? SELECT COUNT(*) AS total_games FROM game WHERE season_id = '22015' AND (team_name_home = 'Houston Rockets' OR team_name_away = 'Houston Rockets'); 82 +How many total games did the Denver Nuggets play in the 2015 season? SELECT COUNT(*) AS total_games FROM game WHERE season_id = '22015' AND (team_name_home = 'Denver Nuggets' OR team_name_away = 'Denver Nuggets'); 82 +How many total games did the Charlotte Hornets play in the 2015 season? SELECT COUNT(*) AS total_games FROM game WHERE season_id = '22015' AND (team_name_home = 'Charlotte Hornets' OR team_name_away = 'Charlotte Hornets'); 82 +How many field goals did the Toronto Raptors make in total during the 1995 season? SELECT SUM(CASE WHEN team_name_home = 'Toronto Raptors' THEN fgm_home ELSE 0 END) + SUM(CASE WHEN team_name_away = 'Toronto Raptors' THEN fgm_away ELSE 0 END) AS total_field_goals FROM game WHERE season_id = '21995'; 3084 +How many field goals did the Memphis Grizzlies make in total during the 1995 season? SELECT SUM(CASE WHEN team_name_home = 'Memphis Grizzlies' THEN fgm_home ELSE 0 END) + SUM(CASE WHEN team_name_away = 'Memphis Grizzlies' THEN fgm_away ELSE 0 END) AS total_field_goals FROM game WHERE season_id = '21995'; 0 +What is the highest-scoring away game for the Milwaukee Bucks? SELECT game_id, game_date, pts_away FROM game WHERE team_name_away = 'Milwaukee Bucks' ORDER BY pts_away DESC LIMIT 1; 0028100679 | 1982-03-06 00:00:00 | 166.0 +What is the highest-scoring away game for the Denver Nuggets? SELECT game_id, game_date, pts_away FROM game WHERE team_name_away = 'Denver Nuggets' ORDER BY pts_away DESC LIMIT 1; 0028300943 | 1984-04-15 00:00:00 | 154.0 +What is the highest-scoring away game for the Houston Rockets? SELECT game_id, game_date, pts_away FROM game WHERE team_name_away = 'Houston Rockets' ORDER BY pts_away DESC LIMIT 1; 0021900061 | 2019-10-30 00:00:00 | 159.0 +What is the highest-scoring away game for the Orlando Magic? SELECT game_id, game_date, pts_away FROM game WHERE team_name_away = 'Orlando Magic' ORDER BY pts_away DESC LIMIT 1; 0029400678 | 1995-02-20 00:00:00 | 152.0 +How many games did the Los Angeles Lakers win at home during the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Los Angeles Lakers' AND wl_home = 'W' AND season_id = '22020'; 21 +How many games did the Indiana Pacers win at home during the 2020 season? SELECT COUNT(*) FROM game WHERE team_name_home = 'Indiana Pacers' AND wl_home = 'W' AND season_id = '22020'; 13 +What is the highest number of rebounds recorded by the Portland Trail Blazers in a home game? SELECT MAX(reb_home) FROM game WHERE team_name_home = 'Portland Trail Blazers'; 70 +What is the highest number of rebounds recorded by the Orlando Magic in a home game? SELECT MAX(reb_home) FROM game WHERE team_name_home = 'Orlando Magic'; 69 +What is the highest number of three-pointers made in a single game by the Charlotte Hornets at home? SELECT MAX(fg3m_home) FROM game WHERE team_name_home = 'Charlotte Hornets'; 24 +What is the highest number of three-pointers made in a single game by the Detroit Pistons at home? SELECT MAX(fg3m_home) FROM game WHERE team_name_home = 'Detroit Pistons'; 19 +What is the highest number of three-pointers made in a single game by the New York Knicks at home? SELECT MAX(fg3m_home) FROM game WHERE team_name_home = 'New York Knicks'; 20 +How many turnovers did the Boston Celtics commit at home during the 1998 season? SELECT SUM(tov_home) FROM game WHERE team_name_home = 'Boston Celtics' AND season_id = '21998'; 415 +How many turnovers did the Dallas Mavericks commit at home during the 1998 season? SELECT SUM(tov_home) FROM game WHERE team_name_home = 'Dallas Mavericks' AND season_id = '21998'; 343 +How many turnovers did the Cleveland Cavaliers commit at home during the 1998 season? SELECT SUM(tov_home) FROM game WHERE team_name_home = 'Cleveland Cavaliers' AND season_id = '21998'; 394 +What is the total number of fast break points scored by the Portland Trail Blazers 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 = 'Portland Trail Blazers' AND season_id = '22005' ); 299 +What is the total number of fast break points scored by the Miami Heat 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 = 'Miami Heat' AND season_id = '22005' ); 468 +What is the highest number of points the Charlotte Hornets 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 = 'CHA' AND season_id = '22016' UNION ALL SELECT pts_away AS pts FROM game WHERE team_abbreviation_away = 'CHA' AND season_id = '22016' ); 123 +What is the highest number of points the Atlanta Hawks 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 = 'ATL' AND season_id = '22016' UNION ALL SELECT pts_away AS pts FROM game WHERE team_abbreviation_away = 'ATL' AND season_id = '22016' ); 142 +How many total assists did the Minnesota Timberwolves have in the 1999 season? SELECT SUM(ast) AS total_assists FROM ( SELECT ast_home AS ast FROM game WHERE team_abbreviation_home = 'MIN' AND season_id = '21999' UNION ALL SELECT ast_away AS ast FROM game WHERE team_abbreviation_away = 'MIN' AND season_id = '21999' ); 2205 +How many total assists did the Philadelphia 76ers have in the 1999 season? SELECT SUM(ast) AS total_assists FROM ( SELECT ast_home AS ast FROM game WHERE team_abbreviation_home = 'PHI' AND season_id = '21999' UNION ALL SELECT ast_away AS ast FROM game WHERE team_abbreviation_away = 'PHI' AND season_id = '21999' ); 1817 +How many total points did the Atlanta Hawks 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 = 'ATL' AND season_id = '21988' UNION ALL SELECT pts_away AS pts FROM game WHERE team_abbreviation_away = 'ATL' AND season_id = '21988' ); 9102 +What is the most offensive rebounds the Minnesota Timberwolves 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 = 'MIN' AND season_id = '22011' UNION ALL SELECT oreb_away AS oreb FROM game WHERE team_abbreviation_away = 'MIN' AND season_id = '22011' ); 24 +What is the most offensive rebounds the Houston Rockets 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 = 'HOU' AND season_id = '22011' UNION ALL SELECT oreb_away AS oreb FROM game WHERE team_abbreviation_away = 'HOU' AND season_id = '22011' ); 19 +What is the most offensive rebounds the Miami Heat 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 = 'MIA' AND season_id = '22011' UNION ALL SELECT oreb_away AS oreb FROM game WHERE team_abbreviation_away = 'MIA' AND season_id = '22011' ); 18 +How many total fast break points did the Brooklyn Nets 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 = 'BKN' 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 = 'BKN' AND game_id IN (SELECT game_id FROM game WHERE season_id = '22015') ); 777 +How many total fast break points did the Chicago Bulls 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 = 'CHI' 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 = 'CHI' AND game_id IN (SELECT game_id FROM game WHERE season_id = '22015') ); 697 +How many total lead changes occurred in all Portland Trail Blazers 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 = 'POR' OR team_abbreviation_away = 'POR') ); 545 +How many total lead changes occurred in all Oklahoma City Thunder 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 = 'OKC' OR team_abbreviation_away = 'OKC') ); 425 +What is the highest number of three-pointers made by the Oklahoma City Thunder 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 = 'OKC' AND season_id = '22017' UNION ALL SELECT fg3m_away AS fg3m FROM game WHERE team_abbreviation_away = 'OKC' AND season_id = '22017' ); 20 +What is the highest number of three-pointers made by the Brooklyn Nets 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 = 'BKN' AND season_id = '22017' UNION ALL SELECT fg3m_away AS fg3m FROM game WHERE team_abbreviation_away = 'BKN' AND season_id = '22017' ); 24 +How many total rebounds did the Milwaukee Bucks grab in the 1985 season? SELECT SUM(reb) AS total_rebounds FROM ( SELECT reb_home AS reb FROM game WHERE team_abbreviation_home = 'MIL' AND season_id = '21985' UNION ALL SELECT reb_away AS reb FROM game WHERE team_abbreviation_away = 'MIL' AND season_id = '21985' ); 3609 +What was the most blocks recorded by the Portland Trail Blazers in a single home game in the 1999 season? SELECT MAX(blk_home) AS max_blocks FROM game WHERE team_abbreviation_home = 'POR' AND season_id = '21999'; 8 +What was the most blocks recorded by the Golden State Warriors in a single home game in the 1999 season? SELECT MAX(blk_home) AS max_blocks FROM game WHERE team_abbreviation_home = 'GSW' AND season_id = '21999'; 11 +What was the highest field goal percentage achieved by the Phoenix Suns 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 = 'PHX' AND season_id = '22003' UNION ALL SELECT fg_pct_away AS fg_pct FROM game WHERE team_abbreviation_away = 'PHX' AND season_id = '22003' ); 0.57 +What was the highest field goal percentage achieved by the San Antonio Spurs 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 = 'SAS' AND season_id = '22003' UNION ALL SELECT fg_pct_away AS fg_pct FROM game WHERE team_abbreviation_away = 'SAS' AND season_id = '22003' ); 0.575 +How many total lead changes occurred in all Denver Nuggets 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 = 'DEN' OR team_abbreviation_away = 'DEN') ); 414 +What was the highest number of assists recorded by the Indiana Pacers 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 = 'IND' AND season_id = '22015' UNION ALL SELECT ast_away AS ast FROM game WHERE team_abbreviation_away = 'IND' AND season_id = '22015' ); 34 +What was the highest number of assists recorded by the Los Angeles Lakers 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 = 'LAL' AND season_id = '22015' UNION ALL SELECT ast_away AS ast FROM game WHERE team_abbreviation_away = 'LAL' AND season_id = '22015' ); 26 +What was the highest number of assists recorded by the Phoenix Suns 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 = 'PHX' AND season_id = '22015' UNION ALL SELECT ast_away AS ast FROM game WHERE team_abbreviation_away = 'PHX' AND season_id = '22015' ); 31 +How many three-pointers did the New York Knicks 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 = 'NYK' AND season_id = '22017' UNION ALL SELECT fg3a_away AS fg3a FROM game WHERE team_abbreviation_away = 'NYK' AND season_id = '22017' ); 1914 +How many three-pointers did the Sacramento Kings 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 = 'SAC' AND season_id = '22017' UNION ALL SELECT fg3a_away AS fg3a FROM game WHERE team_abbreviation_away = 'SAC' AND season_id = '22017' ); 1967 +How many total turnovers did the Washington Wizards commit in the 2001 season? SELECT SUM(tov) AS total_turnovers FROM ( SELECT tov_home AS tov FROM game WHERE team_abbreviation_home = 'WAS' AND season_id = '22001' UNION ALL SELECT tov_away AS tov FROM game WHERE team_abbreviation_away = 'WAS' AND season_id = '22001' ); 1068 +What was the lowest-scoring game involving the Minnesota Timberwolves 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 = 'MIN' OR team_abbreviation_away = 'MIN') ); 157 +How many free throws did the Oklahoma City Thunder 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 = 'OKC' AND season_id = '22013' UNION ALL SELECT fta_away AS fta FROM game WHERE team_abbreviation_away = 'OKC' AND season_id = '22013' ); 2052 +What was the lowest field goal percentage recorded by the Indiana Pacers 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 = 'IND' AND season_id = '22005' UNION ALL SELECT fg_pct_away FROM game WHERE team_abbreviation_away = 'IND' AND season_id = '22005' ); 0.325 +How many total rebounds did the Cleveland Cavaliers collect in the 2010 season? SELECT SUM(reb) AS total_rebounds FROM ( SELECT reb_home AS reb FROM game WHERE team_abbreviation_home = 'CLE' AND season_id = '22010' UNION ALL SELECT reb_away AS reb FROM game WHERE team_abbreviation_away = 'CLE' AND season_id = '22010' ); 3305 +How many total rebounds did the Oklahoma City Thunder collect in the 2010 season? SELECT SUM(reb) AS total_rebounds FROM ( SELECT reb_home AS reb FROM game WHERE team_abbreviation_home = 'OKC' AND season_id = '22010' UNION ALL SELECT reb_away AS reb FROM game WHERE team_abbreviation_away = 'OKC' AND season_id = '22010' ); 3507 +How many total rebounds did the Portland Trail Blazers collect in the 2010 season? SELECT SUM(reb) AS total_rebounds FROM ( SELECT reb_home AS reb FROM game WHERE team_abbreviation_home = 'POR' AND season_id = '22010' UNION ALL SELECT reb_away AS reb FROM game WHERE team_abbreviation_away = 'POR' AND season_id = '22010' ); 3226 +How many games did the Dallas Mavericks win at home in the 2015 season? SELECT COUNT(*) AS home_wins FROM game WHERE season_id = '22015' AND team_abbreviation_home = 'DAL' AND pts_home > pts_away; 23 +How many games did the San Antonio Spurs win at home in the 2015 season? SELECT COUNT(*) AS home_wins FROM game WHERE season_id = '22015' AND team_abbreviation_home = 'SAS' AND pts_home > pts_away; 40 +What is the highest field goal percentage the Memphis Grizzlies have recorded at home? SELECT MAX(fg_pct_home) FROM game WHERE team_name_home = 'Memphis Grizzlies'; 0.625 +What is the highest field goal percentage the Minnesota Timberwolves have recorded at home? SELECT MAX(fg_pct_home) FROM game WHERE team_name_home = 'Minnesota Timberwolves'; 0.684 +What is the highest field goal percentage the Sacramento Kings have recorded at home? SELECT MAX(fg_pct_home) FROM game WHERE team_name_home = 'Sacramento Kings'; 0.671 +How many total offensive rebounds did the Indiana Pacers have in away games during the 2018 season? SELECT SUM(oreb_away) FROM game WHERE team_name_away = 'Indiana Pacers' AND season_id = '22018'; 385 +How many times did the Portland Trail Blazers lose by more than 20 points in the 2010 season? SELECT COUNT(*) FROM game WHERE season_id = '22010' AND ( (team_name_home = 'Portland Trail Blazers' AND wl_home = 'L' AND (pts_away - pts_home) > 20) OR (team_name_away = 'Portland Trail Blazers' AND wl_away = 'L' AND (pts_home - pts_away) > 20) ); 3 +What is the highest number of points the Charlotte Hornets have ever scored in a single home game? SELECT MAX(pts_home) FROM game WHERE team_abbreviation_home = 'CHA'; 144 +What is the highest number of points the Chicago Bulls have ever scored in a single home game? SELECT MAX(pts_home) FROM game WHERE team_abbreviation_home = 'CHI'; 155 +What is the highest number of points the Boston Celtics have ever scored in a single home game? SELECT MAX(pts_home) FROM game WHERE team_abbreviation_home = 'BOS'; 173 +What is the highest number of points the Houston Rockets have ever scored in a single home game? SELECT MAX(pts_home) FROM game WHERE team_abbreviation_home = 'HOU'; 158 +When was the last time the Dallas Mavericks won a home game? SELECT game_date FROM game WHERE team_abbreviation_home = 'DAL' AND wl_home = 'W' ORDER BY game_date DESC LIMIT 1; 2023-04-05 0:00:00 +When was the last time the Orlando Magic won a home game? SELECT game_date FROM game WHERE team_abbreviation_home = 'ORL' AND wl_home = 'W' ORDER BY game_date DESC LIMIT 1; 2023-04-02 0:00:00 +When was the last time the Houston Rockets won a home game? SELECT game_date FROM game WHERE team_abbreviation_home = 'HOU' AND wl_home = 'W' ORDER BY game_date DESC LIMIT 1; 2023-04-04 0:00:00 +When was the last time the Chicago Bulls won a home game? SELECT game_date FROM game WHERE team_abbreviation_home = 'CHI' AND wl_home = 'W' ORDER BY game_date DESC LIMIT 1; 2023-04-09 0:00:00 +Which away team has scored the most points against the Toronto Raptors in a single game? SELECT team_name_away, pts_away FROM game WHERE team_abbreviation_home = 'TOR' ORDER BY pts_away DESC LIMIT 1; Phoenix Suns | 140.0 +Which away team has scored the most points against the Denver Nuggets in a single game? SELECT team_name_away, pts_away FROM game WHERE team_abbreviation_home = 'DEN' ORDER BY pts_away DESC LIMIT 1; Detroit Pistons | 186.0 +Which away team has scored the most points against the Chicago Bulls in a single game? SELECT team_name_away, pts_away FROM game WHERE team_abbreviation_home = 'CHI' ORDER BY pts_away DESC LIMIT 1; Golden State Warriors | 149.0 +What was the largest lead the Phoenix Suns have ever had in a home game? SELECT MAX(largest_lead_home) FROM other_stats WHERE team_abbreviation_home = 'PHX'; 52 +What was the largest lead the Dallas Mavericks have ever had in a home game? SELECT MAX(largest_lead_home) FROM other_stats WHERE team_abbreviation_home = 'DAL'; 70 +What was the largest lead the Oklahoma City Thunder have ever had in a home game? SELECT MAX(largest_lead_home) FROM other_stats WHERE team_abbreviation_home = 'OKC'; 43 +What is the most fast break points the Washington Wizards have scored at home in a game? SELECT MAX(pts_fb_home) FROM other_stats WHERE team_abbreviation_home = 'WAS'; 37 +What is the most fast break points the Toronto Raptors have scored at home in a game? SELECT MAX(pts_fb_home) FROM other_stats WHERE team_abbreviation_home = 'TOR'; 44 +What is the most fast break points the New Orleans Pelicans have scored at home in a game? SELECT MAX(pts_fb_home) FROM other_stats WHERE team_abbreviation_home = 'NOP'; 39 +What is the most fast break points the Houston Rockets have scored at home in a game? SELECT MAX(pts_fb_home) FROM other_stats WHERE team_abbreviation_home = 'HOU'; 37 +What is the highest number of points the Dallas Mavericks have scored in a single away game? SELECT MAX(pts_away) FROM game WHERE team_abbreviation_away = 'DAL'; 156 +What is the highest number of points the Minnesota Timberwolves have scored in a single away game? SELECT MAX(pts_away) FROM game WHERE team_abbreviation_away = 'MIN'; 151 +What is the highest number of points the Toronto Raptors have scored in a single away game? SELECT MAX(pts_away) FROM game WHERE team_abbreviation_away = 'TOR'; 150 +What is the highest number of points the Golden State Warriors have scored in a single away game? SELECT MAX(pts_away) FROM game WHERE team_abbreviation_away = 'GSW'; 157 +What is the highest-scoring game in Oklahoma City Thunder history (considering both home and away games)? SELECT game_id, pts_home, pts_away, game_date FROM game WHERE team_abbreviation_home = 'OKC' OR team_abbreviation_away = 'OKC' ORDER BY (pts_home + pts_away) DESC LIMIT 1; 0021800619 | 154.0 | 147.0 | 2019-01-10 00:00:00 +What is the highest-scoring game in New York Knicks history (considering both home and away games)? SELECT game_id, pts_home, pts_away, game_date FROM game WHERE team_abbreviation_home = 'NYK' OR team_abbreviation_away = 'NYK' ORDER BY (pts_home + pts_away) DESC LIMIT 1; 0027700297 | 152.0 | 150.0 | 1977-12-16 00:00:00 +What is the highest-scoring game in Boston Celtics history (considering both home and away games)? SELECT game_id, pts_home, pts_away, game_date FROM game WHERE team_abbreviation_home = 'BOS' OR team_abbreviation_away = 'BOS' ORDER BY (pts_home + pts_away) DESC LIMIT 1; 0025800258 | 173.0 | 139.0 | 1959-02-27 00:00:00 +What is the highest-scoring game in Detroit Pistons history (considering both home and away games)? SELECT game_id, pts_home, pts_away, game_date FROM game WHERE team_abbreviation_home = 'DET' OR team_abbreviation_away = 'DET' ORDER BY (pts_home + pts_away) DESC LIMIT 1; 0028300255 | 184.0 | 186.0 | 1983-12-13 00:00:00 +What is the largest margin of victory the Los Angeles Lakers have ever had in an away game? SELECT MAX(ABS(pts_away - pts_home)) AS largest_margin FROM game WHERE team_abbreviation_away = 'LAL' AND pts_away > pts_home; 56 +What is the largest margin of victory the San Antonio Spurs have ever had in an away game? SELECT MAX(ABS(pts_away - pts_home)) AS largest_margin FROM game WHERE team_abbreviation_away = 'SAS' AND pts_away > pts_home; 51 +What is the largest margin of victory the Milwaukee Bucks have ever had in an away game? SELECT MAX(ABS(pts_away - pts_home)) AS largest_margin FROM game WHERE team_abbreviation_away = 'MIL' AND pts_away > pts_home; 47 +What is the largest margin of victory the Phoenix Suns have ever had in an away game? SELECT MAX(ABS(pts_away - pts_home)) AS largest_margin FROM game WHERE team_abbreviation_away = 'PHX' AND pts_away > pts_home; 44 +What is the most fast-break points the Utah Jazz have ever scored in an away game? SELECT MAX(pts_fb_away) FROM other_stats WHERE team_abbreviation_away = 'UTA'; 35 +What is the most fast-break points the Miami Heat have ever scored in an away game? SELECT MAX(pts_fb_away) FROM other_stats WHERE team_abbreviation_away = 'MIA'; 34 +What is the most fast-break points the Chicago Bulls have ever scored in an away game? SELECT MAX(pts_fb_away) FROM other_stats WHERE team_abbreviation_away = 'CHI'; 36 +What is the most points in the paint the Utah Jazz have ever scored in an away game? SELECT MAX(pts_paint_away) FROM other_stats WHERE team_abbreviation_away = 'UTA'; 76 +What is the most points in the paint the Houston Rockets have ever scored in an away game? SELECT MAX(pts_paint_away) FROM other_stats WHERE team_abbreviation_away = 'HOU'; 82 +What is the most points in the paint the New York Knicks have ever scored in an away game? SELECT MAX(pts_paint_away) FROM other_stats WHERE team_abbreviation_away = 'NYK'; 76 +What is the most points in the paint the Philadelphia 76ers have ever scored in an away game? SELECT MAX(pts_paint_away) FROM other_stats WHERE team_abbreviation_away = 'PHI'; 82 +What is the lowest number of points the New Orleans Pelicans have scored in an away game? SELECT MIN(pts_away) FROM game WHERE team_abbreviation_away = 'NOP'; 72 +What is the lowest number of points the Toronto Raptors have scored in an away game? SELECT MIN(pts_away) FROM game WHERE team_abbreviation_away = 'TOR'; 56 +What is the lowest number of points the Brooklyn Nets have scored in an away game? SELECT MIN(pts_away) FROM game WHERE team_abbreviation_away = 'BKN'; 73 +What is the lowest number of points the Cleveland Cavaliers have scored in an away game? SELECT MIN(pts_away) FROM game WHERE team_abbreviation_away = 'CLE'; 57 +How many times have the Indiana Pacers won an away game by at least 20 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'IND' AND wl_away = 'W' AND (pts_away - pts_home) >= 20; 61 +How many times have the Minnesota Timberwolves won an away game by at least 20 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'MIN' AND wl_away = 'W' AND (pts_away - pts_home) >= 20; 49 +How many times have the Milwaukee Bucks won an away game by at least 20 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'MIL' AND wl_away = 'W' AND (pts_away - pts_home) >= 20; 118 +How many times have the Washington Wizards won an away game by at least 20 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'WAS' AND wl_away = 'W' AND (pts_away - pts_home) >= 20; 48 +Which opponent has the Phoenix Suns lost to the most in away games? SELECT team_abbreviation_home, COUNT(*) AS losses FROM game WHERE team_abbreviation_away = 'PHX' AND wl_away = 'L' GROUP BY team_abbreviation_home ORDER BY losses DESC LIMIT 1; LAL | 112 +Which opponent has the Milwaukee Bucks lost to the most in away games? SELECT team_abbreviation_home, COUNT(*) AS losses FROM game WHERE team_abbreviation_away = 'MIL' AND wl_away = 'L' GROUP BY team_abbreviation_home ORDER BY losses DESC LIMIT 1; CHI | 89 +Which opponent has the Golden State Warriors lost to the most in away games? SELECT team_abbreviation_home, COUNT(*) AS losses FROM game WHERE team_abbreviation_away = 'GSW' AND wl_away = 'L' GROUP BY team_abbreviation_home ORDER BY losses DESC LIMIT 1; LAL | 48 +How many times have the Memphis Grizzlies scored exactly 100 points in an away game? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'MEM' AND pts_away = 100; 22 +How many times have the Charlotte Hornets scored exactly 100 points in an away game? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'CHA' AND pts_away = 100; 14 +How many times have the Los Angeles Lakers scored exactly 100 points in an away game? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'LAL' AND pts_away = 100; 69 +How many times have the Indiana Pacers scored exactly 100 points in an away game? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'IND' AND pts_away = 100; 69 +What is the largest lead the Detroit Pistons have ever had in a game? SELECT MAX(largest_lead_home) FROM other_stats WHERE team_abbreviation_home = 'DET'; 60 +What is the largest lead the Los Angeles Lakers have ever had in a game? SELECT MAX(largest_lead_home) FROM other_stats WHERE team_abbreviation_home = 'LAL'; 53 +What is the most three-pointers the Sacramento Kings have ever made in a home game? SELECT MAX(fg3m_home) FROM game WHERE team_name_home = 'Sacramento Kings'; 23 +What is the most three-pointers the Milwaukee Bucks have ever made in a home game? SELECT MAX(fg3m_home) FROM game WHERE team_name_home = 'Milwaukee Bucks'; 26 +What is the most three-pointers the Orlando Magic have ever made in a home game? SELECT MAX(fg3m_home) FROM game WHERE team_name_home = 'Orlando Magic'; 23 +What is the most three-pointers the Houston Rockets have ever made in a home game? SELECT MAX(fg3m_home) FROM game WHERE team_name_home = 'Houston Rockets'; 27 +What is the most second-chance points the Washington Wizards have scored in a home game? SELECT MAX(pts_2nd_chance_home) FROM other_stats WHERE team_abbreviation_home = 'WAS'; 32 +What is the most second-chance points the Orlando Magic have scored in a home game? SELECT MAX(pts_2nd_chance_home) FROM other_stats WHERE team_abbreviation_home = 'ORL'; 32 +What is the most second-chance points the Indiana Pacers have scored in a home game? SELECT MAX(pts_2nd_chance_home) FROM other_stats WHERE team_abbreviation_home = 'IND'; 32 +What is the most second-chance points the Cleveland Cavaliers have scored in a home game? SELECT MAX(pts_2nd_chance_home) FROM other_stats WHERE team_abbreviation_home = 'CLE'; 32 +In which season did the Indiana Pacers win the most games? SELECT season_id, COUNT(*) AS win_count FROM game WHERE (team_name_home = 'Indiana Pacers' AND wl_home = 'W') OR (team_name_away = 'Indiana Pacers' AND wl_away = 'W') GROUP BY season_id ORDER BY win_count DESC LIMIT 1; 22003 | 61 +In which season did the Dallas Mavericks win the most games? SELECT season_id, COUNT(*) AS win_count FROM game WHERE (team_name_home = 'Dallas Mavericks' AND wl_home = 'W') OR (team_name_away = 'Dallas Mavericks' AND wl_away = 'W') GROUP BY season_id ORDER BY win_count DESC LIMIT 1; 22006 | 67 +In which season did the Oklahoma City Thunder win the most games? SELECT season_id, COUNT(*) AS win_count FROM game WHERE (team_name_home = 'Oklahoma City Thunder' AND wl_home = 'W') OR (team_name_away = 'Oklahoma City Thunder' AND wl_away = 'W') GROUP BY season_id ORDER BY win_count DESC LIMIT 1; 22013 | 59 +In which season did the Orlando Magic win the most games? SELECT season_id, COUNT(*) AS win_count FROM game WHERE (team_name_home = 'Orlando Magic' AND wl_home = 'W') OR (team_name_away = 'Orlando Magic' AND wl_away = 'W') GROUP BY season_id ORDER BY win_count DESC LIMIT 1; 21995 | 60 +What is the most points the Miami Heat have scored at home in the 1996 season? SELECT MAX(pts_home) FROM game WHERE team_abbreviation_home = 'MIA' AND season_id = '21996'; 125 +How many games did the New Orleans Pelicans win at home in the 1984 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'NOP' AND season_id = '21984' AND wl_home = 'W'; 0 +What is the average number of turnovers per game for the Golden State Warriors at home in the 2018 season? SELECT AVG(tov_home) FROM game WHERE team_abbreviation_home = 'GSW' AND season_id = '22018'; 14.63414634 +What is the most points the Miami Heat have scored in an away game in the 2004 season? SELECT MAX(pts_away) FROM game WHERE team_abbreviation_away = 'MIA' AND season_id = '22004'; 119 +What is the most points the Cleveland Cavaliers have scored in an away game in the 2004 season? SELECT MAX(pts_away) FROM game WHERE team_abbreviation_away = 'CLE' AND season_id = '22004'; 114 +How many games did the Atlanta Hawks win on the road in the 1999 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'ATL' AND season_id = '21999' AND wl_away = 'W'; 7 +How many games did the Brooklyn Nets win on the road in the 1999 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'BKN' AND season_id = '21999' AND wl_away = 'W'; 0 +What is the highest number of turnovers the Phoenix Suns committed in a single away game during the 2016 season? SELECT MAX(tov_away) FROM game WHERE team_abbreviation_away = 'PHX' AND season_id = '22016'; 24 +What is the highest number of turnovers the Golden State Warriors committed in a single away game during the 2016 season? SELECT MAX(tov_away) FROM game WHERE team_abbreviation_away = 'GSW' AND season_id = '22016'; 23 +What is the highest number of turnovers the Toronto Raptors committed in a single away game during the 2016 season? SELECT MAX(tov_away) FROM game WHERE team_abbreviation_away = 'TOR' AND season_id = '22016'; 19 +What is the highest number of turnovers the Philadelphia 76ers committed in a single away game during the 2016 season? SELECT MAX(tov_away) FROM game WHERE team_abbreviation_away = 'PHI' AND season_id = '22016'; 24 +How many total offensive rebounds did the Dallas Mavericks record in all away games in the 1990 season? SELECT SUM(oreb_away) FROM game WHERE team_abbreviation_away = 'DAL' AND season_id = '21990'; 466 +What is the highest-scoring game (combined points) the Houston Rockets played in the 1998 season, home or away? SELECT game_id, (pts_home + pts_away) AS total_points FROM game WHERE (team_abbreviation_home = 'HOU' OR team_abbreviation_away = 'HOU') AND season_id = '21998' ORDER BY total_points DESC LIMIT 1; 0029800591 | 233.0 +What is the highest-scoring game (combined points) the Denver Nuggets played in the 1998 season, home or away? SELECT game_id, (pts_home + pts_away) AS total_points FROM game WHERE (team_abbreviation_home = 'DEN' OR team_abbreviation_away = 'DEN') AND season_id = '21998' ORDER BY total_points DESC LIMIT 1; 0029800135 | 230.0 +How many fast break points did the Chicago Bulls 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 = 'CHI' AND season_id = '22002' ); 466 +How many fast break points did the Minnesota Timberwolves 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 = 'MIN' AND season_id = '22002' ); 408 +What is the highest number of three-pointers the Portland Trail Blazers made in a single away game during the 2018 season? SELECT MAX(fg3m_away) FROM game WHERE team_abbreviation_away = 'POR' AND season_id = '22018'; 18 +How many total rebounds did the Boston Celtics grab in away games during the 1995 season? SELECT SUM(reb_away) FROM game WHERE team_abbreviation_away = 'BOS' AND season_id = '21995'; 1672 +How many total rebounds did the Atlanta Hawks grab in away games during the 1995 season? SELECT SUM(reb_away) FROM game WHERE team_abbreviation_away = 'ATL' AND season_id = '21995'; 1683 +What is the largest margin of victory the Portland Trail Blazers had in an away game during the 2010 season? SELECT MAX(ABS(pts_away - pts_home)) FROM game WHERE team_abbreviation_away = 'POR' AND season_id = '22010' AND wl_away = 'W'; 14 +How many overtime games did the Denver Nuggets play in the 1994 season? SELECT COUNT(*) FROM game WHERE (team_abbreviation_home = 'DEN' OR team_abbreviation_away = 'DEN') AND season_id = '21994' AND min > 48; 82 +How many overtime games did the Brooklyn Nets play in the 1994 season? SELECT COUNT(*) FROM game WHERE (team_abbreviation_home = 'BKN' OR team_abbreviation_away = 'BKN') AND season_id = '21994' AND min > 48; 0 +What was the highest number of assists the Milwaukee Bucks recorded in an away game during the 2001 season? SELECT MAX(ast_away) FROM game WHERE team_abbreviation_away = 'MIL' AND season_id = '22001'; 26 +How many times did the New York Knicks win an away game by 20 or more points in the 1983 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'NYK' AND season_id = '21983' AND wl_away = 'W' AND (pts_away - pts_home) >= 20; 1 +How many times did the Denver Nuggets win an away game by 20 or more points in the 1983 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'DEN' AND season_id = '21983' AND wl_away = 'W' AND (pts_away - pts_home) >= 20; 1 +How many times did the Detroit Pistons win an away game by 20 or more points in the 1983 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'DET' AND season_id = '21983' AND wl_away = 'W' AND (pts_away - pts_home) >= 20; 1 +What is the highest number of points the Milwaukee Bucks scored in an away game during the 1997 season? SELECT MAX(pts_away) FROM game WHERE team_abbreviation_away = 'MIL' AND season_id = '21997'; 118 +What is the highest number of points the Miami Heat scored in an away game during the 1997 season? SELECT MAX(pts_away) FROM game WHERE team_abbreviation_away = 'MIA' AND season_id = '21997'; 117 +What was the highest-scoring combined total of any game the Milwaukee Bucks played in during the 2007 season? SELECT MAX(pts_home + pts_away) FROM game WHERE team_abbreviation_home = 'MIL' OR team_abbreviation_away = 'MIL' AND season_id = '22007'; 309 +What was the highest-scoring combined total of any game the Oklahoma City Thunder played in during the 2007 season? SELECT MAX(pts_home + pts_away) FROM game WHERE team_abbreviation_home = 'OKC' OR team_abbreviation_away = 'OKC' AND season_id = '22007'; 295 +What was the highest-scoring combined total of any game the Detroit Pistons played in during the 2007 season? SELECT MAX(pts_home + pts_away) FROM game WHERE team_abbreviation_home = 'DET' OR team_abbreviation_away = 'DET' AND season_id = '22007'; 297 +How many total three-pointers did the Washington Wizards make in away games during the 2016 season? SELECT SUM(fg3m_away) FROM game WHERE team_abbreviation_away = 'WAS' AND season_id = '22016'; 353 +How many total three-pointers did the Charlotte Hornets make in away games during the 2016 season? SELECT SUM(fg3m_away) FROM game WHERE team_abbreviation_away = 'CHA' AND season_id = '22016'; 415 +What was the lowest-scoring game the Toronto Raptors played in during the 2002 season? SELECT MIN(pts_home + pts_away) FROM game WHERE team_abbreviation_home = 'TOR' OR team_abbreviation_away = 'TOR' AND season_id = '22002'; 138 +How many times did the Chicago Bulls win an away game while holding their opponent to under 90 points in the 1990 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'CHI' AND season_id = '21990' AND wl_away = 'W' AND pts_home < 90; 4 +How many times have the San Antonio Spurs won at home in the 2021 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'SAS' AND wl_home = 'W' AND season_id = '22021'; 16 +How many times have the Charlotte Hornets won at home in the 2021 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'CHA' AND wl_home = 'W' AND season_id = '22021'; 22 +How many times have the Chicago Bulls won at home in the 2021 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'CHI' AND wl_home = 'W' AND season_id = '22021'; 27 +How many times have the Los Angeles Lakers won at home in the 2021 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'LAL' AND wl_home = 'W' AND season_id = '22021'; 21 +What is the largest lead the Golden State Warriors have had in a game at home? SELECT MAX(largest_lead_home) FROM other_stats WHERE team_abbreviation_home = 'GSW'; 59 +What is the largest lead the Philadelphia 76ers have had in a game at home? SELECT MAX(largest_lead_home) FROM other_stats WHERE team_abbreviation_home = 'PHI'; 53 +What is the largest lead the Portland Trail Blazers have had in a game at home? SELECT MAX(largest_lead_home) FROM other_stats WHERE team_abbreviation_home = 'POR'; 52 +What is the most total rebounds the Sacramento Kings have had in a home game? SELECT MAX(reb_home) FROM game WHERE team_abbreviation_home = 'SAC'; 68 +What is the most total rebounds the Golden State Warriors have had in a home game? SELECT MAX(reb_home) FROM game WHERE team_abbreviation_home = 'GSW'; 72 +What is the most total rebounds the Orlando Magic have had in a home game? SELECT MAX(reb_home) FROM game WHERE team_abbreviation_home = 'ORL'; 69 +How many times did the New York Knicks lose at home in the 2015 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'NYK' AND wl_home = 'L' AND season_id = '22015'; 23 +What is the highest number of fast break points the Philadelphia 76ers have scored in a home game? SELECT MAX(pts_fb_home) FROM other_stats WHERE team_abbreviation_home = 'PHI'; 42 +What is the highest number of fast break points the Cleveland Cavaliers have scored in a home game? SELECT MAX(pts_fb_home) FROM other_stats WHERE team_abbreviation_home = 'CLE'; 39 +What is the most points the Orlando Magic have scored in a road game? SELECT MAX(pts_away) FROM game WHERE team_abbreviation_away = 'ORL'; 152 +What is the most points the Milwaukee Bucks have scored in a road game? SELECT MAX(pts_away) FROM game WHERE team_abbreviation_away = 'MIL'; 166 +What is the most points the Portland Trail Blazers have scored in a road game? SELECT MAX(pts_away) FROM game WHERE team_abbreviation_away = 'POR'; 153 +What is the highest-scoring game played by the Orlando Magic at home? SELECT game_date, pts_home FROM game WHERE team_abbreviation_home = 'ORL' ORDER BY pts_home DESC LIMIT 1; 1990-12-30 00:00:00 | 155.0 +What is the highest-scoring game played by the Sacramento Kings at home? SELECT game_date, pts_home FROM game WHERE team_abbreviation_home = 'SAC' ORDER BY pts_home DESC LIMIT 1; 1993-01-02 00:00:00 | 154.0 +What is the highest-scoring game played by the Golden State Warriors at home? SELECT game_date, pts_home FROM game WHERE team_abbreviation_home = 'GSW' ORDER BY pts_home DESC LIMIT 1; 2016-11-23 00:00:00 | 149.0 +How many times have the Dallas Mavericks won a home game while scoring at least 120 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'DAL' AND pts_home >= 120 AND wl_home = 'W'; 202 +How many times have the Los Angeles Lakers won a home game while scoring at least 120 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'LAL' AND pts_home >= 120 AND wl_home = 'W'; 587 +How many times have the Miami Heat won a home game while scoring at least 120 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'MIA' AND pts_home >= 120 AND wl_home = 'W'; 113 +How many times have the Brooklyn Nets won a home game while scoring at least 120 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'BKN' AND pts_home >= 120 AND wl_home = 'W'; 67 +How many times have the Chicago Bulls won an away game in the 2004 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'CHI' AND wl_away = 'W' AND season_id = '22004'; 20 +In how many home games did the New Orleans Pelicans score more fast-break points than their opponent? SELECT COUNT(*) FROM other_stats WHERE team_abbreviation_home = 'NOP' AND pts_fb_home > pts_fb_away; 198 +In how many home games did the Dallas Mavericks score more fast-break points than their opponent? SELECT COUNT(*) FROM other_stats WHERE team_abbreviation_home = 'DAL' AND pts_fb_home > pts_fb_away; 429 +In how many home games did the Indiana Pacers score more fast-break points than their opponent? SELECT COUNT(*) FROM other_stats WHERE team_abbreviation_home = 'IND' AND pts_fb_home > pts_fb_away; 433 +What is the most turnovers the Washington Wizards have committed in a home game? SELECT MAX(total_turnovers_home) FROM other_stats WHERE team_abbreviation_home = 'WAS'; 28 +What is the most turnovers the San Antonio Spurs have committed in a home game? SELECT MAX(total_turnovers_home) FROM other_stats WHERE team_abbreviation_home = 'SAS'; 32 +What is the most turnovers the Milwaukee Bucks have committed in a home game? SELECT MAX(total_turnovers_home) FROM other_stats WHERE team_abbreviation_home = 'MIL'; 30 +What is the most turnovers the Denver Nuggets have committed in a home game? SELECT MAX(total_turnovers_home) FROM other_stats WHERE team_abbreviation_home = 'DEN'; 33 +What was the highest field goal percentage the Boston Celtics achieved in a single game in the 1999 season? SELECT MAX(fg_pct_home) FROM game WHERE team_abbreviation_home = 'BOS' AND season_id = '21999'; 0.539 +What was the highest field goal percentage the Golden State Warriors achieved in a single game in the 1999 season? SELECT MAX(fg_pct_home) FROM game WHERE team_abbreviation_home = 'GSW' AND season_id = '21999'; 0.524 +What was the highest field goal percentage the Milwaukee Bucks achieved in a single game in the 1999 season? SELECT MAX(fg_pct_home) FROM game WHERE team_abbreviation_home = 'MIL' AND season_id = '21999'; 0.64 +How many times have the Portland Trail Blazers won a game by 30 or more points? SELECT COUNT(*) FROM game WHERE (team_abbreviation_home = 'POR' AND (pts_home - pts_away) >= 30 AND wl_home = 'W') OR (team_abbreviation_away = 'POR' AND (pts_away - pts_home) >= 30 AND wl_away = 'W'); 87 +How many times have the Brooklyn Nets won a game by 30 or more points? SELECT COUNT(*) FROM game WHERE (team_abbreviation_home = 'BKN' AND (pts_home - pts_away) >= 30 AND wl_home = 'W') OR (team_abbreviation_away = 'BKN' AND (pts_away - pts_home) >= 30 AND wl_away = 'W'); 17 +How many times have the Philadelphia 76ers won a game by 30 or more points? SELECT COUNT(*) FROM game WHERE (team_abbreviation_home = 'PHI' AND (pts_home - pts_away) >= 30 AND wl_home = 'W') OR (team_abbreviation_away = 'PHI' AND (pts_away - pts_home) >= 30 AND wl_away = 'W'); 29 +How many times have the Memphis Grizzlies won a game by 30 or more points? SELECT COUNT(*) FROM game WHERE (team_abbreviation_home = 'MEM' AND (pts_home - pts_away) >= 30 AND wl_home = 'W') OR (team_abbreviation_away = 'MEM' AND (pts_away - pts_home) >= 30 AND wl_away = 'W'); 31 +What is the highest-scoring away game played by the Dallas Mavericks? SELECT game_date, pts_away FROM game WHERE team_abbreviation_away = 'DAL' ORDER BY pts_away DESC LIMIT 1; 1995-04-11 00:00:00 | 156.0 +What is the highest-scoring away game played by the Washington Wizards? SELECT game_date, pts_away FROM game WHERE team_abbreviation_away = 'WAS' ORDER BY pts_away DESC LIMIT 1; 2006-12-17 00:00:00 | 147.0 +What is the highest-scoring away game played by the Atlanta Hawks? SELECT game_date, pts_away FROM game WHERE team_abbreviation_away = 'ATL' ORDER BY pts_away DESC LIMIT 1; 1970-02-11 00:00:00 | 155.0 +What is the highest-scoring away game played by the Portland Trail Blazers? SELECT game_date, pts_away FROM game WHERE team_abbreviation_away = 'POR' ORDER BY pts_away DESC LIMIT 1; 1992-05-11 00:00:00 | 153.0 +How many times have the Sacramento Kings won an away game while scoring at least 110 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'SAC' AND pts_away >= 110 AND wl_away = 'W'; 238 +How many times have the Phoenix Suns won an away game while scoring at least 110 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'PHX' AND pts_away >= 110 AND wl_away = 'W'; 521 +How many times have the Washington Wizards won an away game while scoring at least 110 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'WAS' AND pts_away >= 110 AND wl_away = 'W'; 270 +How many times have the Boston Celtics won an away game while scoring at least 110 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'BOS' AND pts_away >= 110 AND wl_away = 'W'; 690 +What is the largest lead the Toronto Raptors have ever had in an away game? SELECT MAX(largest_lead_away) FROM other_stats WHERE team_abbreviation_away = 'TOR'; 49 +What is the largest lead the Philadelphia 76ers have ever had in an away game? SELECT MAX(largest_lead_away) FROM other_stats WHERE team_abbreviation_away = 'PHI'; 47 +What is the largest lead the Houston Rockets have ever had in an away game? SELECT MAX(largest_lead_away) FROM other_stats WHERE team_abbreviation_away = 'HOU'; 62 +What is the largest lead the Portland Trail Blazers have ever had in an away game? SELECT MAX(largest_lead_away) FROM other_stats WHERE team_abbreviation_away = 'POR'; 58 +How many lead changes were there in the closest away game the Phoenix Suns 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 = 'PHX' ORDER BY ABS(pts_home - pts_away) ASC LIMIT 1 ); 32 +In how many away games did the Golden State Warriors score more fast-break points than their opponent? SELECT COUNT(*) FROM other_stats WHERE team_abbreviation_away = 'GSW' AND pts_fb_away > pts_fb_home; 497 +In how many away games did the Denver Nuggets score more fast-break points than their opponent? SELECT COUNT(*) FROM other_stats WHERE team_abbreviation_away = 'DEN' AND pts_fb_away > pts_fb_home; 478 +In how many away games did the Washington Wizards score more fast-break points than their opponent? SELECT COUNT(*) FROM other_stats WHERE team_abbreviation_away = 'WAS' AND pts_fb_away > pts_fb_home; 472 +In how many away games did the Indiana Pacers score more fast-break points than their opponent? SELECT COUNT(*) FROM other_stats WHERE team_abbreviation_away = 'IND' AND pts_fb_away > pts_fb_home; 454 +What is the most turnovers the Portland Trail Blazers have committed in an away game? SELECT MAX(total_turnovers_away) FROM other_stats WHERE team_abbreviation_away = 'POR'; 28 +What is the most turnovers the Memphis Grizzlies have committed in an away game? SELECT MAX(total_turnovers_away) FROM other_stats WHERE team_abbreviation_away = 'MEM'; 30 +What is the most turnovers the Utah Jazz have committed in an away game? SELECT MAX(total_turnovers_away) FROM other_stats WHERE team_abbreviation_away = 'UTA'; 31 +What is the most turnovers the Washington Wizards have committed in an away game? SELECT MAX(total_turnovers_away) FROM other_stats WHERE team_abbreviation_away = 'WAS'; 28 +What was the highest field goal percentage the Phoenix Suns achieved in a single away game in the 2008 season? SELECT MAX(fg_pct_away) FROM game WHERE team_abbreviation_away = 'PHX' AND season_id = '22008'; 0.632 +What was the highest field goal percentage the Atlanta Hawks achieved in a single away game in the 2008 season? SELECT MAX(fg_pct_away) FROM game WHERE team_abbreviation_away = 'ATL' AND season_id = '22008'; 0.53 +How many times have the Boston Celtics won an away game by at least 25 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'BOS' AND (pts_away - pts_home) >= 25 AND wl_away = 'W'; 80 +How many times have the Atlanta Hawks won an away game by at least 25 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'ATL' AND (pts_away - pts_home) >= 25 AND wl_away = 'W'; 37 +How many times have the Dallas Mavericks won an away game by at least 25 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'DAL' AND (pts_away - pts_home) >= 25 AND wl_away = 'W'; 35 +How many times have the New York Knicks won an away game by at least 25 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'NYK' AND (pts_away - pts_home) >= 25 AND wl_away = 'W'; 52 +What is the highest-scoring home game for the Washington Wizards? SELECT game_date, pts_home FROM game WHERE team_abbreviation_home = 'WAS' ORDER BY pts_home DESC LIMIT 1; 1990-12-29 00:00:00 | 161.0 +What is the highest-scoring home game for the Boston Celtics? 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 +What is the highest-scoring home game for the Denver Nuggets? SELECT game_date, pts_home FROM game WHERE team_abbreviation_home = 'DEN' ORDER BY pts_home DESC LIMIT 1; 1983-12-13 00:00:00 | 184.0 +What is the highest-scoring home game for the Minnesota Timberwolves? SELECT game_date, pts_home FROM game WHERE team_abbreviation_home = 'MIN' ORDER BY pts_home DESC LIMIT 1; 2022-12-18 00:00:00 | 150.0 +How many games have the Portland Trail Blazers won, both home and away, in the 2006 season? SELECT COUNT(*) FROM game WHERE season_id = '22006' AND ((team_abbreviation_home = 'POR' AND wl_home = 'W') OR (team_abbreviation_away = 'POR' AND wl_away = 'W')); 32 +How many games have the Washington Wizards won, both home and away, in the 2006 season? SELECT COUNT(*) FROM game WHERE season_id = '22006' AND ((team_abbreviation_home = 'WAS' AND wl_home = 'W') OR (team_abbreviation_away = 'WAS' AND wl_away = 'W')); 41 +What was the lowest-scoring home game for the Washington Wizards? SELECT game_date, pts_home FROM game WHERE team_abbreviation_home = 'WAS' ORDER BY pts_home ASC LIMIT 1; 1946-11-30 00:00:00 | 49.0 +What was the lowest-scoring home game for the Philadelphia 76ers? SELECT game_date, pts_home FROM game WHERE team_abbreviation_home = 'PHI' ORDER BY pts_home ASC LIMIT 1; 2003-11-17 00:00:00 | 66.0 +What was the lowest-scoring home game for the Utah Jazz? SELECT game_date, pts_home FROM game WHERE team_abbreviation_home = 'UTA' ORDER BY pts_home ASC LIMIT 1; 2005-11-29 00:00:00 | 60.0 +What was the lowest-scoring home game for the Milwaukee Bucks? SELECT game_date, pts_home FROM game WHERE team_abbreviation_home = 'MIL' ORDER BY pts_home ASC LIMIT 1; 1996-11-21 00:00:00 | 65.0 +How many games did the New Orleans Pelicans play at home in the 2010 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'NOP' AND season_id = '22010'; 0 +How many games did the Portland Trail Blazers play at home in the 2010 season? SELECT COUNT(*) FROM game WHERE team_abbreviation_home = 'POR' AND season_id = '22010'; 41 +How many times has the Miami Heat won an away game by at least 20 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'MIA' AND wl_away = 'W' AND (pts_away - pts_home) >= 20; 70 +How many times has the Detroit Pistons won an away game by at least 20 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'DET' AND wl_away = 'W' AND (pts_away - pts_home) >= 20; 98 +How many times has the Charlotte Hornets won an away game by at least 20 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'CHA' AND wl_away = 'W' AND (pts_away - pts_home) >= 20; 26 +How many times has the Sacramento Kings won an away game by at least 20 points? SELECT COUNT(*) FROM game WHERE team_abbreviation_away = 'SAC' AND wl_away = 'W' AND (pts_away - pts_home) >= 20; 45 +What was the largest lead the New York Knicks 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 = 'New York Knicks' AND game.season_id = '22018'; 34 +What was the largest lead the Los Angeles Lakers 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 = 'Los Angeles Lakers' AND game.season_id = '22018'; 36 +What was the largest lead the Indiana Pacers 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 = 'Indiana Pacers' AND game.season_id = '22018'; 46 +What is the highest number of assists recorded by the Phoenix Suns in a single home game? SELECT MAX(ast_home) FROM game WHERE team_name_home = 'Phoenix Suns'; 50 +What is the highest number of assists recorded by the Washington Wizards in a single home game? SELECT MAX(ast_home) FROM game WHERE team_name_home = 'Washington Wizards'; 50 +What is the highest number of assists recorded by the Minnesota Timberwolves in a single home game? SELECT MAX(ast_home) FROM game WHERE team_name_home = 'Minnesota Timberwolves'; 43 +What is the highest number of assists recorded by the Portland Trail Blazers in a single home game? SELECT MAX(ast_home) FROM game WHERE team_name_home = 'Portland Trail Blazers'; 49