Database Notes
Database Notes
Management System
Database
• Entity:
• When you build a database you are organising
data about entities. An entity is any item that has
its attributes stored as data. An entity could be
anything, eg a person, a book, a film, a country or
a football team.
• Attribute:
• Field:
• a field is a single column in a table that stores data.
A field is sometimes referred to as an attribute.
• Primary key:
• Primary key contains a unique identifier for each
record. To make each record in a database unique
we normally assign them a primary key.
• A primary key is (row) from another within a
database table. needed to provide a unique way to
identify one record