What types of relationships exist between tables?
Model answer
One-to-one (user and profile), one-to-many (customer and orders, the most common), and many-to-many (students and courses), which needs a junction table holding both foreign keys.
Learn this topic
Keys and Table Design: Why Data Is Split Into Tables in the course SQL for Beginners: Learn Databases Step by Step.
Sign in to add your own answer.