Before I go ahead and convert my entity relationship diagram into SQL statements, I thought I'd ask if someone could verify if this model doesn't contain any absurdities and anomalies that will appear once I have a SQL database schema.
I am particularly unsure about my cardinality of a relationship between Customer and VIP. Also, Supplier and CD relationship. start_date of the VIP entity - should it be a weak key? Are there any other potential weak keys besides the name attribute of the Song entity?
Legend
- Entity
- Attribute
- Weak Entity
- Relationship
- Identifying Relationship
- Cardinality Ratio
I've used the following websites as references to construct my diagram:
- http://en.wikipedia.org/wiki/File:ERD_Representation.svg
- http://en.wikipedia.org/wiki/Entity-relationship_model
- http://www.cse.ohio-state.edu/~gurari/course/cse670/cse670Ch2.xht
Software used to create the diagram: Dia (Linux)