¡GoConqr estrena diseño! Cuéntanos qué te parece.

Fichas

The Entity Relationship Model

SEZ McKelvey Inglés 9 fichas

Fichas del conjunto (9)

  1. 1What is an entity? What is its diagrammatic representation?-Any real thing/abstract notion that we recognise as a separate concern within the database.
    -Rectangle labelled by name of entity.
  2. 2What is a relationship? What is its diagrammatic representation?-Named association between two entity types, which has some meaning in the context of the database.
    -Labelled line connecting two entities
  3. 3What is the cardinality of a relationship? What is the diagrammatic representation of this?-The number of entity occurrences that are related to a single occurrences of an associated entity type through this relationship.
    Can be 1:1, 1:*, *:1, *:*.
    -Crows' foot, straight line for 1, 3 angled lines for many.
  4. 4How are primary keys represented diagramatically?Underlined.
  5. 5What is a simple attribute? What is a composite attribute?Simple: only has one single component
    Composite: has multiple components eg address
  6. 6What are single value, multivalued, and derived attributes?Single value: holds only one value
    Multivalued: can hold many values eg many phone numbers in an office
    Derived: derivable from value of related attribute eg age from DOB
  7. 7Separate entity or composite attribute?Better to have separate entity.
  8. 8How can you resolve many to many relationships? Why is this necessary?-Introduce a new entity and have a 1:* and *:1 relationship instead
    -This is because we cannot map FKs to PKs in a *:*.
  9. 9how do you construct a relational model from an ER model?-Resolve *:* relationships
    -Build relational tables from entities in ER diagram
    -Map FKs with primary keys.

Información

Descripción
Fichas sobre The Entity Relationship Model, creado por SEZ McKelvey el 06/04/2018.
Creado por
SEZ McKelvey
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?