RE: Unexpected results from a group by clause