Yao scored 31 points - eight in the extra periods - and Ron Artest added 26 to lead the Rockets to a 106-101 double-overtime victory Wednesday night against the Pistons, who played without injured stars Richard Hamilton (groin), Allen Iverson (back) and Rasheed Wallace (calf).
Aaron Brooks scored seven of his 14 points in the second extra period, helping the Rockets stay in third place in the Western Conference standings.
The Rockets opened the second overtime with a 10-0 run, with Yao scoring inside to put Houston up 102-92.
"I need to be more aggressive, I guess," Yao said. "I've been in this situation before. I think I need to do more for the team."
Brooks started the decisive spurt with a 3-pointer before Artest drove for two layups and Yao hit a mid-range turnaround.
"We did a good job of finishing up the game," said Brooks. "Yao did a good job. We got him the ball in the post at the end of the game and that was good."
"It's crazy how frustrating it is," said Stuckey. "I'm trying to be as aggressive as I can, but I just ran out of gas. We fought as hard as we could."
Afflalo sank a 3-pointer to end Detroit's drought in the second overtime and Walter Herrmann hit a free throw to pull the Pistons within six. After Artest missed a 3, Herrmann hit a 3 for Detroit with 28 seconds to go, cutting Houston's lead to 102-99.
Brooks went 4-for-4 from the free-throw line on the Rockets' next two possessions to finally secure the victory. The Rockets have won 13 of their last 15 home games and moved a half game ahead of Denver for third place overall in the West.
"We needed to win and we won, even though we didn't play very well the whole game," said Rockets forward Luis Scola, who had 14 points. "We hung in there, we fought."
Yao scored on four straight possessions to give Houston an 82-79 lead with less than two minutes left in the fourth quarter.
The Pistons did a solid job defending Yao for most of regulation, holding Houston's center to 14 points through three quarters. Yao did not attempt a free throw until there was 3:12 left in the fourth quarter.
The Rockets finally found ways to get him the ball and Yao did the rest.
"We had to go with what was working," Brooks said. "Yao was playing unbelievable. I wanted to get him in the key, where he is most effective."
The Pistons grabbed two offensive rebounds and Stuckey hit a running shot in the lane to cut the Rockets' lead to one. Artest missed a long jumper, and Stuckey's free throw with 56 seconds left tied the game at 82.
Scola lost the ball on a drive, and Herrmann rimmed out a 3-pointer at the buzzer to force overtime.
The Rockets built an 88-85 lead in the extra period before Stuckey sank two free throws with 1:29 left. Yao hit two free throws on Houston's next trip, but Stuckey's driving layup with 26 seconds left cut Houston's lead to 90-89.
Kyle Lowry made a free throw before Stuckey easily drove for another layup to tie it at 91. Artest missed an off-balance jumper as time expired in the first overtime.
The Rockets outscored Detroit 15-10 in the second extra period.
"We fought and gave ourselves a chance," McDyess said. "But at the end, it wasn't there for us."
The Rockets led 42-38 at halftime after shooting 50 percent (20 of 40) in the first half.
Detroit shot 31 percent (14 of 45) in the first half, but stayed close by going 9-for-12 from the free-throw line. The Rockets took only two free throws in the half and went 1-for-6 from 3-point range.
The Pistons rallied from five points down to take the lead in the third quarter. Afflalo sank a 3-pointer, McDyess scored twice inside and Detroit shot 58 percent in the quarter to take a 65-64 lead to the fourth.
Will Bynum drove past Lowry for two layups in the first minute to stretch Detroit's lead to five, its biggest of the game. Detroit led 79-75 in the fourth quarter before Yao took over inside.
|The Pistons fail to slow down Ron Artest, who posts 26 points in the Rockets' double-overtime win. (AP)|
|Houston (45-25) «||20||22||22||18||9||15||106|
|DET:A. Afflalo 24 Pts
DET:A. McDyess 20 Reb
DET:R. Stuckey 10 Ast
|HOU:Y. Ming 31 Pts
HOU:Y. Ming 15 Reb
HOU:S. Battier 5 Ast
|Players of the Game|
Majestic James Harden Rockets Player T-Shirt - Red Shop Now!
|T. Prince, SF||55||4-17||3-5||5||3||1||12|
|A. McDyess, PF||51||7-16||0-0||20||0||4||14|
|R. Stuckey, SG||50||8-25||5-7||5||10||3||21|
|A. Afflalo, SG||45||7-13||6-6||2||0||3||24|
|K. Brown, C||42||3-7||3-4||12||2||5||9|
|J. Maxiell, PF||19||2-5||1-2||3||0||1||5|
|W. Bynum, PG||18||5-12||0-0||1||2||3||10|
|W. Herrmann, SF||8||2-4||1-2||0||0||1||6|
|A. Johnson, SF||1||0-0||0-0||0||0||0||0|
|A. Iverson, SG||Did Not Play|
|R. Wallace, PF||Did Not Play|
|R. Hamilton, SG||Did Not Play|
|W. Sharpe, PF||Did Not Play|
|Complete Box Score|
|R. Artest, SF||47||11-24||3-4||4||2||0||26|
|L. Scola, PF||47||6-14||2-2||6||3||2||14|
|Y. Ming, C||45||13-22||5-6||15||2||4||31|
|S. Battier, SF||44||1-1||1-2||6||5||2||3|
|A. Brooks, PG||35||4-8||4-4||2||4||5||14|
|K. Lowry, SG||24||4-7||1-2||2||4||2||9|
|V. Wafer, SG||19||3-7||1-2||3||1||1||7|
|C. Hayes, PF||18||0-1||0-0||5||1||2||0|
|B. Barry, SG||6||1-2||0-0||1||1||0||2|
|D. Mutombo, C||4||0-0||0-0||1||0||1||0|
|T. McGrady, SG||Did Not Play|
|B. Cook, PF||Did Not Play|
|J. White, SG||Did Not Play|
|C. Landry, PF||Did Not Play|
|J. Dorsey, PF||Did Not Play|
|Complete Box Score|