You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM RegularSeasonDetailedResults WHERE Season >= 2014;
avg winning score
SELECT Wteam, avg(Wscore) FROM RegularSeasonDetailedResults WHERE Season >= 2014 GROUP BY Wteam
avg losing score
SELECT Lteam, avg(Lscore) FROM RegularSeasonDetailedResults WHERE Season >= 2014 GROUP BY Lteam
field goal percentage
SELECT ((CAST(Wfgm AS FLOAT))/(CAST (Wfga AS FLOAT))) AS Wfgp,((CAST(Lfgm AS FLOAT))/(CAST(Lfga AS FLOAT))) as Lfgp FROM RegularSeasonDetailedResults WHERE Season >= 2014;
winning field goal percentage
SELECT Wteam,AVG((CAST(Wfgm AS FLOAT))/(CAST (Wfga AS FLOAT))) AS Wfgp FROM RegularSeasonDetailedResults WHERE Season >= 2014 GROUP BY Wteam ORDER BY Wteam ASC;
losing field gaol percentage
SELECT Lteam,AVG((CAST(Lfgm AS FLOAT))/(CAST (Lfga AS FLOAT))) AS Lfgp FROM RegularSeasonDetailedResults WHERE Season >= 2014 GROUP BY Wteam ORDER BY Lteam ASC;