entities and attributes
TRANSCRIPT
EntitiesAn entity represents a person or an object, or something abstract.
AttributesEach entity has a set of attributes that describe examples or instances of that entity.
NotationThe entity name should be written in capital letters, and in singular. The attributes should follow in a bracketed list.
PersonPUPIL (candidate_number, forename, surname, dob, tutor_group)
ObjectCAR (registration_plate, make, model, colour)
AbstractDOCTOR APPOINTMENT (date, time, consultant, location)
DatabasesEntities and attributes are part of the data modelling process. When moving from data modelling to implementation:
Entities become tables in a databaseAttributes become fields in a database
PUPIL (candidate_number, forename, surname, dob, tutor group)
Pupil
DatabasesEntities and attributes are part of the data modelling process. When moving from data modelling to implementation:
Entities become tables in a databaseAttributes become fields in a database
CAR (registration_plate, make, model, colour)
Car