Database Design Flashcards
Database design begins with blank for the database.
verbal or written requirements
Requirements are formalized as a blank and then implemented in SQL.
an entity-relationship model
An entity-relationship model is a high-level representation of blank, ignoring implementation details.
Data requirements
An entity-relationship model guides blank in a particular database system, such as MySQL.
Implementation
An entity-relationship model includes what three kinds of objects:
Entity
Relationship
Attribute
An blank is a person, place, product, concept, or activity.
Entity
A blank is a statement about two entities.
Relationship
An blank is a descriptive property of an entity.
Attribute
A relationship is usually a statement about two different entities, but the two entities may be the same. A blank relates an entity to itself.
Reflexive relationship
When the model is implemented in SQL, entities typically become blank. Relationships and attributes typically become blank and blank, respectively.
Tables
Foreign keys
Columns
some relationships and attributes become tables. Since the conversion is indirect, requirements are documented as blank, blank, and blank rather than tables, keys, and columns.
entities, relationships, and attributes
Attribute is used in both entity-relationship and relational models. In the relational model, attribute is a formal term for blank
Column
An blank commonly called an ER diagram, is a schematic picture of entities, relationships, and attributes.
entity-relationship diagram
Entities are drawn as blank
Rectabgles
Relationships are drawn as blank connecting rectangles
Lines
Attributes appear as blank within an entity rectangle, under the entity name.
Additional text
Blank and blank always appear in ER diagrams. Blank are optional and only appear when additional detail is needed.
Entities and relationships
Attributes
A blank, also known as a data dictionary or repository, documents additional detail in text format.
Glossary
A glossary includes blank, blank, and blank of entities, relationships, and attributes.
names, synonyms, and descriptions
The ER diagram and glossary are complementary and, together, completely describe an blank
entity-relationship model.
In entity-relationship modeling, a blank is a set:
Type
An blank is a set of things. Ex: All employees in a company.
Entity type
A blank is a set of related things. Ex: Employee-Manages-Department is a set of (employee, department) pairs, where the employee manages the department.
Relationship type
An blank is a set of values. Ex: All employee salaries.
Attribute set