NTILE for decile segmentation combined with SUM() OVER (PARTITION BY) for share-of-total. Practice the concentration-curve pattern: segment a population by spend, then show what fraction of total spend each segment drives. Same shape powers Lorenz curves, customer concentration analysis, and any '80/20'-style report.