0

Need to find most occuring value when grouped by ID

EDIT : I grouped the names with ID, using this ID, it has a person name associated with it, each name has multiple cities, I need to pull a unique name with the most frequent city. Min and Max functions do not work I think.

I hope below table example is helpful.

Col_1  Col_2  
1        A       
1        B       
1        A       
2        D 
2        D
2        C  

I want result as

Col_1  Col_2  
1        A       
2        D
Dwight K
  • 11
  • 6

0 Answers0