Computer Programming (Oracle Database)
Computer Programming (Oracle Database)
COMPUTER PROGRAMMING
(ORACLE DATABASE)
Grade 11/12
Course Description:
This course focuses on Structured Query Language (SQL) and Programming Language (PL), equipping learners with the essential
knowledge and skills needed to build, implement, develop, test, and maintain computer programs while administering databases using
Oracle technology. Upon completion, learners are eligible to take assessments to National Certifications level III Programming (Oracle
Database), higher education, and careers in the computer programming industry.
Elective: Technical Professional
Prerequisite: None
Time Allotment: In Grade 11, 320 hours for two semesters, 8 hours per week/In Grade 12, 320 hours for one semester, 16 hours per
week
Schedule: First/Second Semester
QUARTER 1
CONTENT STANDARD The learners demonstrate an understanding of concepts and components of database management
systems and use of SQL basic syntax for data manipulation.
PERFORMANCE STANDARD The learners execute basic SQL syntax for data manipulation.
1. Discuss fundamental concepts and components of Oracle Database system Fundamental Concepts and Components of the
Oracle Database System
• Historical Context of Oracle Database
o overview and milestones of Oracle in
database technology
o key features and differences among
various Oracle versions
o career and business opportunities
• Database Management System (DBMS)
o introduction to DBMS and its
significance in data management
o roles of DBMS database administrator
o database
o definition
o types
o theoretical and physical aspects
• RDBMS (Relational Database Management
Systems) and ORDBMS (Object-Relational
Database Management Systems)
o definition and features of RDBMS and
ORDBMS
o differences between RDBMS and
ORDBMS
• The Data Model basic building blocks of
database
o fundamental components
▪ entities
▪ attributes
▪ relationships
o functions
• Database Design
o overview
o schema design
o normalization
• File System Data Processing
o contrast traditional file systems with
database systems in terms of data
processing
o problems associated with file systems
2. Discuss installation procedure of IDE for Oracle Database Installing Oracle Database and setting up the IDE
• System requirements
• SQL platform selection
• Downloading SQL Software
• Installing the Command Line Shell or
Graphical User Interface (GUI) tools
• Running the SQL Executable
3. Construct basic SQL syntax SQL (Structured Query Language)
• Syntax
• Basic commands
QUARTER 2
CONTENT STANDARD The learners demonstrate an understanding of multiple row functions, joins, subqueries, and
substitution variables to retrieve and display data from multiple tables.
PERFORMANCE STANDARD The learners create a database applying multiple row functions, joins, subqueries, and substitution
variables to retrieve and display data from multiple tables.
3. Apply subqueries for complex data retrieval and manipulation Subqueries of SQL
• Types
o single-row subqueries
▪ comparison operators
o multiple-row subqueries
▪ IN Operators
▪ ANY Operators
▪ ALL Operators
• Group functions in a subquery
• Null values in a subquery
• HAVING clause with subqueries
QUARTER 3
CONTENT STANDARD The learners demonstrate an understanding of Data Manipulation Language (DML) commands in
creating and managing database using constraints, views, database objects, managing user access roles
and set operators to combine query results.
PERFORMANCE STANDARD The learners apply DML commands in creating and managing database using constraints, views,
database objects, managing user access roles and set operators to combine query results.
1. Apply DML commands in manipulating data for table attributes Data Manipulation Language (DML) Command
• Different syntax of DML
o add
o insert
▪ null values
▪ date values
o update
o delete
o merge
• Database transactions
o commit statement
o rollback statement
o begin/save point statement
2. Create tables for managing data Managing Tables
• Naming conventions
• Creating tables
• ALTER table statement
o adding column
o modifying column
o dropping column and table
▪ renaming a table
▪ dropping a table
▪ truncating a table
▪ managing indexes
▪ viewing table structure
▪ SET unused option
▪ adding comments
3. Apply constraint commands for data validation SQL Constraints
• Key constraints
o NOT NULL
o UNIQUE KEY
o PRIMARY KEY
o FOREIGN KEY
o CHECK
o DEFAULT
• Cascading constraints
o On Delete Cascade
o On Update
o On Delete Set Null
o On Update Set Null
o On Delete Set Default
o On Update Set Default
CONTENT STANDARD The learners demonstrate an understanding in connecting programming language (PL) to a SQL
database, effectively performing Create, Read, Update and Delete (CRUD) operations.
PERFORMANCE STANDARD The learners create an application by connecting programming language (PL) to a SQL database,
effectively performing Create, Read, Update and Delete (CRUD) operations.
GLOSSARY
aggregate functions sql functions that perform a calculation on a set of values and return a single result
some examples include count, avg, sum, max, and min. they are commonly used
with group by clauses to summarize data.
it can contain multiple tables, views, and other objects. databases are managed by
database management systems (dbms) to ensure data integrity and security.
Database Administrator (DBA) a professional responsible for the installation, configuration, management, and
maintenance of a database system
they ensure data availability, security, and performance optimization. the dba also
handles tasks like backups, updates, and user permissions.
database design the process of structuring a database logically and physically to meet business
needs
Database Management System a software system that enables the creation, management, and manipulation of
(DBMS) databases
it provides an interface for users and applications to interact with the stored
data. dbms ensures data consistency, security, and concurrency control.
Data Definition Language a subset of sql used to define, modify, and delete database objects
(DDL) like tables, indexes, and views
key ddl commands include create, alter, and drop. ddl statements
affect the structure of the database itself.
Data Manipulation Language a subset of sql used to manipulate the data within a database
(DML)
it includes commands like select, insert, update, and delete. dml
operations interact directly with data stored in tables.
Data Control Language a subset of sql used to control access to data in a database
(DCL)
it includes the grant and revoke commands to manage user permissions. dcl
ensures that only authorized users can access or modify certain data.
entities objects or things in the real world that have a distinct existence and can be
represented within a database
file system a method of storing and organizing data in files on a disk or other storage devices
while a file system provides basic file storage capabilities, a dbms offers advanced
data management features like querying and indexing. file systems are not
optimized for large-scale data retrieval or concurrency control.
foreign key a column or group of columns in a table that creates a relationship between two
tables
it refers to the primary key of another table to establish referential integrity. foreign
keys ensure that data in related tables remains consistent.
function a named, precompiled block of code that performs a specific task and returns a
result
in sql, functions can manipulate data, perform calculations, or return modified data
based on input arguments. functions are often used in queries or stored
procedures.
Graphical User Interface (GUI) a visual interface that allows users to interact with a computer system
through graphical elements like buttons, icons, and menus
identifiers must follow specific naming rules set by the dbms. in oracle,
identifiers are case-insensitive unless enclosed in quotes.
JOIN syntax the syntax used to combine data from two or more tables based on a related
column
common types of joins include inner join, left join, right join, and full join.
joins are essential for retrieving related data from multiple tables in
relational databases.
null values special markers used to represent missing or undefined data in a database
a null value does not equal any other value, not even another null. handling
null values correctly is important for data integrity and accurate query
results.
ORDER BY clause an sql clause used to sort the result set of a query by one or more columns
the order can be ascending (asc) or descending (desc). it helps organize query
results in a specific sequence.
primary key a column or combination of columns in a table that uniquely identifies each
row
privileges permissions granted to database users that define what actions they can
perform on the database objects
common privileges include select, insert, update, and delete. privileges can
be granted to individual users or roles.
Structured Query Language (SQL) a standardized programming language used to manage and manipulate
relational databases
it allows users to define, query, and modify data using statements like select,
insert, update, and delete. sql is essential for interacting with relational
databases.
REFERENCES
Oracle Tutorial - Learn Oracle Database from Scratch | OracleTutorial.com. (2021, November 21). Oracle Tutorial.
https://www.oracletutorial.com/
Technical Education and Skills Development Authority-Qualification Standards Office. Training Regulations for Programming (Oracle
Database) NC III. Taguig City, Philippines: TESDA, 2013.
https://tesda.gov.ph/Downloadables/TR%20-%20Programming%20(Oracle%20Database)%20NC%20III.pdf