ST. PETERSBURG, Fla. (620 WDAE) -- The Tampa Bay Rays saw a number of streaks come to an end Wednesday: their consecutive scoreless innings streak at 31, the St. Louis consecutive scoreless inning streak at 30, and most importantly, their three-game losing streak.

Tampa Bay used two-run singles by Matt Joyce and Desmond Jennings to turn around a 3-0 deficit en route to a 6-3 win over the Cardinals Wednesday.

St. Louis got out to a 2-0 lead in the third, as Matt Carpenter drew a leadoff walk from Erik Bedard, and moved to third three batters later on a double by Allen Craig.  Yadier Molina then singled into right field, allowing both runners to score.

The Cardinals added one more run in the top of the fourth, as John Jay and Mark Ellis led off with back-to-back singles.  Peter Bourjos bunted in to a fielder's choice, with Ellis being erased at second base, but Carpenter picked him up with a base hit to make it 3-0.

The Rays ended their scoreless streak in the bottom of the frame, as James Loney and Ben Zobrist eached singled with one out, and after David DeJesus flied out for the second out, Joyce singled to center to bring in Loney and, after Bourjos couldn't handle the ball cleanly, Zobrist to cut the deficit to a single run.

Yunel Escobar and Ryan Hanigan walked to load the bases, and Desmond Jennings gave Tampa Bay the lead with a base hit to make it 4-3, plating Joyce and Escobar.

The Rays added two more runs in the seventh, as Evan Longoria singled in Jennings, while a Loney sac fly brought in Kevin Kiermaier, who made a spectacular leaping catch earlier in the game to keep Tampa Bay in front.

The Rays have Thursday off before starting a three-game series in Houston Friday.