try this:
${SQL:select case when ${nodeid} in (select nodeid from vim_virtualmachines) then 'VIRTUAL' else 'PHYSICAL' end from nodes}
Loop1 Systems: SolarWinds Training and Professional Services
- LinkedIN: Loop1 Systems
- Facebook: Loop1 Systems
- Twitter: @Loop1Systems