The San Francisco Giants beat the New York Mets, 3 to 2, on July 18.