Yes they are linked already. My request is: Give me the latest release for each one of these app ids. In SQL that can be done with a self-join I think