Sunteți pe pagina 1din 9

Table of Contents

Course Description 2

LAB 1 : INTRODUCTION TO ORACLE DATABASE 3

LAB 2 : LOADING DATA 10

LAB 3 : WORKING WITH DATABASE OBJECTS 20

LAB 4 : CREATING DATABASE OBJECTS USING 28


SQL
LAB 5 : MODIFYING DATABASE OBJECTS 38

LAB 6 : ACCESSING DATA 50

LAB 7 : MANIPULATING DATA I 62

LAB 8 : MANIPULATING DATA II 70

LAB 9 : CALCULATION FUNCTION IN SQL 75

1
Course Description

F3038 DATABASE SYSTEM

INSTRUCTIONAL DURATION : 15 WEEKS

CREDIT(S) : 3

PRE-REQUISITE(S) : NONE

SYNOPSIS

DATABASE SYSTEM course offers a comprehensive coverage of databases and the various
operations of data manipulation. This course covers how to design and develop normalized
databases and manipulate data using Structured Query Language (SQL).

LEARNING OUTCOMES

Upon completion of this course, students should be able to:

1. Describe the characteristics of database system.

2. Design the entity-relationship model for representing and designing databases.

3. Apply normalization techniques to design a database.

4. Discover the security issues, concurrency and recovery in database.

5. Create database using basic Structure Query Language.

2
LAB 1 : INTRODUCTION TO ORACLE
DATABASE
Learning Outcomes

By the end of this lab, students should be able to:


1. Creating a New Administration Account.
2. Creating a New Database User Account.

Theory/ Terminologies

Users access Oracle Database 10g Express Edition through database user accounts.
Some of these accounts are automatically created administrative accounts—accounts with
database administration privileges.
Log in with these accounts to create and manage other user accounts and to maintain
database security.

Activity 1A
The installation process creates an account named SYSTEM. This account is considered an
administrator account because it has DBA access.

Procedure :
Step 1: Open Oracle Database 10g Express Edition. Log in as the default administrator which
is Username = system and Password = oracle. (Note : Use password that you have enter during
installation).

3
Step 2: Click Login button.

Step 3: Click the Administration arrow.

4
Step 4: Click the Database Users arrow.

Step 5: To create a New Administrator, click Create User.

5
Step 6: Enter username = (enter your own name) , password = (enter oracle) and then press
Enter. Select Account Status = Unlocked. Tick DBA to allow you a administrator. Then click
Create button.

Step 7: Click logout after you have successfully created a database administrator account.

6
Note:
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________

Activity 1B
You can now log in with your administration account and create the necessary developer user
accounts. Your friend needs access to develop his/her portion of the application later, so you
will create a new account for your friend.

Procedure :
Step 1: Log in username and password you have created. Then click Login button.

7
Step 2: Click Administrator -> Database Users -> Create User arrow.

Step 3: Place username = don, password = oracle. Select Unlocked and do not tick DBA.
Then click Create.

8
Note:
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________

Lab exercise:

1. Can we change the DBA username?


_________________________________________________________________

2. List 4 icons being displayed on the Oracle Database 10g Express Edition.
i.
ii.
iii.
iv.

3. Explain steps required to create a new user.


___________________________________________________________________

___________________________________________________________________

___________________________________________________________________

___________________________________________________________________

___________________________________________________________________

CONCLUSION:
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________

S-ar putea să vă placă și