SAN FRANCISCO (AP) — Jesús Rodríguez hit an RBI single in the 12th inning and the San Francisco Giants rallied from a pair of two-run deficits to beat the Pittsburgh Pirates 7-6. The Giants loaded the bases against Justin Lawrence when Matt Chapman hit a double that only advanced automatic runner Heliot Ramos to third, and Drew Gilbert was intentionally walked. Rodríguez followed with a single to right to give the struggling Giants just their third win in the last 12 games. Oneil Cruz and Konnor Griffin homered for the Pirates.