0% found this document useful (0 votes)
54 views11 pages

Labsheet1 Updated

This document provides an introduction to a lab manual on Oracle Application Express (APEX). The objectives are to understand basic database concepts, receive APEX and SQL accounts, log into APEX, load a provided SQL schema script, and distribute an APEX student guide. The document describes databases and tables, provides steps to log into APEX and load the SQL schema, and lists one activity for students to complete. The deliverables are to complete the activity, successfully log into APEX, and load the SQL schema.

Uploaded by

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

Labsheet1 Updated

This document provides an introduction to a lab manual on Oracle Application Express (APEX). The objectives are to understand basic database concepts, receive APEX and SQL accounts, log into APEX, load a provided SQL schema script, and distribute an APEX student guide. The document describes databases and tables, provides steps to log into APEX and load the SQL schema, and lists one activity for students to complete. The deliverables are to complete the activity, successfully log into APEX, and load the SQL schema.

Uploaded by

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

Kingdom of Saudi Arabia

Ministry of Higher Education


King Faisal University
College of Computer Sciences &
Information Technology

IS222 – DATABASE
CONCEPTS AND DESIGN
Lab Manual

Lab 1: Introduction to Oracle


Application Express

IS222
Table of Contents
LAB1: Introduction to Oracle Application Express...............................................................2
Objectives:.................................................................................................................................2
Tools/Software:.........................................................................................................................2
Concepts & Descriptions:............................................................................................................2
1) An Introduction to Database..............................................................................................................2
2) SQL Schema Sample...........................................................................................................................3
3) Oracle Application Express.................................................................................................................3
Deliverables:..............................................................................................................................8
Lab Activities:...........................................................................................................................10
Activity No. 1..............................................................................................................................................10
LAB1: Introduction to Oracle Application Express

Objectives:
After completing this lab, you will be able to:
- Understand general database concept
- Receive accounts for Application Express and SQL Schema
- Login to Application Express
- Load the schema script
- Distribute the APEX guide to students (Oracle Application Express Student Guide)

Tools/Software:
To accomplish this session, a student should have:
- A computer with internet connection
- Application Express account provided by the teacher
o The link that they need to visit are:
 https://iacademy.oracle.com (or use search engine and enter
“application express login”)

Concepts & Descriptions:


1) An Introduction to Database
Database is an organized collection of data. These data are divided into tables that consists
of columns/attributes which represent the elements of a table. Among the columns is a
primary key that identifies a unique row. A row is the set of real data that is contained in a
table.

For example, if KFU will create a database, the tables that it may want to keep are those
about students, teachers, and courses. The students table may contain columns such as
student ID, name, address, specialization, and GPA. Among these columns, the student ID is
the best primary key as every student has a unique one. One row in this table could be the
set of values 216141188, Ali AlOwa, Hofuf, Information Systems, and 4.8. See the table
students below.

There are different types of database but the focus in this course is the Relational Database.
Do Activity No. 1.
2) SQL Schema Sample

To get you ready with the different activities a sample SQL_SCHEMA.sql file will be
provided to you by your instructor. Remember where you placed it as we will get
back to it later. We will use “SQL Schema ERD and Table Designs” file in Lab 6.

3) Oracle Application Express


The Application Express (APEX) from Oracle permits developers to create applications. It has
three components: SQL Workshop, Application Builder, and Object Browser. Most of the
time, we will be using the SQL Workshop to use SQL statements. Follow the steps below to
be oriented with the system.

Step 1. Go to the link https://iacademy.oracle.com or use search engine, enter “application


express login”, and click the first link that appears. Login with your credentials.

Step 2. The first time you log, you will have to change your password which should be at
least 6 characters with a combination of letters, numeric and special characters.
Step 3. Remember the SQL_SCHEMA.sql file that you extracted from a zip file you
downloaded in the previous section? Make sure you know where it is located in
your computer. Click “SQL Workshop”.

Step 4. Click “SQL Scripts”.


Step 5. Click “Upload”.

Step 6. Click “Choose File” and browse to the location of SQL_SCHEMA.sql and select it. Add
a Script Name “SQL add all tables”. Leave “File Character Set” as default (Unicode
UTF-8), and click “Upload”.
Step 7. You will see the script listed. Along its line click the “Run” icon on the far right.

Step 8. Click “Run Now”.


Step 9. You are now in the “Manage Script Results” page. Click “View Results” icon on the
far right.

Don’t be alarmed if you see 38 errors because the DROP TABLE statement was used to
tables that didn’t exist yet. If after using the database for a while and you found the need to
run the script again to restore the tables, you will not see these errors anymore.

Step 10. Click the “SQL Workshop” tab.

Step 11. Click “Object Browser”.


Great job! You should now see all the tables that we will use most often in the entire course.
Can you count how many tables are there?

Deliverables:
At the end of this session, students are expected to:
- Complete the activity
- Login successfully to Apex.
- Have proof of successfully loading the SQL schema to your account.
Lab Activities:
Activity No. 1

1. What other tables do you think should KFU keep? Name at least three.

Courses Table, Departments Table, Enrollment Table

2. Select one of the tables you mentioned above and identify at least three columns.
Write them below.

Courses Table: This table can store information about the courses offered at KFU. It may
include columns such as course ID, course name, department, credits, and instructor.

3. Among the columns mentioned in No. 2, identify the primary key.

The course ID can serve as the primary key to uniquely identify each course.

You might also like