Max Muncy hit a tying infield single in the ninth inning and pinch-hitter Mookie Betts singled home the winning run, helping the Los Angeles Dodgers edge the Arizona Diamondbacks 3-2.