select
    * 
from 
    SMS_R_System inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId
where
    SMS_G_System_COMPUTER_SYSTEM.Domain = “<domain name>”