Diamondbacks pitcher Wade Miley took a loss Sunday, allowing six earned runs on eight hits and four walks in 4 1/3 innings while striking out four in his team's 8-3 defeat against the Rockies.

Miley (8-12) surrendered one run in the second inning and two more in the third before the Rockies pushed three more across in the fifth. It's the second time in three games he hasn't finished five innings, though those two outings are his only non-quality starts in his last eight games. Miley owns a 4.35 ERA and 177:72 K:BB ratio in 196 1/3 innings. He's scheduled to make his last start of the season Saturday against the Cardinals.