You are on page 1of 13

Data Modelling

Introduction – 2
Attributes and Keys
Data Modelling
Introduction

Data Modelling
Attributes
Data Modelling
Attribute:
- an individual data item Attribute
- relates to a single entity
Tutor
Name
• An item of data that relates to
and describes an entity / class.
• Represents – want the business
needs to hold about each.

Course
Title

Assignment
Date
Lecture
Location
Data Modelling

Attributes - Student
• Student Name
• Postal Address
• Email Address

Course Title Student Name • Date Of Birth


Description Address
Duration Email
Attributes - Course:

Level Date Of Birth • Course Title


• Description
• Duration
• Level
Data Modelling
Introduction

Data Modelling
Instances and Keys
Data Modelling

Entity / Class – Instance - Student:


Jane • Student Name
Williams
• Postal Address
• Email Address
Steve • Date Of Birth
Smith

Will
Jones
Data Modelling

Entity / Class – Instance - Student:


• Student Name
• Postal Address
• Email Address
• Date Of Birth
Data Modelling

Instance – Student –
- Problem:
• 10 x Steve Smith
• 3 x Jane Williams
• 5 x Will Jones
• ……
Data Modelling

Key:
• Special attribute
• Unique identifier
• Numeric (usually)
Course Number Student Number
• System generated
Course Title Student Name
Description Address In standard notation
Duration Email keys are shown underlined ….
Level Date Of Birth
Data Modelling

Key:
Subject Code Tutor Number
• Special attribute
Subject Area Name Tutor Name
• Unique identifier
• Numeric (usually)
• System generated

In standard notation
keys are shown underlined ….

Lecture Number Assignment No.


Lecture Title Assignment Name
Data Modelling
Introduction

Summary & Conclusion


Data Modelling

In this session you have learned:


• Entity / Object Class
• Attribute

Coming next ....


learn more about You now understand first
data modelling .... two basic concepts in
Data Modelling.

how to analyse
the connections
between business
data.
THANK YOU!
If you have any questions ….
get in touch.

You might also like