0% found this document useful (1 vote)
307 views

Database Administration Level IV Practical Exam 4

The document describes 3 database administration projects: 1) Creating a student registration database in Excel and Access, normalizing the tables, and creating relationships. 2) Generating reports from an employee statistics database table in Access using SQL queries. 3) Configuring server authentication, creating logins and users, roles, and permissions on a SQL Server database.

Uploaded by

MJAR Programmer
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
307 views

Database Administration Level IV Practical Exam 4

The document describes 3 database administration projects: 1) Creating a student registration database in Excel and Access, normalizing the tables, and creating relationships. 2) Generating reports from an employee statistics database table in Access using SQL queries. 3) Configuring server authentication, creating logins and users, roles, and permissions on a SQL Server database.

Uploaded by

MJAR Programmer
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

January 2007 Database Administration Level IV

Project 1 data conversation and normalization


Time allowed 2:00 hr
The main tasks of the project
- Crate a table in Microsoft excel and save it
- Import table into Microsoft access database
- Normalize the table
- Create a relationship
Suppose you are a database administers in an ABC college and assigned to create a database that manages students
and courses information
1. Crate the following students and courses information on Microsoft excel by using table as it is indicated below
and save it by the name registration1
Student id First name Last name Corse id Corse title Credit hour
001 Abebe Mekuria 01 SQL 4
001 Abebe Mekuria 03 UBC 2
006 Lema Alemu 02 C++ 3
006 Lema Alemu 07 IP 2
008 Chane Kebede 01 SQL 8
010 Almez Saley 01 SQL 4
010 Almez Beley 05 PHP 5
010 Alemez Selay 06 java 4
014 Dereje Jemal 04 oracle 3
016 Alem Kebede 06 Cisco 4

2. Import the above table which is created in excel to Microsoft access database and save it as registration2
Normalize the imported table registration2 in its appropriate normal form and save the derived tables by
any name you like
3. Create a relationship for the normalize tables and save it by the name my relationship
Project: - 2 generating a report from a database
Time allowed 1:30 hr
The main task of projects
- Open Microsoft query analyses
- Write a SQL statement run and save it
1. Create a table and insert a records then save employstatisticstable
Employ id no salary benefits position
010 75000 15000 manager
105 65000 15000 manager
152 60000 15000 manager
215 50000 12500 manager
244 50000 12000 staff
300 45000 10000 staff
335 40000 10000 staff
400 32000 7500 Entry-level
441 28000 75000 Entry-level
\
2. Suppose you are a database administrator of the ABC Company. The manager of the company needs the list of
employees write a SQL statement using employstatisticstable of the ABC database that displays the list. The
report is expected to includes fields EmployeeIDNO, salary, benefits, position, execute and save the query by
the name emp1A, emp1B, emp1C, emp2A, emp2B, emp2C, emp2D, emp2E, emp2F respectively
A. The EmployeeIDNO’s of those making salary at or more over & 50,000
Select EmployeeIDNO from employstatisticstable where position = ‘manage’;
B. Display the id numbers of all managers
Select EmployeeIDNO from employstatisticstable where salary >= 50000;
C. Display all staff making salary over $40,000
Select EmployeeIDNO from employstatisticstable where salary>40000 AND position=’ staff’;

Page 1
D. All those who make salary less than $40,000 or have less than $10,000 in benefit listed together
Select EmployeeIDNO from employstatisticstable where salary<40000 OR benefit<10000;
E. Rows where the salary is greater than $60,000 and the position column is equal to manager or benefit column is
greater than $12,000
Select EmployeeIDNO from employstatisticstable where position=’ manager’ AND salary >60000;
F. List of employees making a large salary ($50,000)or have a large benefit package (&10,000)and that happen to
be a manager
Select EmployeeIDNO from employstatisticstable where position= manager AND (salary>50000 OR
benefits > 10000);
G. List of all managers and staff
Select EmployeeIDNO from employstatisticstable where position IN (’manager’, ‘staff’);
H. List of making greater than or equal to $30,000 but less than or equal to $50,000, use
Select EmployeeIDNO from employstatisticstable where salary between 30000 and 50000;
I. You wanted to see all people whose last names started with “S”
Select EmployeeIDNO from employstatisticstable where last name LIKE ‘$S’
Note that:
a. The query can be written is upper or lower cases
b. The query should be written is query analyzer window
Project 3: applying security an Microsoft database 2003 server
Time allotted /1:30 hr/
The main task of the project
- Changing the authentication method of the server
- Creating a login and database user account
- Creating a role
- giving a privilege to role
Perform the following administrative tasks on the ms-SQL server using enterprise manager
1. Configure the authentication method of the server to be mixed /SQL server & windows/
2. Create SQL login account by name OCACA and password QLSS
3. In the ABC database create a user called OCACA by the login account OCACA that is already created on
question 2
4. In the ABC database, create a role called EOS and add the user OCACA in this role
5. Deny ‘SELECT’ permission for the role EOS on the employeestatistics table
Note:
To check that this project is done correctly, any select command on the order table should not return a result and
an error massage having ‘SELECT’ permission denied an object “employeestatistics” will be displayed. For
example when you try
USE ABC
SELECT * from employeestatistics

Oral question
1. Suppose your system security and its other features have been changed due to policy change or user request
what are you going to do to make the end users know about the change?
- Giving training / orientation - Preparing a manual
2. Suppose your system or database performance is very slow what are the possible causes for this low
performance? - Low capacity of hard disk
- Low speed processor - Read / write speed of hard disk
- Low capacity of memory - virus
3. After you completed developing a system what are you going to do before implementing the system? Testing
the system
4. What are you going to do when you try to connect your database server, an error message “SQL server doesn’t
exist or access is denied” is displayed?
- Check whether the user name and / or password are written correctly
- Check whether the service is running
5. When you run SQL statement, the statement is not executed currently and an error message is displayed. What
are you going to do to solve this problem?
- Check syntax or spelling error on the written statement
- Check the existence of the database or objects of the database.

Page 2

You might also like