Query
Template: /baseball/players/yearly-stats.cfm:74
Execution Time: 23.2 ms
Record Count: 12
Cached: No
Lazy: No
SQL:
SELECT ptsR=SUM(feeds.scored_points),
gmsR=SUM(feeds.games),
ppgR=(convert(real,SUM(feeds.scored_points)) / convert(real,SUM(feeds.games))),
tbR=SUM(feeds.total_bases),
rbiR=SUM(feeds.rbi),
runR=SUM(feeds.runs),
sbR=SUM(feeds.stolen_bases),
bbR=SUM(feeds.bb),
cR=SUM(feeds.c_games),
b1R=SUM(feeds.fb_games),
b2R=SUM(feeds.sb_games),
ssR=SUM(feeds.ss_games),
b3R=SUM(feeds.tb_games),
outR=SUM(feeds.of_games),
dhR=SUM(feeds.dh_games),
(select sum(dailystats.doubles) from dailystats where player=feeds.player and date like CONCAT(substring(feeds.period,1,4), '%')) as doubler,
(select sum(dailystats.triples) from dailystats where player=feeds.player and date like CONCAT(substring(feeds.period,1,4), '%')) as tripler,
(select sum(dailystats.hr) from dailystats where player=feeds.player and date like CONCAT(substring(feeds.period,1,4), '%')) as hrr,
proteam,year=substring(period,1,4)
from feeds
WHERE player = '9818' and proteam <> 'F/A' and proteam <> 'Ret'
group by substring(period,1,4),proteam,feeds.player
order by substring(period,1,4) asc
ptsRgmsRppgRtbRrbiRrunRsbRbbRcRb1Rb2RssRb3RoutRdhRdoublertriplerhrrproteamyear
1541.25202104000001000Det2014
22351042.259615415038310161080000001757Det2015
32251012.2277231234831023970000069112Det2016
42611052.4857142146493912610300000414213Det2017
512437400140000001608ChA2018
62181131.929203512735310251100000041608Det2018
73601163.10344842046062430106000001327118ChA2019
896303.25215201830000000307ChA2020
92411211.9917356133462913210760000112210NYN2021
1090541.666666643151831159100000602NYN2022
11139662.106060578262438592000071406Bal2023
1234162.12520770016000000401Bal2024
Mr. Sports

James McCann

Catcher
Baltimore Orioles
Birthday: June 13, 1990   Age: 33
Yearly Stats
General Info Hitting Breakdown Games by Position Breakdown
Year Proteam Points Games PPG Doubles Triples HR Total Bases RBI Run SB BB C 1B 2B SS 3B OF DH
2014 Det 5 4 1.25 0 0 0 2 0 2 1 0 4 0 0 0 0 0 1
2015 Det 235 104 2.26 17 5 7 150 38 31 0 16 108 0 0 0 0 0 0
2016 Det 225 101 2.23 9 1 12 123 48 31 0 23 97 0 0 0 0 0 6
2017 Det 261 105 2.49 14 2 13 146 49 39 1 26 103 0 0 0 0 0 4
2018 Det 12 4 3.00 16 0 8 7 4 0 0 1 4 0 0 0 0 0 0
ChA 218 113 1.93 16 0 8 127 35 31 0 25 110 0 0 0 0 0 4
2019 ChA 360 116 3.10 27 1 18 204 60 62 4 30 106 0 0 0 0 0 13
2020 ChA 96 30 3.20 3 0 7 52 15 20 1 8 30 0 0 0 0 0 0
2021 NYN 241 121 1.99 12 2 10 133 46 29 1 32 107 6 0 0 0 0 1
2022 NYN 90 54 1.67 6 0 2 43 15 18 3 11 59 1 0 0 0 0 0
2023 Bal 139 66 2.11 14 0 6 78 26 24 3 8 59 2 0 0 0 0 7
2024 Bal 34 16 2.13 4 0 1 20 7 7 0 0 16 0 0 0 0 0 0