How to extract distinct group of associated records

Additional Information