Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Project information

There three projects and total time for the project given is 3 hours.

Project 1
Instruction: under this task you are expected to perform the following activities based on the
information provided.

Task 1: Database Normalization


1. The following table is not normalized. It contains information about student and course. write to
micrsoft Excel , save with ‘excel table’
Table 1

Studid Student name Course title


1 Abel Zeleke Maths,Physics
2 Raheal Mulugeta Biology,Chemistry
3 Derjie Amanuel ICT
4 Ahmed Hassen English

Answer
First Normal Form

Studid Student name Course title


1 Abel Zeleke Maths
1 Abel Zeleke Physics
2 Raheal Mulugeta Biology
2 Raheal Mulugeta Chemistry
3 Derjie Amanuel ICT
4 Ahmed Hassen English
Second Normal Form

Studid First name Last name Course title Fee Qualification Grade
1 Abel Zeleke Maths 400 diploma A
1 Abel Zeleke Physics 600 degree C
2 Raheal Mulugeta Biology 300 diploma B
2 Raheal Mulugeta Chemistry 500 degree A
3 Derjie Amanuel ICT 300 diploma B
4 Ahmed Hassen English 400 Advance diploma C
Student studentCourse course

Studid First name Last name Studid Course title Grade Course title Fee Qualification
1 Abel Zeleke 1 Maths A Maths 400 diploma
2 Raheal Mulugeta 1 Physics C Physics 600 degree
3 Derjie Amanuel 2 Biology B Biology 300 diploma
4 Ahmed Hassen 2 Chemistry A Chemistry 500 degree
3 ICT B ICT 300 diploma
4 English C English 400 Advance diploma

Third Normal Form

student

studentCourse
Studid First name Last name
course
1 Abel Zeleke
Studid Course title Grade
2 Raheal Mulugeta
1 Maths A
3 Derjie Amanuel
4 Ahmed Hassen 1 Physics CourseCtitle Fee Qualification teacher
2 Biology Maths B 400 diploma 1
2 ChemistryPhysicsA 600 degree 2
3 ICT BiologyB 300 diploma 3
4 English Chemistry
C 500 degree 4
ICT 300 diploma 5
English 400 Advance 6
diploma teacher
Teacher Id Teacher name
1 Eyasu
2 sina
3 Alemu
4 Dawit
5 Hagos
6 Aster

2. Import the above excel file to Microsoft access


3. Create relationships for the normalized tables on Ms Access database and fill records.
Project 2: create and manage database using sql server 2008

Consider the following employee statistics table for IBM database that is used to keep track of
employee’s statistics:

Task 1

1. Create the following table on Microsoft sql server 2008


2. Insert the given values
Table: Employee statistics

EmpId Fname BirthDate hiredDate sex Salary


1 Hana 2/6/1980 4/5/2005 F 2000
2 Biruk 3/6/2002 3/7/2000 M 3000
3 Melese 13/5/1960 1/3/1977 M 4500
4 Azeb 16/3/1979 9/3/1980 F 5000
5 Tewodros 8/7/1956 5/8/1990 M 6000

Task 2: generate different queries

1. Retrieve the name of all employees whose Fname is started with ‘B’
2. Write sql statements that displays EmpId and salary of employees
3. Display the average salary of female employees

Task 3: manage database access on ms sql server 2008

1. On IBM database create login account named by ‘ibmlog’ with


password=’1234’
2. Create user ‘ibmuser’ for previous login
3. Create role ‘ict’ and add the user to this role
4. Grant select and insert privilege to ‘ict’ role on employee table
5. Grant select privilege to ‘ict’ role on columns ‘Fname’ and ‘sex’ only
6. Deny insert from ict role

You might also like