• I agree. The simplest way to deduplicate is using grouping and aggregate functions as needed.

    regards

    Áron