% Get two copies of the onHand column tOnHand := project onHand(part); tOnHandCopy(onHand1) := tOnHand; % Cross product the two copies of onHand and find all values that are NOT the min onHandNotMin := project onHand (select onHand > onHand1 (tOnHand product tOnHandCopy)); % Get the differnce to be left with only the minimum onHandMin := tOnHand difference onHandNotMin; % Get description that matches min onHand answer := project onHand, description(onHandMin njoin part);