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

Learning Outcomes

By the end of this laboratory session, the students should be able to:
 Describe SQL commands
 Use SQL commands to create and maintain database structure

Laboratory Activity #2
Structured Query Language (SQL) Basic
Creating Table

1. Create table TB_GRADUATE_CANDIDATE with the following fields and attributes.

2. Confirm creation of the table using DESCRIBE statement.


Laboratory Activity #3
Structured Query Language (SQL) Basic
Creating Table
1. Create table TB_FACULTY with the following fields and attributes:

2. Confirm creation of the table using DESCRIBE statement.


Laboratory Activity #4
Structured Query Language (SQL) Basic
Creating Table/s

1. Create table TB_DEPARTMENT with the following fields and attributes:

2. Create table TB_EMPLOYEE with the following fields and attributes:

3. Confirm creation of the tables using DESCRIBE statement.


Laboratory Activity #5
Structured Query Language (SQL) Basic
Modify Table and Removing Table

1. Add the field in the TB_EMPLOYEE table:

2. Change the Emp_Lastname varchar2 (50) to length 60 of the TB_EMPLOYEE table.

3. Remove in the database the TB_EMPLOYEE table.

You might also like