1/23
Looks like no tags are added yet.
cardinality
maxima and minima of relationships and attributes
relationship maximum
greatest number of instances of one entity that can relate to a single instance of another entity
singular related entity
maximum is one
plural related entity
maximum is zero
relationship minimum
least number of instances of one entity that can relate to a single instance of another entity
optional related entity
minimum is zero
required related entity
minimum is one
attribute maximum
greatest number of attribute values that can describe each entity instance (one, singular or many, plural)
attribute minimum
least number of attribute values that can describe each entity instance (zero, optional or one, required)
unique attribute
has at most one entity instance for each attribute value
rule
true or false statement about data
relational rule
based on relational database theory and applies to all relational databases
business rule
based on business policy and is specific to a particular database
action
specifies how to correct invalid data
identifying attribute
unique, singular, and required
strong entity
has one or more identifying attributes
weak entity
has an identifying relationship to an identifying entity
subtype entity
subset of the supertype entity
similar entities
entities that have many common attributes and relationships
partition
a group of mutually exclusive subtype entities
partition attribute
indicates which subtype entity is associated with each supertype instance
IsA relationship
supertype entity identifies its subtype entities
logical design
entities become tables, relationships become foreign keys, and attributes become columns, cardinality is implemented as constraints, business rules are implemented as data types, and derived attributes are implemented as generated columns/view tables/triggers/functions
primary keys must be
unique and required (and should also be stable, simple, and meaningless)