SQL Databases - Relationships

#1

Welcome to the discussion about this lecture. Here you can ask questions or post feedback about this specific lecture.

1 Like

#2

you said each table needs to have a unique ID; doesn’t the Relationships table then also need one or is the unique key the combination of user and group? Thanks

1 Like

#3

You can give the relationship table an id column if you want. Some projects do it, but you don’t have to as the combination of foreign ids stored in the table are unique for each row which makes the id reduntant.

0 Likes