Geraldo Perdomo delivered a two-run single with two outs in the eighth inning as the Arizona Diamondbacks overcame a three-run deficit to post a 6-5 victory over the Arizona Diamondbacks on Friday night at Phoenix.Daulton Varsho homered and Josh Rojas had a two-run double for the Diamondbacks, who won for just the second time in the past seven games.Randal Grichuk went 3-for-4 with a homer, Elehuris Montero had two hits and two RBIs, and Yonathan Daza had two hits and drove in one as the Rockies lost for the 13th time in their last 17 games.Colorado’s Alex Colome (2-5) retired the first hitter in the eighth before Jake McCarthy singled to left and moved to third on Emmanuel Rivera’s double into the left-field corner. Carson Kelly bounced out to third before Perdomo sent a two-run single to right center that cleared the leap of Rockies second baseman Brendan Rodgers.Chris Devenski (1-0) gave up one hit and struck out three in the eighth for the Diamondbacks, and Ian Kennedy pitched a perfect ninth for his sixth save.Colorado’s German Marquez allowed two runs and four hits over six innings. He struck out three and walked three.Arizona’s Madison Bumgarner gave up five runs (four earned) and 10 hits over 5 2/3 innings. He struck out two and walked one.The Rockies scored three runs in the sixth to take a 5-2 lead. Daza’s single to center accounted for one run, and Montero delivered a two-run single to left later in the inning.