Professional Documents
Culture Documents
Objects of documentation
Describe the computed elements – user notice – technical
notice
For the programmer
For the system designer
For the end-users
The department
STUDENT (N°, names, courses, address)
Efficiency
Each entry has the same number of elements
A component element can be easily extracted using its position
Example
The town value is always at the 4th position
The state value is always at the last position
The position can be in string functions or for the colon numbers in tables
degree
Create DEGREE and COURSE
PERSON TOWN
Number Town name
Last name State
First name Local government
Date of birth
PERSON TOWN
Number (1,n) Name
Last name Lives in Surface area
First name (1,1) State
Date of birth Local government
CLIENT ARTICLE
Number (1,m) Name
Last name Bought Unit price
First name (1,n) Quantity
Date
Date of birth
PERSON TOWN
Number (1,n) Name
Last name Lives in Surface area
First name (1,1) Stage
Date of birth Local government
Example
Amos, David
John, Olaoye
From domains
Name, Name
Example
First name, Last name
Reasons
Two people may have the same name
Two people may have the same first and last name
Example of questions
What are the courses associated with a degree ?
What are the courses taken by a student for a degree ?
What are the courses offered by a department ?
STUDENT (StudentN°, First name, Last name, Day of birth, Month of birth, Year of birth)
Example
SELECT Students N°, Student Name FROM Students
Join two tables : Students and Register
Select the n-uplets where Student N° in Register =
Student N° in Student
SELECT Student N°, Student Name FROM Students,
Register WHERE Degree Name = “Computer Science”