Flash Cards
Study for final exam
A process of transforming conceptual data model into logical data model such as relational data model
Logical Database Design.
Most commonly used in modern Database applications
Relational Data model ( or relational model)
Data are organized in the form of table with rows and columns
Data structure
Operation are made using SQL to manipulate data stored in the relations
Data manipulation
Facilities are included to specify business rules that maintain the integrity of data when they are manipulated.
Data integrity
A named, two dimensional table of data.
Relation
Consists of a set of named columns and an arbitrary number of unnamed rows.
Relation (or table)
Becomes a relation name
Entity type
Named column of a relation.
Attribute
Each ___ of a relation corresponds to a record that contains ____ values for a single ____.
Row(Tuple), data(attribute), entity(instance)
An attribute or combination of attributes that uniquely identifies each row in a relation
EMPLOYEE1(*Emp_ID,Name,Dept_Name,Salary)
Primary Key
A primary key that consists of more than one attribute
Composite Key
An attribute in a relation of a database that serves as the primary key of another relation in the same database
E.g. DEPARTMENT(Dept_name, Location,Tel_no)
EMPLOYEE1(Emp_ID, Name, ^Dept_Name,Salary)
Foreign Key
Not all tables are relations
True
each relation has a unique name
true
The value at the intersection of each row and column is atomic. No multivalued attributes are allowed.
True
Each row is unique. No two identical rows in a relation.
True
Each attribute or column within a table has a unique name.
True
The sequence of columns is insignificant
True
The sequence of rows is insignificant
True
Consists of any number of relations
Relational Database
a description of the overall logical structure of the database
Schema
Two common methods for expressing a schema
Short text statements, a graphical representation
Includes several types of constraints to maintain the accuracy and integrity of data in the database
Relational Data Model