W7 L2 - Data Modelling Flashcards
What is the goal of Data design and modelling
understand the data, what data is needed and not needed
What is an Entity?
An entity is any object in the system that we want to model and store information about. Entities are usually recognizable concepts, either concrete or abstract, such as person, places, things, or events which have relevance to the database. Some specific examples of entities are Employee, Student, Lecturer.
What is an Attribute?
An ERD attribute can be denoted as a primary key, which identifies a unique attribute, or a foreign key, which can be assigned to multiple attributes. The relationships between and among those entities.
What is a Relationship?
An Entity Relationship (ER) Diagram is a type of flowchart that illustrates how “entities” such as people, objects or concepts relate to each other within a system
What is a cardinality?
Cardinality refers to the uniqueness of data values contained in a column. High cardinality means that the column contains a large percentage of totally unique values. Low cardinality means that the column contains a lot of “repeats” in its data range.
Draw the cardinalities
Mandatory one
Optional one (zero or one)
Mandatory many (one, or more)
Optional many (zero, one, or more)