What I want to create is a table in a database for employees in a company.
Each employee has a unique identifier ID and a name. Each employee also has a list of skills, the skills are represented as a string (i.e. "Cashier", "Manager", etc.).
Multiple employees can have the same skill, for example, John is a Cashier and a Manager and Bob is also a Cashier.
I thought of two ways to represent this using an ERD:
Using a multi valued attribute connected to the Employee entity: https://i.sstatic.net/bioKt.png
Using a weak entity with the following cardinalities: https://i.sstatic.net/NDoid.png
Using a multi valued attribute connected to the Employee entity:
- Using a weak entity with the following cardinalities:
What i'mI'm asking is, are these two implementations the same, cardinality and all?