top of page


Database
Unit 10 Summary - part 1




What is Database?
Entities
are data in a database, such as employees, customers, objects, events, etc.
​
​
Tables
contain entities, example table 1 is about employees' data, table 2 is about employees' salary, table 3 is about employees' daily attendance.
​
​
Records
are data in rows.
​
​
Fields
are data in columns.









Primary Key
​
is a different/unique code for each record. This is very helpful if you have 2 employees/customers/students having the same name, so they are given different codes to distinguish them in the database.

Foreign Key
is a primary key from other tables, used to link tables.

Relational Database
a link between tables so you don't need to duplicate records, you just need to copy the primary key. The computer will look up the details using the primary key.



bottom of page
