SUB
This section contains reference documentation for the SUB function.
Difference between two values
SUB(col1, col2)
select homeRuns, baseOnBalls, SUB(homeRuns, baseOnBalls) AS total
from baseballStats
WHERE teamID = 'ML1'
AND yearID = 1956
AND playerName = 'Henry Louis'
homeRuns | baseOnBalls | total |
---|---|---|
26 | 37 | -11 |
Last modified 1yr ago