Derrick Rose scored 31 points, Christian Wood and Brandon Knight both added 19 and the Detroit Pistons snapped a seven-game losing streak by beating the Phoenix Suns 113-111 on Friday night.

The Pistons hadn't won since Feb. 5, when they beat Phoenix 116-108 in Detroit. They got the best of the Suns once again and picked up a road victory for the first time since Jan. 18.

It was also the first time Detroit won since dealing star center Andre Drummond to Cleveland at the trade deadline. The rebuilding Pistons leaned on the veteran combination of Rose and Knight in the fourth quarter to stop their skid.

Detroit Pistons forward Sekou Doumbouya (45) pulls down a rebound over Phoenix Suns forward Cameron Johnson (23) during the first half of an NBA game, Friday, Feb. 28, 2020, in Phoenix. (AP PhotoMatt York)

Detroit Pistons forward Sekou Doumbouya (45) pulls down a rebound over Phoenix Suns forward Cameron Johnson (23) during the first half of an NBA game, Friday, Feb. 28, 2020, in Phoenix. (AP PhotoMatt York)

The Pistons led 109-98 with 2:37 remaining but the Suns responded with nine straight points to make things interesting.

Detroit had the ball with a 113-111 lead and just 1.9 seconds left, but the Pistons threw a bad inbounds pass and the Suns grabbed the ball before calling a quick timeout. Devin Booker had a chance to win it for the Suns, but couldn't get a shot off before time expired.

Rose made two clutch baskets in the final minute to keep the Pistons ahead. Knight scored 11 points in the fourth quarter.

Detroit Pistons forward Christian Wood (35) drives past Phoenix Suns center Aron Baynes during the first half of an NBA game, Friday, Feb. 28, 2020, in Phoenix. (AP PhotoMatt York)

Detroit Pistons forward Christian Wood (35) drives past Phoenix Suns center Aron Baynes during the first half of an NBA game, Friday, Feb. 28, 2020, in Phoenix. (AP PhotoMatt York)

It was another frustrating loss for the Suns, who are running out of time to get back into contention for a Western Conference playoff spot. Booker led Phoenix with 26 points while Deandre Ayton added 20 points and 10 rebounds.

Phoenix had a 53-52 lead at halftime. Ayton led the Suns with 14 points on 7-of-7 shooting before the break. Rose had 12 points and Sviatoslav Mykhailiuk scored 11 for the Pistons.

TIP-INS

Phoenix Suns guard Jevon Carter, left, forward Dario Saric, right, battle with Detroit Pistons guard Brandon Knight for the loose ball during the first half of an NBA game, Friday, Feb. 28, 2020, in Phoenix. (AP PhotoMatt York)

Phoenix Suns guard Jevon Carter, left, forward Dario Saric, right, battle with Detroit Pistons guard Brandon Knight for the loose ball during the first half of an NBA game, Friday, Feb. 28, 2020, in Phoenix. (AP PhotoMatt York)

Pistons: G Bruce Brown didn't play for a second straight game because of left knee soreness.

Suns: Kelly Oubre Jr. missed his second straight game with a right knee injury, and coach Monty Williams is unsure when Oubre will return. He is the team's third-leading scorer, averaging 18.7 points per game. ... Rookie forward Cameron Johnson hit the floor hard in the first quarter and had to leave the game for X-rays, but returned in the second quarter.

UP NEXT

The Pistons wrap up their four-game road trip at Sacramento on Sunday.

The Suns host the Warriors on Saturday.

Follow David Brandt on Twitter: www.twitter.com/davidbrandtAP

More AP NBA: https://apnews.com/NBA and https://twitter.com/AP_Sports