Professional Documents
Culture Documents
DB Assignment
DB Assignment
DB Assignment
a. entity type
b. entity-relationship model
a logical representation of the data for an organization or for a business area, using entities for
categories of data and relationships for associations between entities
c. entity instance
d. attribute
e. relationship type
f. identifier
An attribute (or combination of attributes) whose value distinguishes instances of an entity type
g. multivalued attribute
An attribute that may take on more than one value for a given entity (or relationship) instance
h. associative entity
An entity type that associates the instances of one or more entity types and contains attributes that are
peculiar to the relationship between those entity instances.
i. cardinality constraint
A rule that specifies the number of instances of one entity that can (or must) be associated with each
instance of another entity
j. weak entity
k. identifying relationship
l. derived attribute
a. Stored attribute refers to an attribute that is stored directly in the database, while derived attribute
is an attribute that is derived from other attributes in the database and is not explicitly stored.
b. A simple attribute is an attribute that cannot be divided any further, while a composite attribute is
an attribute that can be divided into sub-attributes.
c. Entity type refers to an object or concept in the real world that is represented by a table in a
database, while relationship type refers to the association or connection between two or more entity
types in a database.
d. A strong entity type is an entity type that can be uniquely identified by its own attributes, while a
weak entity type is an entity type that cannot be uniquely identified by its own attributes and
depends on a relationship with another entity type.
e. Degree refers to the number of entity types or tables involved in a relationship, while cardinality
refers to the number of instances of one entity type that can be associated with a single instance of
another entity type in a relationship.
f. Required attribute is an attribute that must have a value, while optional attribute is an attribute
that may or may not have a value.
g. A composite attribute is an attribute that can be divided into sub-attributes, while a multivalued
attribute is an attribute that can have multiple values for a single instance.
h. A ternary relationship is a relationship that involves three entity types or tables, while three binary
relationships involve three pairs of entity types or tables, each with their own relationship.