Semantic Exception: line 3:45 DISTINCT on Different Columns not Supported 5