In a one-to-many relationship, which entity holds the foreign key?
- Both entities
- It depends on the database design
- Many entities
- One entity randomly chosen
In a one-to-many relationship, the entity on the "many" side holds the foreign key. This key establishes the link between the two tables, allowing the "many" side to reference the primary key of the "one" side.
Loading...
Related Quiz
- Which type of database is commonly associated with document-based modeling?
- A _______ query language is commonly used for graph traversal and manipulation in graph databases.
- Scenario: An e-commerce platform processes orders and handles inventory management. What steps would you implement to enforce data integrity in this system?
- What does cardinality signify in the context of entity relationships?
- What are the different types of indexing methods available in modern database systems?