This can be achieved using master details report.
A great simple example can be found in the following video tutorial here:
Cognos 10 Training - Master Detail Report
The basic steps are:
- Create your master list and drag items into the list.
- Drag additional list as a new column of the master list. So it should look like this:
- Drag items to this list.
- Now, make sure both queries contains the data item you want to join on. This data item does not have to appear in the list/s, but it must be part of both queries.
- Select any item in the detail list and from the menu pick Data->Master Detail Relationships...
- Press the new link button and create the relationship between the 2 queries.
That's itm run the report and see the results.
A deeper documentation can be found on Cognos official documentation is here:
Create a Master Detail Relationship