We're sunsetting PodQuest on 2025-07-28. Thank you for your support!
Export Podcast Subscriptions
cover of episode Database Relationships – One to Many

Database Relationships – One to Many

2013/12/12
logo of podcast How to Program with Java Podcast

How to Program with Java Podcast

Shownotes Transcript

We’ve talked about relational databases) already, and we’ve learned why this type of database management really dovetails with the object oriented programming model. So now I want to dive into the specifics when it comes to relationships. What are the different types of relationships in SQL? There are three types of relationships you can have in SQL, they are:

  • One-to-Many
  • One-to-One
  • Many-to-Many

In this episode we are going to be focusing on the One-to-Many relationship as it’s the most commonly used in my opinion.