Update selectFittingItems.sql

Working version with comments for explanation.