TSQL Challenge 22 - Filling balls into boxes based on rules and preferences
This challenge is related to Filling balls into boxes based on rules and preferences.
http://beyondrelational.com/puzzles/challenges/26/filling-balls-into-boxes-based-on-rules-and-preferences.aspx