Menu

Suppose we have a dataset as follows:

DISTINCT will return only unique value. For Number, it’s 1 and 2. For Name, it’s a, b, and c.

But if we want unique combinations, this code will do the trick.