Yonder Alonso's two-run single in the seventh inning snapped a tie and helped the San Diego Padres beat the San Francisco Giants 6-4 on Sunday.
Mark Kotsay hit a home run and Yasmani Grandal also drove in a run for the Padres, who had lost four of their previous five games. Everth Cabrera had four hits, walked and stole three bases in five plate appearances.
Xavier Nady, who had two hits, Eli Whiteside, Emmanuel Burriss and Buster Posey each drove in runs for the Giants, who rested their regulars a day after clinching the NL West Division title.
Eric Stults (7-3) worked six-plus innings, allowing three runs on seven hits, to win his sixth in seven decisions. He struck out four and walked one.
Clay Hensley (4-4) took the loss after giving up Alonso's hit.