ST. LOUIS -- Andrew Miller loaded the bases with a hit batter, followed with a tying four-pitch walk, then threw a wild pitch that put Cincinnati ahead in a three-run seventh inning as the Reds kept up their slim playoff hopes with a 10-5 win over the St. Louis Cardinals on Sunday.
St. Louis, second in the NL Central at 20-20, dropped four games behind the division-leading Chicago Cubs (28-20) with two weeks left. The fourth-place Reds are 21-26 and also trail Milwaukee (20-24) .
The Cardinals led 5-3 before Nick Castellanos' RBI single in the sixth off Alex Reyes.
"That was one of my favorite games I've been a part of, really," Reds manager David Bell said. "So many guys on this team really stepped up and came back and got a really important comeback win."
Mike Moustakas drew a one-out walk in the seventh, and John Gant (0-3) relieved and allowed Tyler Stephenson's single. With a 1-0 count to Brian Goodwin, athletic trainer Adam Olsen came to the mound, and Gant was removed due to groin discomfort.
Miller hit pinch-hitter Aristides Aquino with a 1-2 pitch, then walked Freddy Galvis on four pitches as the tying run came home. Miller started Jose Garcia with an inside slider in the dirt that got by Gold Glove catcher Yadier Molina as Tyler Stephenson scored for a 6-5 lead. Garcia followed with an RBI groundout.
"To score runs like that, that's what we want," Reds third baseman Eugenio Suarez said, "We don't want to throw away the situation like that."
Suarez hit his team-leading 13th home run in the eighth off Jake Woodford, and Aquino added a two-run homer in the ninth against Nabil Crismatt, Aquino's first home run since he hit his 19th of last season on Sept 29.
Archie Bradley (2-0) pitched two hitless innings for his first win since he was acquired from Arizona on Aug. 31. Raisel Iglesias pitched around a walk in two hitless innings for his seventh save in nine chances.
"We have a chance to make a run here," Bradley said. "The numbers may not be great. There's a lot of teams ahead of us, things like that, but I believe, I know the guys in there believe, and today was a big showing for that."
Tyler Mahle allowed three runs, four hits and four walks, throwing 77 pitches in 2 2/3 innings.
Carlos Martinez allowed three runs and six hits in four innings and struck out eight in his longest outing since pitching 4 2/3 innings against Colorado on July 30, 2018.
"I think you can see clearly today that when we play clean, effective baseball, we win," Cardinals manager Mike Shildt said. "If we don't execute and give away opportunities, we put ourselves in a compromising spot."
Brian Goodwin homered in the second. Run-scoring singles by Matt Carpenter and Harrison Bader built a 5-3 lead in the fifth.
Bader made a backhand diving catch in left-center to rob Castellanos of an extra-base hit leading off the eighth.
Reds: RHP Sonny Gray was placed on the 10-day IL with a right mid-back strain. Gray had allowed 11 runs in four innings over his previous two outings.
Cardinals: OF Austin Dean was removed from the game at the start of the fifth inning with right elbow discomfort. Tyler O'Neill replaced him in left field.
Reds: RHPs Trevor Bauer (4-3, 1.74) and Anthony DeSclafani (1-2, 7.20) are to start for Cincinnati in a doubleheader to open a four-game, three-day home series versus Pittsburgh.
Cardinals: LHP Kwang Hyun Kim (2-0, 0.83) faces Brewers RHP Corbin Burnes (3-0, 1.99) in game one of a doubleheader at Milwaukee to start a 13-game, nine-day trip. RHP Daniel Ponce de Leon (0-3, 7.47) will be recalled from the club's alternate training site to start game two.