Types of Relationships in Salesforce
1. Master-Detail Relationship:
A master-detail relationship in Salesforce establishes a parent-child relationship between two objects. The child record depends on the master record, and if the master record is deleted, all related child records are also deleted.
2. Lookup Relationship:
A lookup relationship links two objects together but does not have the same cascade delete behavior as the master-detail relationship. This relationship allows you to associate records between objects without the same level of dependency.
3. Many-to-Many Relationship:
A many-to-many relationship in Salesforce allows objects to be linked together in a many-to-many relationship, enabling you to associate multiple records from one object to multiple records from another object.
4. Hierarchical Relationship:
A hierarchical relationship in Salesforce is used for creating a hierarchy within a single object. This type of relationship is commonly used in organizations to represent reporting structures or groupings.
5. External Lookup Relationship:
An external lookup relationship allows Salesforce to link records to data stored in an external system outside of the Salesforce platform, enabling integration and data synchronization between systems.

Please login or Register to submit your answer