PHOENIX -- The Miami Marlins have had a forgettable season and will almost certainly barrel past the 100-loss mark before the end of September.
But for one night, their offense looked nearly unstoppable. Miguel Rojas said the Marlins will take all the good vibes they can get as they try to build toward a better season in 2020.
The 30-year-old Rojas had a career-high six RBI, including a crucial three-run double , and Miami rallied past the Arizona Diamondbacks 12-6 on Tuesday night.
"It's all about who wants to be here in this clubhouse and who wants to be part of what we're doing here in Miami," Rojas said. "It's a great opportunity for everybody to start playing for their job for next year."
The Marlins pounded 17 hits to beat Arizona for the fourth time in six tries this year.
The Diamondbacks led 4-2 after five innings. Left-hander Alex Young had a solid start, giving up two runs. Matt Andriese (5-5) came on in relief and gave up three runs -- all with two outs in the sixth -- when Rojas hit his bases-clearing double that barely stayed inside the left-field line.
The Marlins extended their lead to 10-4 in the seventh with five more runs. Miami sent nine batters to the plate during the rally, which was capped by Rojas' two-run single. Arizona's Jimmie Sherfy gave up all five runs without recording an out, and his ERA spiked from 2.51 to 5.65.
"It was good to get some offense going, score some runs," Miami manager Don Mattingly said. "You get late, and you're still not comfortable. So all the runs you can get, you feel good about getting."
Caleb Smith (9-10) got the win, giving up four runs over five innings. Bryan Holaday had three hits, including his fourth homer of the season. Rojas had three doubles -- in the third, sixth and ninth innings -- and finished with four hits.
"I don't really want to talk about me today," Rojas said. "It was a great team win. I couldn't be prouder of the guys, the way we played the game today."
Kevin Cron hit a pinch-hit, solo homer for the Diamondbacks. It was his sixth in the big leagues. He hit 39 homers in the minors this season, mostly at Triple-A Reno.
The Diamondbacks had 13 hits, but the team's relievers had a tough time getting outs.
"We just didn't make pitches," Arizona manager Torey Lovullo said. "We didn't execute a good game plan and we made mistakes in the middle of the zone. When pitchers make mistakes over the middle of the plate, big-league hitters will take advantage of that."
Christian Walker was hit by a pitch in the first inning. It was the 67th time that's happened to a Diamondbacks player this season, which tied a club record.
Marlins: Starting C Jorge Alfaro was hit on his non-throwing hand by Ildemaro Vargas' bat in the first inning. Alfaro stayed in the game for the rest of the inning, but was replaced by Holaday in the second. The Marlins called the injury a contusion and Mattingly said after the game that an X-ray was negative.
Diamondbacks: CF Ketel Marte left the game in the fifth inning with back stiffness. He was 2 for 2 with a double before the injury. Lovullo said Marte would have "precautionary MRI" on Wednesday. ... SS Nick Ahmed was scratched from the lineup a few hours before the game because of an injured finger on his throwing hand, which he hurt in Monday's game. He is day-to-day. ... RHP Luke Weaver (forearm tightness) threw a bullpen on Tuesday and Lovullo said Weaver might throw in a game before the end of the season on Sept. 29.
Marlins: Miami will start RHP Sandy Alcantara (5-13, 3.93) on Wednesday.
Diamondbacks: Arizona RHP Mike Leake (11-11, 4.39) will start. He's 2-1 with a 2.08 ERA over his last four starts.
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP-Sports
Yankees GM rappels building, gets fan's message on Gerrit Cole
Brian Cashman saw a message taped to a 10th-floor window while prepping for a festival in Connecticut. "Please sign Gerrit Cole," it said. The GM's response: "I'm open to do clearly whatever, as always, is important for the Yankees."
Rays' Blake Snell strongly reacts to Tommy Pham trade on Twitch
Rays pitcher Blake Snell acknowledged that he overreacted -- in a moment captured on Twitch and shared on social media -- to news that teammate Tommy Pham had been traded to San Diego.
What's next for the teams that lose the Gerrit Cole sweepstakes?
One team will land the best pitcher on the planet. The rest of his suitors? They'll have to scramble.
Source: Nationals agree to deal with World Series hero Howie Kendrick
Howie Kendrick, who capped the Nationals' improbable run to their first World Series title last season with a Game 7 home run, has reached an agreement on a one-year, $6.25 million deal to return to Washington, a source told ESPN's Jeff Passan on Friday.
Win-now Padres pay steep price for Tommy Pham
San Diego took another step toward contending in 2020 by adding the outfielder but shipped one of its best prospects to Tampa Bay in the process.
Nationals owner Mark Lerner says team can't keep both Stephen Strasburg and Anthony Rendon
Stephen Strasburg and Anthony Rendon were key components in the Nationals winning the franchise's first World Series title this year, but Mark Lerner, the team's principal owner, is already preparing to say goodbye to at least one of them in free agency.