Create relation.distinct