select SMS_R_SYSTEM.ResourceID 
from SMS_R_System 
inner join SMS_G_System_INSTALLED_SOFTWARE on SMS_G_System_INSTALLED_SOFTWARE.ResourceId = SMS_R_System.ResourceId 
where SMS_G_System_INSTALLED_SOFTWARE.SoftwareCode = "{AC76BA86-1033-FFFF-7760-BC15014EA700}"