0% found this document useful (0 votes)
5 views1 page

Database Normalization Exercise

Notes for information management

Uploaded by

crystaljhoyl
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Database Normalization Exercise

Notes for information management

Uploaded by

crystaljhoyl
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Database Normalization Exercise

CCIS Computer Laboratory 2 Usage Database

Scenario
The CCIS computer lab in-charge wants a structured and efficient
database to track computer usage by students, including which computers
they use, the lab assistants on duty, and session details. Below is an initial,
unnormalized table.

SessionID StudentID StudentName ComputerID LabID LabName LabAssistant AssistantPhone HoursLogged


1 101 Daryl CO01 L1 Lab1 Alexis 555-1234 2
2 102 Gabriel CO02 L2 Lab2 Masim 555-5678 3
3 103 Meldrix CO03 L1 Lab1 Alexis 555-1234 1
4 104 Joshua CO04 L2 Lab2 Masim 555-5678 4

ACTIVITY STEPS:

Step 1: Analyze for First Normal Form (1NF)


1. Identify Issues with Atomicity.
2. Transform to 1NF

Step 2: Convert to Second Normal Form (2NF)


1. Identify the Primary Key:
2. Examine Partial Dependencies
3. Transform to 2NF

Step 3: Convert to Third Normal Form (3NF)


1. Identify Transitive Dependencies
2. Remove Transitive Dependencies
3. Transform to 3NF

Query Activity: Write SQL queries to retrieve:


 The names of students who used Lab 1.
 The phone number of the lab assistant on duty for Lab 2.
 Total hours logged by each student.

You might also like