Oracle SQL Tutorial 6 - Relationships and Primary and Foreign Keys - Database Design Primer 3

This is the 6th video in your Oracle Database series. We are discussing database relationships which are a key feature of relational database management systems. We first discussed entities and attributes. I talked about how each entity is assigned a table and each attribute is a column within a table. We moved on to the three kinds of relationships. The first was one-to-one. This describes an entity and an attribute. A piece of data that is exclusive to an entity is, by definition, an attribute of that entity. This is stored in one table with the attribute being a column within this table. The second relationship is one-to-many. This relationship is between two entities. The third kind of relationship is a many-to-many relationship. In this situation, we need 3 tables. We finally discussed primary keys and foreign keys.
Back to Top