Michael DeFehr explains his winning solution to TSQL Challenge 14