Hi Guys! How are you?
I need some help with the unique tool.
I have an example of my database, where billing account number is a ID for the customer, codigo_consulta is a id for a credit consult in the bank system and his score on that consult

My problem is, in my database i have some repeated id customers vinculated in repeated id consults and i must be only one billing account number and one codigo_consulta in the entire database and with de highest score possible.
But when I put a unique tool selecting either of any id, it will repeat or catch the lowest one. My target is to have an output like this.

Best regards
Joao