and CMN_SEC_USERS.ID = SRM_RESOURCES.USER_ID is the join
(need to take some care with that, since if you have always set up users at the same time as resources (and/or never created a non-labour resource) then from your data it might look like the join is CMN_SEC_USERS.ID = SRM_RESOURCES.ID, but it isn't!)