Query
Template: /baseball/players/yearly-stats.cfm:74
Execution Time: 30.4 ms
Record Count: 8
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 = '9391' and proteam <> 'F/A' and proteam <> 'Ret'
group by substring(period,1,4),proteam,feeds.player
order by substring(period,1,4) asc
ptsRgmsRppgRtbRrbiRrunRsbRbbRcRb1Rb2RssRb3RoutRdhRdoublertriplerhrrproteamyear
1154562.75872332111005700001029Mia2013
2123492.51020461173111300460100625Mia2014
3191802.3875108243702202202443013310Mia2015
42561212.1157024146403713201672013702076Mia2016
53171312.419847217253560360101001035022513Mia2017
63571482.412162209457222903340297325216Mia2018
72291082.1203704116434112802158011628219Cin2019
850242.08333332689090630309005Tex2020
Mr. Sports

Derek Dietrich

Outfielder
Free Agent
Birthday: July 18, 1989   Age: 34
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
2013 Mia 154 56 2.75 10 2 9 87 23 32 1 11 0 0 57 0 0 0 0
2014 Mia 123 49 2.51 6 2 5 61 17 31 1 13 0 0 46 0 1 0 0
2015 Mia 191 80 2.39 13 3 10 108 24 37 0 22 0 2 2 0 24 43 0
2016 Mia 256 121 2.12 20 7 6 146 40 37 1 32 0 16 72 0 13 7 0
2017 Mia 317 131 2.42 22 5 13 172 53 56 0 36 0 10 10 0 103 5 0
2018 Mia 357 148 2.41 25 2 16 209 45 72 2 29 0 33 4 0 2 97 3
2019 Cin 229 108 2.12 8 2 19 116 43 41 1 28 0 21 58 0 1 16 2
2020 Tex 50 24 2.08 0 0 5 26 8 9 0 9 0 6 3 0 3 0 9