0 votes
in Sql by
List the different types of relationships in SQL.

1 Answer

0 votes
by

One-to-One - This can be defined as the relationship between two tables where each record in one table is associated with the maximum of one record in the other table.

One-to-Many & Many-to-One - This is the most commonly used relationship where a record in a table is associated with multiple records in the other table.

Many-to-Many - This is used in cases when multiple instances on both sides are needed for defining a relationship.

Self Referencing Relationships - This is used when a table needs to define a relationship with itself.

...