Mike Rockwell (Progress Software) asked a question.

Show devices with passive monitors assigned
  1. SELECT DISTINCT Device.nDeviceID
  2. FROM Device INNER JOIN
  3. PivotPassiveMonitorTypeToDevice ON Device.nDeviceID = PivotPassiveMonitorTypeToDevice.nDeviceID INNER JOIN
  4. PassiveMonitorType ON PivotPassiveMonitorTypeToDevice.nPassiveMonitorTypeID = PassiveMonitorType.nPassiveMonitorTypeID

This will show all devices which have passive monitors assigned