File size: 47,872 Bytes
bffa994
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
natural_query	sql_query	result	from_to_where	after_froM	after_from
What is the average fast break points scored by the Philadelphia 76ers at home during the 2018 season?	SELECT AVG(os.pts_fb_home) AS avg_fast_break FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_abbreviation_home = 'PHI' AND g.season_id = '22018';	16.32352941	other_stats os JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the average second-chance points for Toronto Raptors home games between 2015-2020?	SELECT AVG(os.pts_2nd_chance_home) AS avg_second_chance FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.team_abbreviation_home = 'TOR' AND g.season_id BETWEEN '22015' AND '22020';	13.07653061	other_stats os JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the total number of points the Boston Celtics scored in the paint during the 2020 season?	SELECT SUM(paint_points) AS total_paint_points  FROM (     SELECT os.pts_paint_home AS paint_points      FROM other_stats os      JOIN game g ON os.game_id = g.game_id      WHERE g.team_name_home = 'Boston Celtics' AND g.season_id = '22020'      UNION ALL      SELECT os.pts_paint_away AS paint_points      FROM other_stats os      JOIN game g ON os.game_id = g.game_id      WHERE g.team_name_away = 'Boston Celtics' AND g.season_id = '22020' ) AS all_games	2884	(     SELECT os.pts_paint_home AS paint_points      FROM other_stats os      JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What was the average number of fast break points scored by the Miami Heat in games they lost during the 2017 season?	SELECT AVG(fastbreak_points) AS avg_fastbreak_points  FROM (     SELECT os.pts_fb_home AS fastbreak_points      FROM other_stats os      JOIN game g ON os.game_id = g.game_id      WHERE g.team_name_home = 'Miami Heat' AND g.wl_home = 'L' AND g.season_id = '22017'      UNION ALL      SELECT os.pts_fb_away AS fastbreak_points      FROM other_stats os      JOIN game g ON os.game_id = g.game_id      WHERE g.team_name_away = 'Miami Heat' AND g.wl_away = 'L' AND g.season_id = '22017' ) AS losing_games	11.29032258	(     SELECT os.pts_fb_home AS fastbreak_points      FROM other_stats os      JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the total number of points scored by the Denver Nuggets in fourth quarters during the 2021 season?	SELECT SUM(points_off_turnovers) AS total_points_off_turnovers  FROM (     SELECT os.pts_off_to_home AS points_off_turnovers      FROM other_stats os      JOIN game g ON os.game_id = g.game_id      WHERE g.team_name_home = 'Denver Nuggets' AND g.season_id = '22021'      UNION ALL      SELECT os.pts_off_to_away AS points_off_turnovers      FROM other_stats os      JOIN game g ON os.game_id = g.game_id      WHERE g.team_name_away = 'Denver Nuggets' AND g.season_id = '22021' ) AS all_games	1071	(     SELECT os.pts_off_to_home AS points_off_turnovers      FROM other_stats os      JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
How many points did Michael Jordan's Chicago Bulls score in the paint during the 1997 season?	SELECT SUM(paint_points) AS total_paint_points FROM (     SELECT os.pts_paint_home AS paint_points     FROM other_stats os     JOIN game g ON os.game_id = g.game_id     WHERE g.team_name_home = 'Chicago Bulls' AND g.season_id = '21997'     UNION ALL     SELECT os.pts_paint_away AS paint_points     FROM other_stats os     JOIN game g ON os.game_id = g.game_id     WHERE g.team_name_away = 'Chicago Bulls' AND g.season_id = '21997' ) AS all_games	2654	(     SELECT os.pts_paint_home AS paint_points     FROM other_stats os     JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
Which team had the largest home court lead in any game against the Los Angeles Lakers?	SELECT team_city_home AS home_team, largest_lead_home AS max_lead FROM other_stats JOIN game ON other_stats.game_id = game.game_id WHERE team_name_away = 'Los Angeles Lakers' ORDER BY largest_lead_home DESC LIMIT 1;	Utah | 53 	other_stats JOIN game ON other_stats.game_id = game.game_id	other_stats	other_stats
Which opponent did the Golden State Warriors have the most lead changes against in a single home game?	SELECT o.team_city_away AS opponent, o.lead_changes FROM other_stats o JOIN game g ON o.game_id = g.game_id WHERE g.team_name_home = 'Golden State Warriors' ORDER BY o.lead_changes DESC LIMIT 1;	Seattle | 33 	other_stats o JOIN game g ON o.game_id = g.game_id	other_stats	other_stats
What was the largest lead held by the Orlando Magic in any game where they eventually lost at home?	SELECT o.largest_lead_home AS largest_lead, g.game_date FROM other_stats o JOIN game g ON o.game_id = g.game_id WHERE g.team_name_home = 'Orlando Magic' AND g.wl_home = 'L' ORDER BY o.largest_lead_home DESC LIMIT 1;	46 | 2017-11-18 00:00:00	other_stats o JOIN game g ON o.game_id = g.game_id	other_stats	other_stats
What was the highest number of lead changes in any game between the Los Angeles Lakers and Boston Celtics?	SELECT MAX(o.lead_changes) AS max_lead_changes FROM other_stats o JOIN game g ON o.game_id = g.game_id WHERE (g.team_name_home = 'Los Angeles Lakers' AND g.team_name_away = 'Boston Celtics')    OR (g.team_name_home = 'Boston Celtics' AND g.team_name_away = 'Los Angeles Lakers');	22	other_stats o JOIN game g ON o.game_id = g.game_id	other_stats	other_stats
Which season had the most total turnovers across all games?	SELECT season_id FROM other_stats JOIN game USING(game_id) GROUP BY season_id ORDER BY SUM(total_turnovers_home + total_turnovers_away) DESC LIMIT 1;	21999		other_stats	other_stats
Which city had the most games where the home team won by more than 25 points?	SELECT team_city_home FROM other_stats WHERE game_id IN (SELECT game_id FROM game WHERE wl_home = 'W' AND pts_home - pts_away > 25) GROUP BY team_city_home ORDER BY COUNT(*) DESC LIMIT 1;	Golden State	other_stats	other_stats	other_stats
Which team was involved in the most games with more than 15 lead changes?	SELECT team FROM (SELECT team_abbreviation_home AS team FROM other_stats WHERE lead_changes > 15 UNION ALL SELECT team_abbreviation_away FROM other_stats WHERE lead_changes > 15) GROUP BY team ORDER BY COUNT(*) DESC LIMIT 1;	LAL	(SELECT team_abbreviation_home AS team FROM other_stats	other_stats	other_stats
Which city hosted the most games that ended with both teams scoring over 100 points?	SELECT team_city_home FROM other_stats WHERE game_id IN (SELECT game_id FROM game WHERE pts_home > 100 AND pts_away > 100) GROUP BY team_city_home ORDER BY COUNT(*) DESC LIMIT 1;	Los Angeles	other_stats	other_stats	other_stats
Which city had the most total fast break points in the 2016 season?	SELECT team_city_home FROM other_stats WHERE game_id IN (SELECT game_id FROM game WHERE season_id = '22016') GROUP BY team_city_home ORDER BY SUM(pts_fb_home) DESC LIMIT 1;	Golden State	other_stats	other_stats	other_stats
Which season had the most combined team rebounds recorded?	SELECT season_id FROM other_stats JOIN game USING(game_id) GROUP BY season_id ORDER BY SUM(team_rebounds_home + team_rebounds_away) DESC LIMIT 1;	21997		other_stats	other_stats
Which season had the highest average number of times tied per game?	SELECT season_id FROM other_stats JOIN game USING(game_id) GROUP BY season_id ORDER BY AVG(times_tied) DESC LIMIT 1;	32002		other_stats	other_stats
Which season had the most games where home teams scored zero fast break points?	SELECT season_id FROM other_stats JOIN game USING(game_id) WHERE pts_fb_home = 0 GROUP BY season_id ORDER BY COUNT(*) DESC LIMIT 1;	22001	other_stats JOIN game USING(game_id)	other_stats	other_stats
Which city had teams that scored the most total points during the 2010 season?	SELECT team_city_home FROM other_stats WHERE game_id IN (SELECT game_id FROM game WHERE season_id = '22010') GROUP BY team_city_home ORDER BY SUM(pts_paint_home + pts_2nd_chance_home + pts_fb_home + pts_off_to_home) DESC LIMIT 1;	Los Angeles	other_stats	other_stats	other_stats
Which city had home teams with the highest average number of rebounds in 2005?	SELECT team_city_home FROM other_stats WHERE game_id IN (SELECT game_id FROM game WHERE season_id = '22005') GROUP BY team_city_home ORDER BY AVG(team_rebounds_home) DESC LIMIT 1;	Orlando	other_stats	other_stats	other_stats
Which team had the highest number of team turnovers in an away game?	SELECT team_abbreviation_away FROM other_stats ORDER BY team_turnovers_away DESC LIMIT 1;	CHI		other_stats	other_stats
Which away team scored the most points off turnovers in a single game?	SELECT team_abbreviation_away FROM other_stats ORDER BY pts_off_to_away DESC LIMIT 1;	ATL		other_stats	other_stats
What was the total number of points off turnovers by away teams when they committed more than 20 total turnovers?	SELECT SUM(pts_off_to_away) FROM other_stats WHERE total_turnovers_away > 20;	45727	other_stats	other_stats	other_stats
Which game had the biggest difference between total turnovers and team turnovers for the away team?	SELECT game_id FROM other_stats ORDER BY ABS(total_turnovers_away - team_turnovers_away) DESC LIMIT 1;	29600522		other_stats	other_stats
What is the highest number of team rebounds recorded by an away team in a single game?	SELECT MAX(team_rebounds_away) FROM other_stats;	24		other_stats	other_stats
How many points off turnovers were scored by away teams in games where they had more team rebounds than the home team?	SELECT SUM(pts_off_to_away) FROM other_stats WHERE team_rebounds_away > team_rebounds_home;	169555	other_stats	other_stats	other_stats
Which team committed the fewest total turnovers in an away game that resulted in a win?	SELECT team_abbreviation_away FROM other_stats WHERE game_id IN (SELECT game_id FROM game WHERE wl_away = 'W') ORDER BY total_turnovers_away ASC LIMIT 1;	PHX	other_stats	other_stats	other_stats
Which game had the most efficient away team in terms of points off turnovers per total turnover?	SELECT game_id FROM other_stats WHERE total_turnovers_away > 0 ORDER BY (pts_off_to_away * 1.0 / total_turnovers_away) DESC LIMIT 1;	0021500879	other_stats	other_stats	other_stats
Which team had the most games where their team rebounds as away team were greater than 15?	SELECT team_abbreviation_away FROM other_stats WHERE team_rebounds_away > 15 GROUP BY team_abbreviation_away ORDER BY COUNT(*) DESC LIMIT 1;	UTA	other_stats	other_stats	other_stats
What is the average number of points off turnovers for away teams with fewer than 10 total turnovers?	SELECT AVG(pts_off_to_away) FROM other_stats WHERE total_turnovers_away < 10;	8.900039200313602	other_stats	other_stats	other_stats
What is the total points in the paint by the Los Angeles Clippers at home?	SELECT SUM(pts_paint_home) as total_pts_paint  FROM other_stats  WHERE team_abbreviation_home = 'LAC';	40334.0	other_stats	other_stats	other_stats
How many lead changes occurred in games where the Denver Nuggets played at home?	SELECT SUM(lead_changes) as total_lead_changes  FROM other_stats  WHERE team_abbreviation_home = 'DEN';	6168.0	other_stats	other_stats	other_stats
What is the largest lead the Minnesota Timberwolves had at home?	SELECT MAX(largest_lead_home) as max_lead  FROM other_stats  WHERE team_abbreviation_home = 'MIN';	48.0	other_stats	other_stats	other_stats
How many fast break points did the Orlando Magic score away?	SELECT SUM(pts_fb_away) as total_fb_points  FROM other_stats  WHERE team_abbreviation_away = 'ORL';	11743.0	other_stats	other_stats	other_stats
What is the total second chance points by the Toronto Raptors at home?	SELECT SUM(pts_2nd_chance_home) as total_2nd_chance  FROM other_stats  WHERE team_abbreviation_home = 'TOR';	12057.0	other_stats	other_stats	other_stats
How many total team rebounds did the Los Angeles Clippers have in away games where they scored over 15 fast break points?	SELECT SUM(os.team_rebounds_away)  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_abbreviation_away = 'LAC'  AND os.pts_fb_away > 15;	2279.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the total points off turnovers by the Atlanta Hawks at home?	SELECT SUM(pts_off_to_home) as total_pts_off_to  FROM other_stats  WHERE team_abbreviation_home = 'ATL';	13503.0	other_stats	other_stats	other_stats
How many times were games tied when the Boston Celtics played at home?	SELECT SUM(times_tied) as total_times_tied  FROM other_stats  WHERE team_abbreviation_home = 'BOS';	5156.0	other_stats	other_stats	other_stats
What is the highest fast break points by the Houston Rockets at home?	SELECT MAX(pts_fb_home) as max_fb_points  FROM other_stats  WHERE team_abbreviation_home = 'HOU';	37.0	other_stats	other_stats	other_stats
How many team turnovers did the New York Knicks have at home?	SELECT SUM(team_turnovers_home) as total_team_turnovers  FROM other_stats  WHERE team_abbreviation_home = 'NYK';	550.0	other_stats	other_stats	other_stats
What is the total points in the paint by the Philadelphia 76ers away?	SELECT SUM(pts_paint_away) as total_pts_paint  FROM other_stats  WHERE team_abbreviation_away = 'PHI';	41004.0	other_stats	other_stats	other_stats
What is the largest lead the Phoenix Suns had at home?	SELECT MAX(largest_lead_home) as max_lead  FROM other_stats  WHERE team_abbreviation_home = 'PHX';	52.0	other_stats	other_stats	other_stats
How many fast break points did the Atlanta Hawks score at home?	SELECT SUM(pts_fb_home) as total_fb_points  FROM other_stats  WHERE team_abbreviation_home = 'ATL';	12063.0	other_stats	other_stats	other_stats
What is the total second chance points by the Boston Celtics away?	SELECT SUM(pts_2nd_chance_away) as total_2nd_chance  FROM other_stats  WHERE team_abbreviation_away = 'BOS';	11426.0	other_stats	other_stats	other_stats
What is the total points in the paint by the Denver Nuggets at home?	SELECT SUM(pts_paint_home) as total_pts_paint  FROM other_stats  WHERE team_abbreviation_home = 'DEN';	44784.0	other_stats	other_stats	other_stats
How many times were games tied when the Indiana Pacers played at home?	SELECT SUM(times_tied) as total_times_tied  FROM other_stats  WHERE team_abbreviation_home = 'IND';	4805.0	other_stats	other_stats	other_stats
"What is the total second chance points by the Miami Heat at home?"""	SELECT SUM(pts_2nd_chance_home) as total_2nd_chance  FROM other_stats  WHERE team_abbreviation_home = 'MIA';	11670.0	other_stats	other_stats	other_stats
What is the total points in the paint by the Chicago Bulls at home in games they lost in 1996?	SELECT SUM(os.pts_paint_home) as total_pts_paint  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Chicago Bulls' AND g.wl_home = 'L' AND g.season_id = '21996';	56.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the total fast break points by the Phoenix Suns in games they lost at home in 1996?	SELECT SUM(os.pts_fb_home) as total_fb_points  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Phoenix Suns' AND g.wl_home = 'L' AND g.season_id = '21996';	171.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the average second chance points by the Milwaukee Bucks at home in games they won?	SELECT AVG(os.pts_2nd_chance_home) as avg_2nd_chance  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Milwaukee Bucks' AND g.wl_home = 'W';	13.12	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
How many games did the Atlanta Hawks win at home with a largest lead greater than 20 in 1996?	SELECT COUNT(*) as wins  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Atlanta Hawks' AND g.wl_home = 'W' AND os.largest_lead_home > 20 AND g.season_id = '21996';	7.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the highest points in the paint by the Sacramento Kings away in games they won?	SELECT MAX(os.pts_paint_away) as max_pts_paint  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_away = 'Sacramento Kings' AND g.wl_away = 'W';	78.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
How many games did the Utah Jazz play at home with more than 30 points in the paint in 1996?	SELECT COUNT(*) as games  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Utah Jazz' AND os.pts_paint_home > 30 AND g.season_id = '21996';	25.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the total second chance points by the Washington Wizards at home in games they won?	SELECT SUM(os.pts_2nd_chance_home) as total_2nd_chance  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Washington Wizards' AND g.wl_home = 'W';	6281.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the total points in the paint by the Minnesota Timberwolves away when they lost?	SELECT SUM(os.pts_paint_away) as total_pts_paint  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_away = 'Minnesota Timberwolves' AND g.wl_away = 'L';	25564.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the total points in the paint by the Sacramento Kings at home?	SELECT SUM(pts_paint_home) as total_pts_paint  FROM other_stats WHERE team_abbreviation_home = 'SAC';	38278.0	other_stats	other_stats	other_stats
How many lead changes occurred in games where the San Antonio Spurs played at home?	SELECT SUM(lead_changes) as total_lead_changes  FROM other_stats  WHERE team_abbreviation_home = 'SAS';	5666.0	other_stats	other_stats	other_stats
What is the largest lead the Toronto Raptors had away?	SELECT MAX(largest_lead_away) as max_lead  FROM other_stats  WHERE team_abbreviation_away = 'TOR';	49.0	other_stats	other_stats	other_stats
How many fast break points did the Utah Jazz score at home?	SELECT SUM(pts_fb_home) as total_fb_points  FROM other_stats  WHERE team_abbreviation_home = 'UTA';	11246.0	other_stats	other_stats	other_stats
What is the total second chance points by the Washington Wizards away?	SELECT SUM(pts_2nd_chance_away) as total_2nd_chance  FROM other_stats  WHERE team_abbreviation_away = 'WAS';	13226.0	other_stats	other_stats	other_stats
What is the total points in the paint by the Milwaukee Bucks away?	SELECT SUM(pts_paint_away) as total_pts_paint  FROM other_stats  WHERE team_abbreviation_away = 'MIL';	39056.0	other_stats	other_stats	other_stats
How many times were games tied when the Minnesota Timberwolves played away?	SELECT SUM(times_tied) as total_times_tied  FROM other_stats  WHERE team_abbreviation_away = 'MIN';	5123.0	other_stats	other_stats	other_stats
What is the highest fast break points by the New York Knicks away?	SELECT MAX(pts_fb_away) as max_fb_points  FROM other_stats  WHERE team_abbreviation_away = 'NYK';	38.0	other_stats	other_stats	other_stats
What is the total points in the paint by the Dallas Mavericks at home?	SELECT SUM(pts_paint_home) as total_pts_paint  FROM other_stats  WHERE team_abbreviation_home = 'DAL';	37764.0	other_stats	other_stats	other_stats
How many lead changes occurred in games where the Denver Nuggets played away?	SELECT SUM(lead_changes) as total_lead_changes  FROM other_stats  WHERE team_abbreviation_away = 'DEN';	5828.0	other_stats	other_stats	other_stats
What is the highest second chance points by the Detroit Pistons at home?	SELECT MAX(pts_2nd_chance_home) as max_2nd_chance  FROM other_stats  WHERE team_abbreviation_home = 'DET';	32.0	other_stats	other_stats	other_stats
How many fast break points did the Golden State Warriors score away?	SELECT SUM(pts_fb_away) as total_fb_points  FROM other_stats  WHERE team_abbreviation_away = 'GSW';	15122.0	other_stats	other_stats	other_stats
What is the total points in the paint by the San Antonio Spurs away?	SELECT SUM(pts_paint_away) as total_pts_paint  FROM other_stats  WHERE team_abbreviation_away = 'SAS';	42884.0	other_stats	other_stats	other_stats
How many times were games tied when the Toronto Raptors played at home?	SELECT SUM(times_tied) as total_times_tied  FROM other_stats  WHERE team_abbreviation_home = 'TOR';	4685.0	other_stats	other_stats	other_stats
What is the highest fast break points by the Utah Jazz away?	SELECT MAX(pts_fb_away) as max_fb_points  FROM other_stats  WHERE team_abbreviation_away = 'UTA';	35.0	other_stats	other_stats	other_stats
What's the highest number of lead changes in any game involving the Miami Heat?	SELECT MAX(os.lead_changes)  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_abbreviation_home = 'MIA'  OR g.team_abbreviation_away = 'MIA';	33.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the total points in the paint by the Los Angeles Clippers away?	SELECT SUM(pts_paint_away) as total_pts_paint  FROM other_stats  WHERE team_abbreviation_away = 'LAC';	39516.0	other_stats	other_stats	other_stats
How many lead changes occurred in games where the Los Angeles Lakers played away?	SELECT SUM(lead_changes) as total_lead_changes  FROM other_stats  WHERE team_abbreviation_away = 'LAL';	6184.0	other_stats	other_stats	other_stats
What is the highest second chance points by the Miami Heat away?	SELECT MAX(pts_2nd_chance_away) as max_2nd_chance  FROM other_stats  WHERE team_abbreviation_away = 'MIA';	31.0	other_stats	other_stats	other_stats
How many fast break points did the Milwaukee Bucks score at home?	SELECT SUM(pts_fb_home) as total_fb_points  FROM other_stats  WHERE team_abbreviation_home = 'MIL';	13134.0	other_stats	other_stats	other_stats
What is the total fast break points by the Chicago Bulls at home in games they won in 1996?	SELECT SUM(os.pts_fb_home) as total_fb_points  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Chicago Bulls' AND g.wl_home = 'W' AND g.season_id = '21996';	487.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the total second chance points by the Detroit Pistons away in games they lost?	SELECT SUM(os.pts_2nd_chance_away) as total_2nd_chance  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_away = 'Detroit Pistons' AND g.wl_away = 'L';	7547.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the average points in the paint by the Houston Rockets at home in games they won?	SELECT AVG(os.pts_paint_home) as avg_pts_paint  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Houston Rockets' AND g.wl_home = 'W';	42.436	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
How many games did the Los Angeles Lakers win away with more than 20 points in the paint in 1996?	SELECT COUNT(*) as wins  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_away = 'Los Angeles Lakers' AND g.wl_away = 'W' AND os.pts_paint_away > 20 AND g.season_id = '21996';	21.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the total fast break points by the New York Knicks at home in games they lost?	SELECT SUM(os.pts_fb_home) as total_fb_points  FROM other_stats os JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'New York Knicks' AND g.wl_home = 'L';	4270.0	other_stats os JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the total second chance points by the Portland Trail Blazers away in games they won?	SELECT SUM(os.pts_2nd_chance_away) as total_2nd_chance  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_away = 'Portland Trail Blazers' AND g.wl_away = 'W';	5309.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
How many games did the Toronto Raptors play away with more than 20 points in the paint in 1996?	SELECT COUNT(*) as games  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_away = 'Toronto Raptors' AND os.pts_paint_away > 20 AND g.season_id = '21996';	35.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the total points in the paint by the Utah Jazz at home when they won?	SELECT SUM(os.pts_paint_home) as total_pts_paint  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Utah Jazz' AND g.wl_home = 'W';	27796.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the total fast break points by the Atlanta Hawks away in games they lost?	SELECT SUM(os.pts_fb_away) as total_fb_points  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_away = 'Atlanta Hawks' AND g.wl_away = 'L';	8378.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
How many games did the Cleveland Cavaliers lose away with more than 10 fast break points in 1996?	SELECT COUNT(*) as losses  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_away = 'Cleveland Cavaliers' AND g.wl_away = 'L' AND os.pts_fb_away > 10 AND g.season_id = '21996';	4.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the total second chance points by the Dallas Mavericks at home in games they lost?	SELECT SUM(os.pts_2nd_chance_home) as total_2nd_chance  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Dallas Mavericks' AND g.wl_home = 'L';	4478.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the average points in the paint by the Detroit Pistons at home when they won?	SELECT AVG(os.pts_paint_home) as avg_pts_paint  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Detroit Pistons' AND g.wl_home = 'W';	37.94	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
How many games did the Indiana Pacers win at home with more than 15 fast break points in 1996?	SELECT COUNT(*) as wins  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Indiana Pacers' AND g.wl_home = 'W' AND os.pts_fb_home > 15 AND g.season_id = '21996';	7.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
How many games did the Los Angeles Lakers lose at home with more than 10 second chance points in 1996?	SELECT COUNT(*) as losses  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Los Angeles Lakers' AND g.wl_home = 'L' AND os.pts_2nd_chance_home > 10 AND g.season_id = '21996';	4.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
How many games did the Sacramento Kings win at home with more than 20 points in the paint in 1996?	SELECT COUNT(*) as wins  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Sacramento Kings' AND g.wl_home = 'W' AND os.pts_paint_home > 20 AND g.season_id = '21996';	16.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the total second chance points by the San Antonio Spurs away in games they lost?	SELECT SUM(os.pts_2nd_chance_away) as total_2nd_chance  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_away = 'San Antonio Spurs' AND g.wl_away = 'L';	5810.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the average points in the paint by the Utah Jazz away when they won?	SELECT AVG(os.pts_paint_away) as avg_pts_paint  FROM other_stats os JOIN game g  ON os.game_id = g.game_id  WHERE g.team_name_away = 'Utah Jazz' AND g.wl_away = 'W';	42.48	other_stats os JOIN game g  ON os.game_id = g.game_id	other_stats	other_stats
How many games did the Toronto Raptors lose at home with more than 15 fast break points in 1996?	SELECT COUNT(*) as losses  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Toronto Raptors' AND g.wl_home = 'L' AND os.pts_fb_home > 15 AND g.season_id = '21996';	13.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
How many games did the Phoenix Suns lose away with more than 5 times tied in 1996?	SELECT COUNT(*) as losses  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_away = 'Phoenix Suns' AND g.wl_away = 'L' AND os.times_tied > 5 AND g.season_id = '21996';	10.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the total fast break points by the Philadelphia 76ers at home in games they won?	SELECT SUM(os.pts_fb_home) as total_fb_points  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Philadelphia 76ers' AND g.wl_home = 'W';	8025.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
How many games did the Milwaukee Bucks lose at home with more than 5 lead changes in 1996?	SELECT COUNT(*) as losses  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Milwaukee Bucks' AND g.wl_home = 'L' AND os.lead_changes > 5 AND g.season_id = '21996';	8.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the total points in the paint by the Miami Heat away when they won?	SELECT SUM(os.pts_paint_away) as total_pts_paint  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_away = 'Miami Heat' AND g.wl_away = 'W';		other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
How many games did the Cleveland Cavaliers play at home with more than 8 times tied in 1996?	SELECT COUNT(*) as games  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Cleveland Cavaliers' AND os.times_tied > 8 AND g.season_id = '21996';	5.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
How many games did the Golden State Warriors lose at home with more than 5 lead changes in 1996?	SELECT COUNT(*) as losses  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Golden State Warriors' AND g.wl_home = 'L' AND os.lead_changes > 5 AND g.season_id = '21996';	8.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
How many games did the Indiana Pacers lose at home with more than 10 fast break points in 1996?	SELECT COUNT(*) as losses  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Indiana Pacers' AND g.wl_home = 'L' AND os.pts_fb_home > 10 AND g.season_id = '21996';	12.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
How many games did the Orlando Magic play at home with more than 15 points in the paint in 1996?	SELECT COUNT(*) as games  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Orlando Magic' AND os.pts_paint_home > 15 AND g.season_id = '21996';	34.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
How many games did the Phoenix Suns win at home with more than 10 lead changes in 1996?	SELECT COUNT(*) as wins  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Phoenix Suns' AND g.wl_home = 'W' AND os.lead_changes > 10 AND g.season_id = '21996';	3.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
How many games did the Sacramento Kings lose away with more than 15 fast break points in 1996?	SELECT COUNT(*) as losses  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_away = 'Sacramento Kings' AND g.wl_away = 'L' AND os.pts_fb_away > 15 AND g.season_id = '21996';	10.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the total points off turnovers by the Charlotte Hornets away?	SELECT SUM(pts_off_to_away) as total_pts_off_to  FROM other_stats  WHERE team_abbreviation_away = 'CHA';	10441.0	other_stats	other_stats	other_stats
How many team turnovers did the Washington Wizards have at home?	SELECT SUM(team_turnovers_home) as total_team_turnovers  FROM other_stats  WHERE team_abbreviation_home = 'WAS';	526.0	other_stats	other_stats	other_stats
How many points in the paint did the Cleveland Cavaliers score at home in 1996?	SELECT SUM(os.pts_paint_home) as total_pts_paint  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Cleveland Cavaliers' AND g.season_id = '21996';	1136.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the largest lead the Phoenix Suns had away?	SELECT MAX(largest_lead_away) as max_lead  FROM other_stats  WHERE team_abbreviation_away = 'PHX';	47.0	other_stats	other_stats	other_stats
How many times were games tied when the Indiana Pacers played away?	SELECT SUM(times_tied) as total_times_tied  FROM other_stats  WHERE team_abbreviation_away = 'IND';	4910.0	other_stats	other_stats	other_stats
How many games did the San Antonio Spurs lose at home with more than 30 points in the paint in 1996?	SELECT COUNT(*) as losses  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'San Antonio Spurs' AND g.wl_home = 'L' AND os.pts_paint_home > 30 AND g.season_id = '21996';	22.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
How many games did the Toronto Raptors win at home with more than 15 fast break points in the 1996 season?	SELECT COUNT(*) as wins  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Toronto Raptors' AND g.wl_home = 'W' AND os.pts_fb_home > 15 AND g.season_id = '21996';	9.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What's the average points in the paint for the Boston Celtics in home games where they won by at least 10 points?	SELECT AVG(os.pts_paint_home) FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Boston Celtics'  AND g.plus_minus_home >= 10;	41.85	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What's the total second-chance points the Toronto Raptors scored in away losses during the 2019 season?	SELECT SUM(os.pts_2nd_chance_away)  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_away = 'Toronto Raptors'  AND g.wl_away = 'L'  AND g.season_id = '22019'; 	94.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What's the highest number of team turnovers the Detroit Pistons had in any home game during the 2018 season?	SELECT MAX(os.team_turnovers_home)  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.team_name_home = 'Detroit Pistons'  AND g.season_id = '22018'; 	3.0	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the largest lead the Miami Heat have had in any game?	SELECT MAX(largest_lead_home) AS largest_lead FROM other_stats WHERE team_abbreviation_home = 'MIA';	46	other_stats	other_stats	other_stats
What is the most fast break points the Chicago Bulls have scored in a single game?	SELECT MAX(pts_fb_home) AS max_fast_break_points FROM other_stats WHERE team_abbreviation_home = 'CHI';	37	other_stats	other_stats	other_stats
What is the total number of lead changes in all games played by the Chicago Bulls in the 2010 season?	SELECT SUM(os.lead_changes) AS total_lead_changes FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.season_id = '22010' AND (g.team_abbreviation_home = 'CHI' OR g.team_abbreviation_away = 'CHI');	470	other_stats os JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
How many fast-break points did the Miami Heat score in away games during the 2015 season?	SELECT SUM(os.pts_fb_away) AS total_fast_break_points FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.season_id = '22015' AND g.team_abbreviation_away = 'MIA';	472	other_stats os JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
Which team had the largest lead in a single game in the 2001 season?	SELECT g.team_name_home AS team, os.largest_lead_home AS lead FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.season_id = '22001' ORDER BY os.largest_lead_home DESC LIMIT 1;	Portland Trail Blazers|47	other_stats os JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
How many times were games tied during the 1998 season in which the Boston Celtics played?	SELECT SUM(os.times_tied) AS total_times_tied FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.season_id = '21998' AND (g.team_abbreviation_home = 'BOS' OR g.team_abbreviation_away = 'BOS');	172	other_stats os JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
In the 2019 season, how many total points off turnovers did the Brooklyn Nets score in home games?	SELECT SUM(os.pts_off_to_home) AS total_points_off_turnovers FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.season_id = '22019' AND g.team_abbreviation_home = 'BKN';	518	other_stats os JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
How many total turnovers did the San Antonio Spurs commit in away games during the 2014 season?	SELECT SUM(os.total_turnovers_away) AS total_turnovers FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.season_id = '22014' AND g.team_abbreviation_away = 'SAS';	462	other_stats os JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
How many total times were games tied in the 2006 season?	SELECT SUM(os.times_tied) AS total_times_tied FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.season_id = '22006';	5352	other_stats os JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What was the average number of second-chance points per game in the 2015 season?	SELECT AVG(os.pts_2nd_chance_home + os.pts_2nd_chance_away) AS avg_second_chance_points FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.season_id = '22015';	25.4900849858357	other_stats os JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the total number of points in the paint scored by both teams combined in the 2008 season?	SELECT SUM(os.pts_paint_home + os.pts_paint_away) AS total_paint_points FROM other_stats os JOIN game g ON os.game_id = g.game_id WHERE g.season_id = '22008';	81148	other_stats os JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What was the largest lead the Golden State Warriors had in any game in the 2018 season?	SELECT MAX(other_stats.largest_lead_home)   FROM other_stats   JOIN game ON other_stats.game_id = game.game_id   WHERE game.team_abbreviation_home = 'GSW'   AND game.season_id = '22018';	44	other_stats   JOIN game ON other_stats.game_id = game.game_id	other_stats	other_stats
What is the highest number of times the Orlando Magic have tied a game in the 2008 season?	SELECT MAX(other_stats.times_tied)   FROM other_stats   JOIN game ON other_stats.game_id = game.game_id   WHERE game.team_abbreviation_home = 'ORL'   AND game.season_id = '22008';	15	other_stats   JOIN game ON other_stats.game_id = game.game_id	other_stats	other_stats
Which team forced the most turnovers in a single game during the 2016 season?	SELECT game.team_name_home AS team, MAX(other_stats.total_turnovers_away) AS forced_turnovers   FROM other_stats   JOIN game ON other_stats.game_id = game.game_id   WHERE game.season_id = '22016'   UNION   SELECT game.team_name_away AS team, MAX(other_stats.total_turnovers_home) AS forced_turnovers   FROM other_stats   JOIN game ON other_stats.game_id = game.game_id   WHERE game.season_id = '22016'   ORDER BY forced_turnovers DESC   LIMIT 1;	Houston Rockets|28	other_stats   JOIN game ON other_stats.game_id = game.game_id	other_stats	other_stats
What is the average number of fast break points the New York Knicks scored per game in the 2018 season?	SELECT AVG(pts_fb_home)  FROM other_stats  WHERE team_abbreviation_home = 'NYK'  AND game_id IN (SELECT game_id FROM game WHERE season_id = '22018');	11.8648648648649	other_stats	other_stats	other_stats
Find the game where the Brooklyn Nets had the largest lead at home in the 2013 season.	SELECT game_id, largest_lead_home  FROM other_stats  WHERE team_abbreviation_home = 'BKN'  AND game_id IN (SELECT game_id FROM game WHERE season_id = '22013')  ORDER BY largest_lead_home DESC  LIMIT 1;	0021300866|38	other_stats	other_stats	other_stats
How many lead changes were there in games where the Oklahoma City Thunder played at home in the 2009 season?	SELECT SUM(lead_changes)  FROM other_stats  WHERE team_abbreviation_home = 'OKC'  AND game_id IN (SELECT game_id FROM game WHERE season_id = '22009');	191	other_stats	other_stats	other_stats
Which game had the most lead changes in the 2003 season? 	SELECT g.game_id, g.team_name_home, g.team_name_away, os.lead_changes  FROM other_stats os  JOIN game g ON os.game_id = g.game_id  WHERE g.season_id = '22003'  ORDER BY os.lead_changes DESC  LIMIT 1;	0020300151|Seattle SuperSonics|Miami Heat|29	other_stats os  JOIN game g ON os.game_id = g.game_id	other_stats	other_stats
What is the total number of fast break points scored by the Memphis Grizzlies at home during the 2005 season?	SELECT SUM(pts_fb_home)  FROM other_stats  WHERE game_id IN (      SELECT game_id      FROM game      WHERE team_name_home = 'Memphis Grizzlies'        AND season_id = '22005' );	368	other_stats	other_stats	other_stats
What was the largest lead the Oklahoma City Thunder had in a single game in the 2020 season?	SELECT MAX(largest_lead) AS max_lead FROM (     SELECT largest_lead_home AS largest_lead      FROM other_stats      WHERE team_abbreviation_home = 'OKC'      AND game_id IN (SELECT game_id FROM game WHERE season_id = '22020')     UNION ALL     SELECT largest_lead_away AS largest_lead      FROM other_stats      WHERE team_abbreviation_away = 'OKC'      AND game_id IN (SELECT game_id FROM game WHERE season_id = '22020') );	30	(     SELECT largest_lead_home AS largest_lead      FROM other_stats	other_stats	other_stats
How many total fast break points did the Indiana Pacers have during the 2015 season?	SELECT SUM(pts_fb) AS total_fast_break_points FROM (     SELECT pts_fb_home AS pts_fb      FROM other_stats      WHERE team_abbreviation_home = 'IND'      AND game_id IN (SELECT game_id FROM game WHERE season_id = '22015')     UNION ALL     SELECT pts_fb_away AS pts_fb      FROM other_stats      WHERE team_abbreviation_away = 'IND'      AND game_id IN (SELECT game_id FROM game WHERE season_id = '22015') );	904	(     SELECT pts_fb_home AS pts_fb      FROM other_stats	other_stats	other_stats
How many total lead changes occurred in all Memphis Grizzlies games during the 2018 season?	SELECT SUM(lead_changes) AS total_lead_changes FROM other_stats WHERE game_id IN (     SELECT game_id FROM game      WHERE season_id = '22018'      AND (team_abbreviation_home = 'MEM' OR team_abbreviation_away = 'MEM') );	496	other_stats	other_stats	other_stats
How many total lead changes occurred in all New York Knicks games during the 2006 season?	SELECT SUM(lead_changes) AS total_lead_changes FROM other_stats WHERE game_id IN (     SELECT game_id FROM game      WHERE season_id = '22006'      AND (team_abbreviation_home = 'NYK' OR team_abbreviation_away = 'NYK') );	358	other_stats	other_stats	other_stats
Which game had the most lead changes in the 2020 season?	SELECT game_id, lead_changes  FROM other_stats  WHERE game_id IN (     SELECT game_id      FROM game      WHERE season_id = '22020' )  ORDER BY lead_changes DESC  LIMIT 1;	0022000890|26	other_stats	other_stats	other_stats
What was the largest lead the Chicago Bulls have ever had in a home game?	SELECT MAX(largest_lead_home)   FROM other_stats   WHERE team_abbreviation_home = 'CHI';	47	other_stats	other_stats	other_stats
What is the most fast break points the Brooklyn Nets have scored at home in a game?	SELECT MAX(pts_fb_home)   FROM other_stats   WHERE team_abbreviation_home = 'BKN';	38	other_stats	other_stats	other_stats
What is the most fast-break points the Houston Rockets have ever scored in an away game?	SELECT MAX(pts_fb_away)   FROM other_stats   WHERE team_abbreviation_away = 'HOU';	34	other_stats	other_stats	other_stats
What is the most points in the paint the Milwaukee Bucks have ever scored in an away game?	SELECT MAX(pts_paint_away)   FROM other_stats   WHERE team_abbreviation_away = 'MIL';	86	other_stats	other_stats	other_stats
What is the largest lead the Boston Celtics have ever had in a game?	SELECT MAX(largest_lead_home)  FROM other_stats  WHERE team_abbreviation_home = 'BOS';	60	other_stats	other_stats	other_stats
What is the most second-chance points the Chicago Bulls have scored in a home game?	SELECT MAX(pts_2nd_chance_home)  FROM other_stats  WHERE team_abbreviation_home = 'CHI';	34	other_stats	other_stats	other_stats
How many fast break points did the Toronto Raptors score on the road in total during the 2002 season?	SELECT SUM(pts_fb_away)  FROM other_stats  WHERE game_id IN (     SELECT game_id      FROM game      WHERE team_abbreviation_away = 'TOR'      AND season_id = '22002' );	465	other_stats	other_stats	other_stats
What is the largest lead the Miami Heat have had in a game at home?	SELECT MAX(largest_lead_home)  FROM other_stats  WHERE team_abbreviation_home = 'MIA';	46	other_stats	other_stats	other_stats
What is the highest number of fast break points the Houston Rockets have scored in a home game?	SELECT MAX(pts_fb_home)  FROM other_stats  WHERE team_abbreviation_home = 'HOU';	37	other_stats	other_stats	other_stats
In how many home games did the Minnesota Timberwolves score more fast-break points than their opponent?	SELECT COUNT(*)  FROM other_stats  WHERE team_abbreviation_home = 'MIN'  AND pts_fb_home > pts_fb_away;	374	other_stats	other_stats	other_stats
What is the most turnovers the Philadelphia 76ers have committed in a home game?	SELECT MAX(total_turnovers_home)  FROM other_stats  WHERE team_abbreviation_home = 'PHI';	30	other_stats	other_stats	other_stats
What is the largest lead the New York Knicks have ever had in an away game?	SELECT MAX(largest_lead_away)  FROM other_stats  WHERE team_abbreviation_away = 'NYK';	48	other_stats	other_stats	other_stats
How many lead changes were there in the closest away game the San Antonio Spurs played in the 2005 season?	SELECT lead_changes  FROM other_stats  WHERE game_id IN (     SELECT game_id      FROM game      WHERE season_id = '22005'      AND team_abbreviation_away = 'SAS'     ORDER BY ABS(pts_home - pts_away) ASC      LIMIT 1 );	26	other_stats	other_stats	other_stats
In how many away games did the Orlando Magic score more fast-break points than their opponent?	SELECT COUNT(*)  FROM other_stats  WHERE team_abbreviation_away = 'ORL'  AND pts_fb_away > pts_fb_home;	417	other_stats	other_stats	other_stats
What is the most turnovers the Brooklyn Nets have committed in an away game?	SELECT MAX(total_turnovers_away)  FROM other_stats  WHERE team_abbreviation_away = 'BKN';	29	other_stats	other_stats	other_stats
What was the largest lead the Golden State Warriors had in a game during the 2018 season?	SELECT MAX(other_stats.largest_lead_home)  FROM other_stats  JOIN game ON other_stats.game_id = game.game_id  WHERE game.team_name_home = 'Golden State Warriors'  AND game.season_id = '22018';	44	other_stats  JOIN game ON other_stats.game_id = game.game_id	other_stats	other_stats
Which team had the most fast break points in a single home game during the 2020 season?	SELECT team_name_home, MAX(pts_fb_home)  FROM other_stats  JOIN game ON other_stats.game_id = game.game_id  WHERE game.season_id = '22020';	Houston Rockets|35	other_stats  JOIN game ON other_stats.game_id = game.game_id	other_stats	other_stats