Show role codes for all employees.
select role_code from employees
Count the number of employees for each of them.
select role_code, count(*) from employees group by role_code
Which of them have at least 3?
select role_code from employees group by role_code having count(*) >= 3