TORONTO (AP) — DeMar DeRozan scored 28 points, Kyle Lowry added 19 and the Toronto Raptors snapped the San Antonio Spurs' four-game winning streak with a 97-94 victory on Wednesday night.

Luis Scola had 16 points and Toronto never trailed in handing San Antonio just its third loss in the last 18 games.

Manu Ginobili had 17 points off the bench for the Spurs, who also got 13 points from LaMarcus Aldridge.

Danny Green hit a 3-pointer following a timeout to make it a three-point game with 2:47 to play, but Bismack Biyombo threw down a dunk to restore the Raptors' five-point edge.

Kawhi Leonard's follow shot later narrowed the advantage to three, but Toronto was able to run out the clock.

GRIZZLIES 93, PISTONS 92

AUBURN HILLS, Mich. (AP) — Matt Barnes tossed in a desperation 3-pointer from just inside midcourt with 1.1 seconds left to lift Memphis over Detroit.

Marcus Morris missed a contested shot with 7 seconds left that could have clinched the game for the Pistons, and Andre Drummond's tip bounced off the rim.

The Grizzlies grabbed the ball and fired an outlet pass to Barnes. He let go a running, two-handed shot as he crossed halfcourt that went in, silencing the Palace crowd as players on the Memphis bench celebrated.

Morris missed another tough shot at the buzzer, and the Pistons lost their second straight following a four-game winning streak.

Zach Randolph led Memphis with 21 points and 16 rebounds, while Marc Gasol had 19 points and 12 rebounds.

Drummond had 18 points and 19 rebounds for the Pistons. Reggie Jackson added 18 points and seven assists.

CELTICS 105, BULLS 100

BOSTON (AP) — Isaiah Thomas scored nine of his 20 points in the final 3 minutes to lead Boston past Chicago.

Kelly Olynyk added 15 points, Jae Crowder and Evan Turner each had 13 and David Lee scored 12 for the Celtics, who had eight players in double figures and won for the fourth time in five games.

They host undefeated Golden State next on Friday.

Jimmy Butler led Chicago with a season-high 36 points, and Pau Gasol had his fifth straight double-double with 16 points and 15 rebounds. Derrick Rose added 12 points for the Bulls, who lost their third straight.

ROCKETS 109, WIZARDS 103

WASHINGTON (AP) — James Harden had 42 points, nine rebounds and seven assists in Houston's victory over Washington.

Harden scored 23 in the second half a day after he finished with a season-low 10 points in a loss at Brooklyn.

Corey Brewer added 15 points and Patrick Beverly had 14 to help Houston to its fourth win in five games.

John Wall had 26 points, 12 assists and nine rebounds for Washington. Marcin Gortat tied a season high with 18 points and grabbed 13 rebounds in his first game back after missing three for personal reasons.

With the game tied at 99, Harden stepped back to hit a 16-foot jumper over Bradley Beal, absorbed Beal's foul and hit a free throw to put Houston up by three with 2:13 left.

HORNETS 99, HEAT 81

CHARLOTTE, N.C. (AP) — Kemba Walker and Marvin Williams scored 18 points apiece to lead Charlotte past Miami for its third straight victory.

Tyler Johnson scored 20 for Miami, which had won three of four. Dwyane Wade and Gerald Green each added 11.

Nicolas Batum and Jeremy Lamb had 10 points apiece for the Hornets, who learned earlier in the day the NBA suspended injured center Al Jefferson for five games for violating the terms of the NBA/NBPA Anti-Drug Program.

Jefferson, out with a strained left calf, will begin to serve the suspension when he returns to action.

TIMBERWOLVES 123, LAKERS 122, OT

MINNEAPOLIS (AP) — Kevin Martin scored 37 points and Karl-Anthony Towns had 26 points and 14 rebounds to lift Minnesota over Los Angeles in overtime.

Martin went 6 for 9 from 3-point range and scored 17 in the fourth quarter to help the Timberwolves (9-12) improve to 3-9 at home. Towns made 11 of 19 shots and tied a career high for rebounds.

D'Angelo Russell scored a career-high 23 points and Julius Randle had 20 points and 12 rebounds for the Lakers (3-19) in what was likely Kobe Bryant's last game in Minnesota. Bryant scored 11 points on 5-for-13 shooting in 24 minutes.

The Lakers had a chance to win in overtime, but Russell and Roy Hibbert missed jumpers in the final 9.4 seconds.

CLIPPERS 109, BUCKS 95

MILWAUKEE (AP) — J.J. Redick scored a season-high 31 points and Los Angeles pulled away in the second half against Milwaukee.

Redick, who averaged 24 points in two games against the Bucks last season, once again tormented his former team, scoring 15 in the third quarter.

Blake Griffin had 21 points and 14 rebounds, and Chris Paul added 18 points and 18 assists for the Clippers, who won their third straight. DeAndre Jordan had 19 rebounds.

Michael Carter-Williams finished with 20 points and 11 assists for the Bucks.