I have a table, that contains employees. Since the company I\'m working for is quite big (>3k employees) It is only natural, that some of them have the same names. Now they
This can be easily done with a count over partition:
SELECT NAME, SURNAME, USERNAME, COUNT(*) OVER (PARTITION BY NAME, SURNAME) FROM YOUR_TABLE;