O GoConqr está de visual novo! Conte para nós o que você achou.

Flashcards

The Entity Relationship Model

SEZ McKelvey Inglês 9 flashcards

Flashcards do 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.

Informações

Descrição
FlashCards sobre The Entity Relationship Model, criado por SEZ McKelvey em 06-04-2018.
Criado por
SEZ McKelvey
Visualizações
0
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?