Conceptual data model END
Conceptual data model END
Entity relation
The diagram above indicates that students may have some relationship with
schools.
In this case, one can infer that a student may attend
a school, or that a school may enroll students.
FullName Char 50
Sex Char 10
Address Char 5
To change the size of data type of employee
“FullName” from default one (10) to 50 please
Click on Data type of required data (Full
Name)Editselect data type Length then write
number of sizeok
Also we can add columns as the below
procedures
To set primary key
Click on primary ID under categories
step- 3 Add related table and identify
cardinality ratios
Column name Data Size Constraints Key
type
DeptID Char 10 Not null Primary
key
DeptName Char 50
1.Insertion Anomaly
2.Update Anomaly
3.Deletion Anomaly
Insertion Anomaly
is not possible to insert a new
record into a table without including
additional, unrelated data.
occurs when a table has attributes
that are functionally dependent on
only a part of the primary key.
Update Anomaly
modifying data in a table leads to
inconsistencies or redundant updates
in other parts of the table.
happens when a table has
redundant data or dependencies
between non-key attributes.
Deletion Anomaly
occurs when removing data from a table
unintentionally removes other related
data that should have been preserved.
Happens when a table has dependencies
between attributes, and removing data
leads to the loss of other necessary data.
Normalization stages
1. 1NF - First normal form
2. 2NF - Second normal form
3. 3NF - Third normal form
3.5NF - Boyce Codd Normal Form (BCNF)
4. 4NF - Fourth normal form
5. 5NF - Fifth normal form
The Normal Forms
The database community has developed a series of guidelines
for ensuring that databases are normalized.
These are referred to as normal forms and are numbered from
one (the lowest form of normalization, referred to as First
normal form or 1NF) through five (fifth normal form or 5NF).
I.First normal form (1NF):Eliminating Repeating Groups.
In order to perform first normalization rule:
1. Eliminate duplicative columns from the same table.
2. Create separate tables for each group of related data and
identify each row with a unique column or set of columns
(theprimary key).
3. Eliminate composite attributes.
Example 1: Develop 1NF of the following table
Student Details Course Details Result details