Database
Maintains information about various types of inventory, transactions, employees, and warehouses
Database Management System
Creates, reads, updates, and deletes data in a database while controlling access and security
Relational Database Model
A type of database that stores its information in the form of logically related two dimensional tables
Data Model
The logical data structures that detail the relationships among data elements using graphics or pictures
Entity Relationship Diagram
A technique for documenting the relationships between entities in a database environment
Entity
Also called a table, stores information about a person, place, thing, transaction, or event
Attribute
Data elements associated with an entity
Composite Attribute
Can be divided into smaller sub parts, which represent more basic attributed that have their own meanings
Simple Attributes
Attributes that are not divisible into subparts
Single Valued Attribute
Means having only a single value of each attribute of an entity at any given time
Example of Single Valued Attribute
A Customer entity allows only one telephone number for each customer
Multi Valued Attribute
Means having the potential to contain more than one value for an attribute at any given time
Derived Attribute
If an attribute can be calculated using the value of another attribute
Stored Attribute
The attribute that is used to derive the attribute
Null Valued Attribute
Assigned to an attribute when no other value applied or when a value is unknown
Chen Model
Uses rectangles to represent entities. Attributes are expressed in ovals
One to One Relationship
A relationship between two entities in which an instance of entity A can be related to only one instance or entity B
One to Many Relationship
A relationship between two entities when 1 entity can have many relationships with another entity
Many to Many Relationship
A relationship between to entities in which an instance of entity A can be related to many instances of entity B
Relational Data Model cannot handle many to many relationships
It is limited to one to one and one to many relationships. Many to many relationships need to be replaced with a collection of one to many relationships. Relationships cannot have attributes
Composite Entities
Entities that exist to represent the relationship between to other entities
Cardinality
Expresses the specific number of entity occurrences associated with one occurrence of the related entity
Primary Key
A field that uniquely identifies a given entity in a table
Foreign Key
A primary key of one table that appears as an attribute in another file and acts to provide a logical relationship between the two files