You can create an advanced relationship for database sources when the source object in the mapping is configured for multiple sources.
To create an advanced relationship, you add the primary source object in the
Objects and Relationships
table. Then you select fields and write the SQL statement that you want to use. Use an SQL statement that is valid for the source database. You can also add additional objects from the source.
You can also convert a custom relationship to an advanced relationship. To do this, create a custom relationship, and then select
Advanced Relationship
from the menu above the
Objects and Relationships
table. You can edit the relationship that
Data Integration
creates.
When you create an advanced relationship, the wizard converts any relationships that you defined to an SQL statement that you can edit.