IDMS: Using SELECT across a many-to-many structure