Miles finished with 13 points for the Toreros (9-8, 2-0 West Coast), who snapped a six-game losing streak against San Francisco. Chris Anderson added 10 points and five assists.
San Diego hit 11 of 22 3-pointers, with most coming at key moments.
Two straight 3s by John Sinis started a 9-0 run that put the Toreros ahead 26-17. After San Diego took a 46-32 halftime lead, the Dons opened the second half on a 20-7 run to get within 53-52 on a 3-pointer by Derksen with 12:14 remaining.
Miles responded with back-to-back 3s for San Diego to build the lead back to seven, and the Toreros held on from there.
Who's your favorite rapper? You down with LeBron or Kobe? Josh Jackson, the Kansas-bound guard who was ranked No. 2 among high school players in the ESPN 100 last season, lets you know as he answers five quick questions for The Undefeated.
Leaving early for the NBA is a risky decision. Some players -- Skal Labissiere, Dejounte Murray -- slid in the draft. Some -- Isaiah Taylor, Troy Williams -- weren't drafted at all.
College basketball coaches across the country will hit the recruiting trail hard in July to target the Class of 2017's top prospects. Which players are the nation's top programs targeting?