How to get distinct values of a field in strapi via REST API

I wanted to implement the SQL SELECT DISTINCT Statement

So, if I understand your suggestion correctly is not what I wanted, but thanks for your time!