Have a table with some data with different variants of names. Select variants of data from table and group by its own data in Postgres. Select the only distinct name and sel