Single-Valued vs Multivalued Attributes

TIME : 2016-01-08
Single-Valued vs Multivalued Attributes

The difference comes down to how many values an attribute can hold for one entity.

Single-valued attribute

An attribute that stores exactly one value for a given entity. A person's name or roll number are typical examples — one entity, one entry.

Multivalued attribute

An attribute that can hold several values for the same entity. A person's degrees are a good case: someone might hold a PhD and an MCA at the same time.

In a relational schema, multivalued attributes can't be represented by a single column, so they're normalised out into a separate table with a foreign key back to the entity. That's the practical reason the distinction matters when you're designing a database.