Database Relationships – One to Many

How to Program with Java Podcast - A podcast by Trevor Page: Java Guru | Programmer | Teacher

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.