SAN DIEGO -- It has been a while since the Colorado Rockies played a game like this one.
Yonder Alonso hit his 100th career homer during Colorado's four-run sixth inning and German Marquez pitched eight strong innings for the Rockies, who beat the San Diego Padres 8-3 Sunday to snap a five-game losing streak.
The Rockies won for just the seventh time in 26 games. They are 13-31 since June 21.
"That's how you win. You get good starting pitching and timely hitting," manager Bud Black said. "That's what happened today. Obviously, the goal is to make that happen tomorrow; good pitching and timely hitting, and we just haven't had that for the greater part of a month."
Marquez (11-5) gave up three runs and five hits, struck out nine and walked two. He also hit an RBI single in the sixth and had two sacrifice bunts.
"I thought German was outstanding," Black said. "Again, he found his breaking ball. I thought in the middle innings, about the fourth, fifth, sixth, really, really good breaking ball. They were swinging at the ball down below the zone, so that was telling me that out of the hand it was looking like a strike and it was diving down below the zone."
Marquez said his mindset was "to keep the ball down and go as far as I can."
The right-hander improved to 3-0 against San Diego this season and 7-3 on the road overall.
"He's especially tough away from Coors Field," Padres manager Andy Green said. "It's a four-pitch mix. He was comfortable today on the mound. He threw the ball well for them. We took some good swings off of him early and it took us a while to finally mount some decent at-bats later in the game."
Alonso, the brother-in-law of Padres slugger Manny Machado, homered to right with Charlie Blackmon aboard after a leadoff single. It was Alonso's second tying two-run shot in two games, his 10th homer overall this season and third with the Rockies.
"I'm just happy that we got a win," Alonso said. "A very important win, a win that kind of just cuts off that slide. Just a great job by Marquez."
San Diego rookie Fernando Tatis Jr. went 0 for 4 to end his 14-game hitting streak.
Lamet allowed three hits in five-plus innings. He struck out seven and walked three.
Naylor has played well since being recalled from Triple-A on Aug. 1, a day after outfielder Franmil Reyes was traded to Cleveland in a three-team deal.
"Seeing pitching every day, you get in a groove and you see the baseball more consistently," Naylor said. "You can read depths better, instead of coming off the bench."
Rockies: OF Yonathan Daza fouled a ball off his inner left ankle in the fourth and needed a few minutes to shake it off. He struck out and then left the game. Black said X-rays were negative. Daza was replaced by Desmond, who took over in left field while Raimel Tapia moved to center.
The Padres recalled Edwards from Triple-A El Paso and optioned right-hander Gerardo Reyes to their top farm club. Edwards was acquired from the Chicago Cubs in exchange for lefty Brad Wieck on July 31.
Rockies: RHP Peter Lambert (2-3, 6.87 ERA) is scheduled to start Monday night in the opener of a three-game home series against the Arizona Diamondbacks, who counter with RHP Merrill Kelly (7-12, 4.52 ERA).
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP-Sports
'They challenge each other': Walker Buehler and Clayton Kershaw look to pitch Dodgers into NLCS
The pair of L.A. aces are very different pitchers -- and people -- but they've bonded as teammates. Wednesday, they're expected to combine forces against the Nats in a winner-take-all Game 5.
Could the Black Sox scandal happen today?
One hundred years ago today, the White Sox lost the 1919 World Series, ushering in baseball's darkest hour. Is MLB gambling with its future by embracing betting now?
10 players from these MLB playoffs who could change teams this winter
Their October mission? Trying to win it all. Their hot stove objective? Getting paid. Here are the best fits for upcoming free agents impacting this postseason.
MLB Playoffs Daily: It's win-or-go-home time in both NLDS
What's better than one postseason game for all the marbles? Two postseason games for all the marbles on the same day, of course.
How the Rays forced the favored Astros into a do-or-die Game 5
Tampa Bay played giant killer in cutting down Justin Verlander, and while the wild-card Rays face another tall task, it's hard to bet against them.
Pham thanks himself for the hard work he put in without a dad
Tommy Pham says he's proud of himself because he believed in himself and never gave up on realizing his dream of playing baseball.