Their magic number to clinch the division is four.Kershaw, an 18-year veteran who on Thursday announced his retirement effective at the end of the season, gave up two runs on four hits with four walks. He departed to a standing ovation and emerged from the dugout for a curtain call.Los Angeles right-hander Edgardo Henriquez (2-1) relieved Kershaw and went 1 1/3 innings with three strikeouts for the win. The Dodgers pulled even in the second inning on a home run from Miguel Rojas, his seventh.A Wilmer Florez RBI single put the Giants up 2-1 in the third.The Dodgers took charge in the fifth when Andy Pages singled and Enrique Hernandez walked with one out. With two out, Ohtani lifted a three-run home run to the opposite field in left, his 52nd, for a 4-2 lead. Betts followed on Ray's next pitch with a home run to left-center, his 20th.Pages had an RBI double in the sixth to give Los Angeles a 6-2 lead before Matt Chapman got the run back for San Francisco with a seventh-inning single.--Field Level Media