Working with Joins

From the Tables screen, you can add, edit, and view the table joins. A "join" is used to define a relationship between two tables in a database, thereby allowing the system to access fields in both tables. Joins are used throughout Cheetah Digital by Zeta to give you access to fields beyond just what's in the source table for whatever asset you're creating. For example, you can access fields in a joined table when you define a Filter, or create Personalization within a message.

Note: This feature is not available for Load and Send Tables.

A common example of a join is connecting a Customer table (which contains contact information about an individual) with an Order table (which contains purchase order information). This type of join is called a "one-to-many" join because one customer can make multiple purchases. You could further join the Order table to an Order Item table that contains the details of the items contained in each purchase.

Cheetah Digital by Zeta supports two different types of joins -- a "system join" (sometimes referred to as an "existing join") and a "property join."A "system join" is defined on the Table screen, and can be thought of as a more permanent join method, as these joins can't be deleted once defined. System joins are also faster than property joins. A property join is a "one-off" join method that's used in a specific context, such as creating Filter logic, and isn't saved. This topic focuses on how to create a system join.

Note: When creating a system join, it must be set up in the many-to-one direction. In the above example, you would select the Purchase table (the "many"), and create the join to the Customer table (the "one"), and not the other way around. Also, joins should be created only in one direction, not both.

Create a New System Join

Use these steps to create a new join from the Table details screen, allowing you to link another table and access its fields directly within the interface. You’ll define how the join is named, select the table to join, and optionally adjust indexing settings to control query performance.

View or Edit a System Join

Most of the information about a system join is locked and can't be modified once you save the new join. The only editing option available for a system join is its display name.

Activate / Deactivate System Joins

Cheetah Digital by Zeta doesn't allow you to permanently delete unwanted table joins; however, you can deactivate a join. An inactive joins still exists in the database, but you won't be able to select this join when working with an asset, such as a Filter. Inactive joins can also later be reactivated if you find that you need to begin using this join again.

Reorder System Joins

Cheetah Digital by Zeta allows you to rearrange the table joins into a custom sequence. This sequence is only for presentation purposes, as it controls how the joins are displayed within the table "views" throughout the platform, such as in the Personalization Pane. You can customize the join sequence so that the most-commonly used joins are at the top in order to make it easier to find and select those joins. For example, let's say you often use the "Order to Customer" join when creating Filters. You could rank this join first, which would cause it to display at the top of the list of Existing Joins within the Personalization Pane on the Filter screen.