Relational Database Flashcards
Table:
Collection of related data consisting of columns and rows (fields and records)
Database:
Method to structure and organize a collection of data
Field
Set of data values of a similar type, also known as a column
Record
Row of data in a database table consisting of a single value from each column of data within the table
Primary key
Uniquely specifies a row in a table
Foreign key
To develop a relationship between two tables, they will share a column called a foreign key which relates the two tables
Normalization
Syntax of CREATE DATABASE Statement (SQL DDL Commands)
Atomicity
This defines the elements that encompass a database transaction and guarantees that all of the transaction succeeds or none of it does. If part of the transaction fails, the entire transaction fails
Consistency
This defines rules for maintaining data in a correct state after a transaction. This includes constraints, cascades, and any rules.
Isolation
This ensures that effects of transactions are invisible to others. Essentially no transaction can be affected by another transaction
Durability
This ensures that data changes are permanent when a transaction is committed.