Database Reference
In-Depth Information
One to many
In this type of relationship, one record from an entity is related to more than one record in
another entity. In our bookstore application, we can have the
Publisher Book
table,
which would keep information about the topic and publisher relationship. Here, we can
have
Publisher Id
as the hash key and
Book Id
as the range key. The following
screenshot shows how a table structure would look: