With Sabermetrics you’ll be able to do most anything from decide who was the greatest hitter of all time to analyze the probability that your team will win.
If you like videos like this tell google
More on Sabermetrics
I plan on covering many more Sabermetric formulas, but you can find mostly everyone of them in The Bill James Historical Baseball Abstract. He is credited with first publishing many of the formulas we will explore.
Code from the Video
LOAD SQL DUMP FILE (Shawn Lahman's Free BaseBall Database) mysql5 -u mysqladm -p < /Users/derekbanas/Downloads/lahman591.sql; SHOW DATABASES show databases; USE DATABASE use lahman591; HOW TO KILL A QUERY 1. Open a new Terminal 2. SHOW PROCESSLIST; 3. KILL QUERY id; SHOW TABLES AND DESCRIBE THEM SHOW TABLES; DESCRIBE Batting; # Using Table Named Batting TEAM NAME AND SALARY describe salaries; # Show salaries Table PROOF SABERMETRICS WORKED 2002 ATHLETICS 103 WINS SELECT s.yearID, s.teamID, SUM(s.salary) AS SALARY, t.W AS WINS, SALARY/t.W AS CPW FROM salaries s, teams t WHERE s.yearID = 2002 AND s.teamID = t.teamID AND s.yearID = t.yearID GROUP BY s.teamID ORDER BY SALARY DESC;