This query requires all four elements that you are looking for:
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 inner join SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceId = SMS_R_System.ResourceId where SMS_R_System.OperatingSystemNameandVersion like "%workstation 5.1%" and SMS_G_System_SYSTEM.SystemType like "%x64%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like "%Adaptable 1.3%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like "%Adaptable 2.3%"
This query requires 3 of the four elements in that it looks for XP - 64 - and either Adaptable 1.3 or Adaptable 2.3
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 inner join SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_R_System.OperatingSystemNameandVersion like "%workstation 5.1%" and SMS_G_System_SYSTEM.SystemType like "%x64%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like "%Adaptable 1.3%" or SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like "%Adaptable 2.3%"