I have created to query and it worked
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.NetbiosName not like "%P" and SMS_R_System.NetbiosName
not like "%T" and SMS_R_System.NetbiosName not like "%V" and SMS_R_System.NetbiosName not like "%M" and SMS_R_System.NetbiosName not like "%Base%"
Lucas Simoes Rezende MCP, MCTS , ITIL V3