No National League team has more losses than the Houston Astros. No NL pitcher has more losses than J.A. Happ.

But the Astros completed a three-game sweep of the Pirates, capped by a dominating performance by Happ, in a 2-0 win Wednesday night at Minute Maid Park.

Through it all, it was tough to tell which team was the doormat of Major League Baseball and which was the onetime, feel-good story of 2011.

The Astros had at least two times as many hits as the Pirates in each of the three games. The Astros had 34 hits in the series. The Pirates had 34 strikeouts, 13 hits.

"We definitely could have hit the ball better," Garrett Jones said. "We have a better offense than we showed here. But you've got to tip your cap to them. They pitched a good, aggressive game."

Wednesday, it was Happ's turn to confound the Pirates, following Wandy Rodriguez's 13 strikeouts in the Astros' 16-strikeout performance Monday and Henry Sosa's second career win Tuesday.

Happ (5-15) pitched his first scoreless outing this season, striking out six in seven innings and allowing three hits.