Relational Database Flashcards
3 components of Relational Database
Data Structure
Data Manipulation
Data Integrity
Columns/fields
Attributes
Rows/tuples
Records
Data organized in the form of tables, rows and columns
Data Structure
Manipulate data in the relation usually through SQL
Data Manipulation
Facilities are included to specify business rules that maintain the integrity of data
Data Integrity
Relational Keys
Primary Key
Composite key
Foreign Key
Serves as a unique identifier for a particular record
Primary Key
Primary key that consists of more than one attributes
Composite Key
Attribute or fields that is used to refer to data contained in another relation (reference key).
Foreign Key
True or False:
Not all tables are relations
True
Logical structure of a database
Schema
Set of valid atomic values for a given attribute or field
Domain
An empty value
Null
Rules that apply to a particular relation
Specific Integrity Rules