You are on page 1of 7

Oracle Database 11g: SQL Fundamentals

Method of handling Activities Category


1. Faculty demonstrating the steps. A
2. Faculty demonstrate the steps in discussion mode by asking students to tell the steps. B
3. Tell the class to read the steps and call any one student randomly to perform the steps on faculty node. C
4. After demonstration, call any student to perform the activity on Faculty node. D
5. Students to do these exercises in the MR without guidance from the faculty. E

This course consists of the following books:


Book 1: Oracle Database 11g: SQL Fundamentals I Volume I Student Guide
Book 2: Oracle Database 11g: SQL Fundamentals I Volume II Student Guide
Book 3: Oracle Database 11g: SQL Fundamentals II Volume I Student Guide
Book 4: Oracle Database 11g: SQL Fundamentals II Volume II Student Guide

NOTE:
1. As this course uses slides of Oracle Official curriculum, the objectives and summary are provided Lesson wise instead of session wise.
2. In any practice, there may be exercises that are prefaced with the phrases 'if you have time' or 'if you want an extra challenge', work on these exercises only if you have completed all other exercises in the allocated time and would like a further
challenge to your skills.
3. The slide numbers may not be sequential, since some slides are hidden for smooth flow of sessions.

Week 1
Session 1 (CR)
Source Topic/Activity Name Time Duration Demonstration Slide Session to be Referred Remarks
in min Strategy

Book 1: Lesson ICourse Objectives 5


Introduction Lesson Objectives
Appendixes Used in the Course
Oracle Database 11g: Focus Areas 10
Oracle Database 11g
Oracle Fusion Middleware
Oracle Enterprise Manager Grid Control
Oracle BI Publisher
Relational and Object Relational Database Management Systems 5
Data Storage on Different Media
Relational Database Concept 5
Definition of a Relational Database
Data Models 5 SQL_Fundamentals_I_Volume_I_ Intro.pps
Entity Relationship Model
Entity Relationship Modeling Conventions
Relating Multiple Tables 5
Relational Database Terminology
Using SQL to Query Your Database 10
SQL Statements
Development Environments for SQL
Human Resources (HR) Schema 10
Tables Used in the Course
Oracle Database 11g Documentation
Additional Resources
Summary 5
Book 1: Lesson 1 Objectives 5
Retrieving Data Capabilities of SQL SELECT Statements 5
Using the SQL Basic SELECT Statement
SELECT Statement Selecting All Columns
5
Selecting Specific Columns
Writing SQL Statements 5
Column Heading Defaults
Arithmetic Expressions 5
Using Arithmetic Operators
A Use the following files for the demo:
- demo_01_prec1.sql
- demo_01_prec2.sql
Operator Precedence
Defining a Null Value 5
A Use the following file for the demo:
- demo_01_null.sql
SQL_Fundamentals_I_Volume_I_Les01.pps
Null Values in Arithmetic Expressions
Defining a Column Alias 5
A Use the following file for the demo:
- demo_01_alias.sql
Using Column Aliases
Concatenation Operator 5
Literal Character Strings 5
Using Literal Character Strings
Alternative Quote (q) Operator 5
Duplicate Rows
Displaying the Table Structure 5
Using the DESCRIBE Command
Quiz 5
Summary
Total Time 120
Session 2 (CR)
Source Topic/Activity Name Time Duration Demonstration Slide Session to be Referred Remarks
in min Strategy

Book 1: Lesson 2 Objectives 5


Restricting and Limiting Rows Using a Selection 10
Sorting Data Limiting the Rows That Are Selected
Using the WHERE Clause
Character Strings and Dates
Comparison Operators 15
Using Comparison Operators
A Use the following file for the demo:
- demo_02_betw.sql
Range Conditions Using the BETWEEN Operator
A Use the following file for the demo:
- demo_02_in.sql
Membership Condition Using the IN Operator
Pattern Matching Using the LIKE Operator
Combining Wildcard Characters
Using the NULL Conditions
Defining Conditions Using the Logical Operators 10
A Use the following file for the demo:
Using the AND Operator - demo_02_and.sql
A Use the following file for the demo:
Using the OR Operator SQL_Fundamentals_I_Volume_I_Les02.pps - demo_02_or.sql
Using the NOT Operator
A Use the following files for the demos:
- demo_02_sal1.sql
- demo_02_sal2.sql
Rules of Precedence
5A Use the following file for the demo:
Using the ORDER BY Clause - demo_02_ordernull.sql
Sorting
Substitution Variables 15
A Use the following files for the demo:
- demo_02_varno.sql
Using the Single-Ampersand Substitution Variable - demo_02_varyes.sql
Character and Date Values with Substitution Variables
A Use the following file for the demo:
Specifying Column Names, Expressions, and Text - demo_02_expr.sql
15

Using the Double-Ampersand Substitution Variable


Using the DEFINE Command
Using the VERIFY Command
Quiz 5
Summary
Book 1: Lesson 3 Objectives 5
Using Single-Row SQL Functions 5
Functions to Two Types of SQL Functions
Customize Output Single-Row Functions
5
Character Functions
Case-Conversion Functions 5
Using Case-Conversion Functions
Character-Manipulation Functions 5
Using the Character-Manipulation Functions
Number Functions 10
Using the ROUND Function
Using the TRUNC Function
SQL_Fundamentals_I_Volume_I_Les03.pps
Using the MOD Function
Working with Dates 10
RR Date Format
Using the SYSDATE Function
Arithmetic with Dates
Using Arithmetic Operators with Dates
Date-Manipulation Functions
Using Date Functions 5
Using ROUND and TRUNC Functions with Dates
Quiz 5
Summary
Total Time 120
Session 3 (MR)
Source Topic/Activity Name Time Duration Demonstration Remarks
in min Strategy

Book 1: Lesson I, 1, Practice I: Overview 10 E


2, and 3 Practice 1: Overview 40 E
Practice 2: Overview 40 E
Practice 3: Overview 30 E
Total Time 120

Week 2
Session 4 (CR)
Source Topic/Activity Name Time Duration Demonstration Slide Session to be Referred Remarks
in min Strategy

Book 1: Lesson 4 Objectives 5


Using Conversion Conversion Functions 10
Functions and Implicit Data Type Conversion
Conditional Explicit Data Type Conversion
Expressions
Using the TO_CHAR Function with Dates 30
Elements of the Date Format Model
A Use the following file for the demo:
- demo_04_hire.sql
Using the TO_CHAR Function with Dates
Using the TO_CHAR Function with Numbers
Using the TO_NUMBER and TO_DATE Functions
Using the TO_CHAR and TO_DATE Function with the RR Date Format
A Use the following file for the demo:
- demo_04_nest.sql

Nesting Functions SQL_Fundamentals_I_Volume_I_Les04.pps


Nesting Functions: Example 1
Nesting Functions: Example 2
General Functions
NVL Function
Using the NVL Function
Using the NVL2 Function
Using the NULLIF Function
Using the COALESCE Function
Conditional Expressions 20
CASE Expression
Using the CASE Expression
DECODE Function
Using the DECODE Function
Quiz 5
Summary
Book 1: Lesson 5 Objectives 5
Reporting What Are Group Functions? 10
Aggregated Data Types of Group Functions
Using the Group Group Functions: Syntax
Functions
Using the AVG and SUM Functions 20
Using the MIN and MAX Functions
A Use the following files for the demo:
- demo_05_count1.sql
Using the COUNT Function SQL_Fundamentals_I_Volume_I_Les05.pps - demo_05_count2.sql
Using the DISTINCT Keyword
Group Functions and Null Values
Creating Groups of Data 15
Creating Groups of Data: GROUP BY Clause Syntax
Before ending the session, summarize the
topics that are covered in this session.
Using the GROUP BY Clause
Total Time 120
Session 5 (CR)
Source Topic/Activity Name Time Duration Demonstration Slide Session to be Referred Remarks
in min Strategy

Book 1: Lesson 5 25 Before starting the session, reiterate the


Reporting lesson objectives that will be covered in
Aggregated Data Grouping by More Than One Column this session.
Using the Group
A Use the following files for the demo:
Functions (Contd.)
- demo_05_order1.sql
Using the GROUP BY Clause on Multiple Columns - demo_05_order2.sql
A Use the following file for the demo:
- demo_05_error.sql
Illegal Queries Using Group Functions SQL_Fundamentals_I_Volume_I_Les05.pps(Cont
d.)
Restricting Group Results
Restricting Group Results with the HAVING Clause
A Use the following files for the demo:
- demo_05_job1.sql
Using the HAVING Clause - demo_05_job2.sql
Nesting Group Functions
Quiz 5
Summary
Book 1: Lesson 6 Objectives 5
Displaying Data Obtaining Data from Multiple Tables 10
from Multiple Types of Joins
Tables Using Joins Joining Tables Using SQL:1999 Syntax
Qualifying Ambiguous Column Names 5
Creating Natural Joins 5
Retrieving Records with Natural Joins
Creating Joins with the USING Clause 15
Joining Column Names

SQL_Fundamentals_I_Volume_I_Les06.pps
Book 1: Lesson 6
Displaying Data
from Multiple
Tables Using Joins

15

Retrieving Records with the USING Clause


Using Table Aliases with the USING Clause
Creating Joins with the ON Clause 20
A Use the following file for the demo:
Retrieving Records with the ON Clause - demo_06_loc.sql
Creating Three-Way Joins with the ON Clause
Applying Additional Conditions to a Join
Joining a Table to Itself
SQL_Fundamentals_I_Volume_I_Les06.pps
Self-Joins Using the ON Clause
Nonequijoins 5
Retrieving Records with Nonequijoins
Returning Records with No Direct Match Using OUTER Joins 15
INNER Versus OUTER Joins
LEFT OUTER JOIN
RIGHT OUTER JOIN
FULL OUTER JOIN
Cartesian Products 5
Generating a Cartesian Product
A Use the following file for the demo:
- demo_06_cart.sql

Creating Cross Joins


Quiz 5
Summary
Total Time 120
Session 6 (MR)
Source Topic/Activity Name Time Duration Demonstration Remarks
in min Strategy

Book 1: Lesson 4, Practice 4: Overview 40 E


5, and 6 Practice 5: Overview 40 E
Practice 6: Overview 40 E
Total Time 120

Week 3
Session 7 (CR)
Source Topic/Activity Name Time Duration Demonstration Slide Session to be Referred Remarks
in min Strategy

Book 1: Lesson 7 Objectives 5


Using Subqueries Using a Subquery to Solve a Problem 10
to Solve Queries Subquery Syntax
Using a Subquery
Guidelines for Using Subqueries 5
Types of Subqueries
Single-Row Subqueries 10
Executing Single-Row Subqueries
Using Group Functions in a Subquery 10
HAVING Clause with Subqueries SQL_Fundamentals_I_Volume_I_Les07.pps
What Is Wrong with This Statement?
No Rows Returned by the Inner Query
Multiple-Row Subqueries 15
Using the ANY Operator in Multiple-Row Subqueries
Using the ALL Operator in Multiple-Row Subqueries
Using the EXISTS Operator
Null Values in a Subquery
Quiz 5
Summary
Book 1: Lesson 8 Objectives 5
Using the Set Set Operators 15
Operators Set Operator Guidelines
Oracle Server and Set Operators
Tables Used in This Lesson 5
UNION Operator 5
A Use the following file for the demo:
- demo_08_union1.sql
Using the UNION Operator
UNION ALL Operator 5
Using the UNION ALL Operator
INTERSECT Operator 5
A SQL_Fundamentals_I_Volume_I_Les08.pps Use the following file for the demo:
- demo_08_inters.sql
Using the INTERSECT Operator
MINUS Operator 5
A Use the following file for the demo:
- demo_08_minus.sql
Using the MINUS Operator
5A Use the following file for the demo:
Matching the SELECT Statements - demo_08_union3.sql
Matching the SELECT Statement: Example
Using the ORDER BY Clause in Set Operations 5
Quiz 5
Summary
Total Time 120
Session 8 (CR)
Source Topic/Activity Name Time Duration Demonstration Slide Session to be Referred Remarks
in min Strategy

Book 2: Lesson 9 Objectives 5


Manipulating Data Data Manipulation Language 5
Adding a New Row to a Table 20
INSERT Statement Syntax
Inserting New Rows
Inserting Rows with Null Values
Inserting Special Values
Inserting Specific Date and Time Values
Creating a Script
While conducting this topic, use the
following script:
Copying Rows from Another Table - demo_09_cretabs.sql
Changing Data in a Table 10
UPDATE Statement Syntax
Updating Rows in a Table
Updating Two Columns with a Subquery
Updating Rows Based on Another Table
Removing a Row from a Table 10
DELETE Statement
Deleting Rows from a Table
Deleting Rows Based on Another Table
TRUNCATE Statement 5
Database Transactions 5
Database Transactions: Start and End
Advantages of COMMIT and ROLLBACK Statements 5
Explicit Transaction Control Statements 5
Rolling Back Changes to a Marker 5
SQL_Fundamentals_I_Volume_II_Les09.pps
Implicit Transaction Processing 5
State of the Data Before COMMIT or ROLLBACK 5
State of the Data After COMMIT
Committing Data 10
While conducting this topic, use the
following script:
State of the Data After ROLLBACK - demo_09_cretest.sql
SQL_Fundamentals_I_Volume_II_Les09.pps

10

State of the Data After ROLLBACK: Example


Statement-Level Rollback 5
5 While conducting this topic, use the
following scripts:
- demo_09_grant.sql
- demo_09_update.sql
- demo_09_select.sql
Read Consistency
A Use the following file for the demo:
- demo_09_select.sql

While conducting this topic, use the


following scripts:
- demo_09_update.sql
- demo_09_rollback.sql
- demo_09_revoke.sql
Implementing Read Consistency
FOR UPDATE Clause in a SELECT Statement 10
FOR UPDATE Clause: Examples
Quiz 5
Summary
Total Time 120
Session 9 (MR)
Source Topic/Activity Name Time Duration Demonstration Remarks
in min Strategy

Book 1: Lesson 7 Practice 7: Overview 50 E


and 8 Practice 8: Overview 60 E
Total Time 110

Week 4
Session 10 (CR)
Source Topic/Activity Name Time Duration Demonstration Slide Session to be Referred Remarks
in min Strategy

Book 2: Lesson 10 Objectives 5


Using DDL Database Objects 5
Statements to Naming Rules 5
Create and Manage CREATE TABLE Statement 20
Tables
Referencing Another User's Tables
DEFAULT Option
Creating Tables
Data Types 5
Datetime Data Types 5
Including Constraints 10
Constraint Guidelines
Defining Constraints
NOT NULL Constraint 10
UNIQUE Constraint SQL_Fundamentals_I_Volume_II_Les10.pps
PRIMARY KEY Constraint 5
FOREIGN KEY Constraint 10
FOREIGN KEY Constraint: Keywords
CHECK Constraint 5
CREATE TABLE: Example 5
Violating Constraints 5
Creating a Table Using a Subquery 5
ALTER TABLE Statement 5
Read-Only Tables 5
Dropping a Table 5
Quiz 5
Summary
Total Time 120
Session 11 (CR)
Source Topic/Activity Name Time Duration Demonstration Slide Session to be Referred Remarks
in min Strategy

Book 2: Lesson 11 Objectives 5


Creating Other Database Objects 10
Schema Objects What Is a View?
Advantages of Views
Simple Views and Complex Views
15 A Use the following file for the demo:
- demo_11_easyvu.sql
Creating a View
Retrieving Data from a View
A Use the following file for the demo:
- demo_11_emp.sql
Modifying a View
Creating a Complex View
Rules for Performing DML Operations on a View
Using the WITH CHECK OPTION Clause 5
Denying DML Operations 5
Removing a View 5
Sequences 5
SQL_Fundamentals_I_Volume_II_Les11.pps
CREATE SEQUENCE Statement: Syntax 5
Creating a Sequence 5
NEXTVAL and CURRVAL Pseudocolumns 5
Using a Sequence 5
Caching Sequence Values
Modifying a Sequence 5
Guidelines for Modifying a Sequence 5
Indexes 5
How Are Indexes Created? 5
Creating an Index
Index Creation Guidelines 5
Removing an Index 5
Synonyms 5
Creating a Synonym for an Object 5
Creating and Removing Synonyms 5
Quiz 5
Summary
Total Time 120
Session 12 (MR )
Source Topic/Activity Name Time Duration Demonstration Remarks
in min Strategy

Book 2: Lesson 9 Practice 9: Overview 50 E


and 10 Practice 10: Overview 60 E
Total Time 110

Week 5
Session 13 (CR)
Source Topic/Activity Name Time Duration Demonstration Slide Session to be Referred Remarks
in min Strategy

Book 3: Lesson I Objectives 10


Introduction Course Objectives
Lesson Objectives
Tables Used in This Course 5
Appendixes Used in This Course 5
Development Environments 5
Review of Restricting Data 20
SQL_Fundamentals_II_Volume_I_Intro.pps
Review of Sorting Data
Review of SQL Functions
Book 3: Lesson I
Introduction

20
SQL_Fundamentals_II_Volume_I_Intro.pps

Review of Single-Row Functions


Review of Types of Group Functions
Review of Using Subqueries
Review of Manipulating Data
Summary 5
Book 3: Lesson 1 Objectives 5
Controlling User Controlling User Access 5
Access Privileges
System Privileges 5
Creating Users 5
User System Privileges
Granting System Privileges
What Is a Role? 5
Creating and Granting Privileges to a Role 5
SQL_Fundamentals_II_Volume_I_Les01.pps
Changing Your Password 5
Object Privileges 5
Granting Object Privileges
Passing On Your Privileges 10
Confirming Granted Privileges 5
Revoking Object Privileges 5
Quiz 5
Summary
Total Time 115
Session 14 (CR)
Source Topic/Activity Name Time Duration Demonstration Slide Session to be Referred Remarks
in min Strategy

Book 3: Lesson 2 Objectives 5


Managing Schema ALTER TABLE Statement 10
Objects Adding a Column 5
Modifying a Column 5
Dropping a Column 5
SET UNUSED Option 10
Adding a Constraint Syntax 5
Adding a Constraint
ON DELETE Clause
Deferring Constraints
While conducting this topic, use the
following scripts:
- code_02_16_s.sql
- code_02_16_n.sql
- code_02_17_na1.sql
- code_02_17_na2.sql
- code_02_17_nb1.sql
- code_02_17_nb2.sql
30
- code_02_17_nb3.sql
- code_02_17_nc1.sql
- code_02_17_nc2.sql
- code_02_17_nd1.sql
SQL_Fundamentals_II_Volume_I_Les02.pps - code_02_17_nd2.sql

Difference Between INITIALLY DEFERRED and INITIALLY IMMEDIATE


Dropping a Constraint
Disabling Constraints
Enabling Constraints
Cascading Constraints
While conducting this topic, use the
following scripts:
5 - code_02_24n.sql
Renaming Table Columns and Constraints - code_02_24_sa.sql
Overview of Indexes
CREATE INDEX with the CREATE TABLE Statement 10
Function-Based Indexes 5
Removing an Index 5
DROP TABLE PURGE 5
FLASHBACK TABLE Statement 5
Before ending the session, summarize the
topics that are covered in this session.
Using the FLASHBACK TABLE Statement 10
Total Time 120
Session 15 (MR)
Source Topic/Activity Name Time Duration Demonstration Remarks
in min Strategy

Book 2: Lesson 11 Practice 11: Overview of Part 1 40 E


Practice 11: Overview of Part 2 40 E
Book 3: Lesson I Practice I: Overview 10 E
and 1 Practice 1: Overview 30 E
Total Time 120

Week 6
Session 16 (CR)
Source Topic/Activity Name Time Duration Demonstration Slide Session to be Referred Remarks
in min Strategy

Book 3: Lesson 2 Before starting the session, reiterate the


Managing Schema lesson objectives that will be covered in
Objects (Contd.) Temporary Tables 10 this session.
Creating a Temporary Table 5
External Tables 5
Creating a Directory for the External Table 5 SQL_Fundamentals_II_Volume_I_Les02.pps
Creating an External Table 5 (Contd.)
Creating an External Table by Using ORACLE_LOADER 5
Querying External Tables 5
Creating an External Table by Using ORACLE_DATAPUMP: Example 5
Quiz
Summary 5
Book 3: Lesson 3 Objectives 5
Managing Objects Data Dictionary 5
with Data Dictionary Data Dictionary Structure
Views
How to Use the Dictionary Views 5
USER_OBJECTS and ALL_OBJECTS Views
USER_OBJECTS View
Table Information 5
Column Information
Constraint Information
USER_CONSTRAINTS: Example 5
Querying USER_CONS_COLUMNS 5
View Information 10 SQL_Fundamentals_II_Volume_I_Les03.pps
Sequence Information
Confirming Sequences
Index Information
USER_INDEXES: Examples 10
Querying USER_IND_COLUMNS 5
Synonym Information 5 While conducting this topic, use the
following script:
demo_03_24_sb.sql
Adding Comments to a Table 5
Quiz
Summary 5
Total Time 120
Session 17 (CR)
Source Topic/Activity Name Time Duration Demonstration Slide Session to be Referred Remarks
in min Strategy

Book 3: Lesson 4 Objectives 5


Manipulating Large 5 While conducting this topic, use the
Data Sets following scripts:
- demo_04_update_subquery.sql
- demo_04_update_rows.sql
- demo_04_delete_rows.sql
Using Subqueries to Manipulate Data
5 While conducting this topic, use the
following scripts:
code_04_05_n.sql
Retrieving Data by Using a Subquery as Source code_04_05_s.sql
Inserting by Using a Subquery as a Target 5
Using the WITH CHECK OPTION Keyword on DML Statements 10
Overview of the Explicit Default Feature 10
While conducting this topic, use the
following script:
Using Explicit Default Values - demo_04_default_tab.sql
Copying Rows from Another Table 5
Overview of Multitable INSERT Statements 20
Types of Multitable INSERT Statements
Multitable INSERT Statements
25 While conducting this topic, use the
following scripts:
- demo_cre_sal_history.sql
Unconditional INSERT ALL - demo_cre_mgr_history.sql
Conditional INSERT ALL: Example
While conducting this topic, use the
following scripts:
SQL_Fundamentals_II_Volume_I_Les04.pps - demo_cre_emp_history.sql
Conditional INSERT ALL - demo_cre_emp_sales.sql
Conditional INSERT FIRST: Example
While conducting this topic, use the
following scripts:
- demo_cre_sal_low.sql
- demo_cre_sal_high.sql
- demo_cre_sal_mid.sql
Conditional INSERT FIRST
Pivoting INSERT While conducting this topic, use the
following scripts:
- demo_ cre_sales_source_data.sql
- demo_cre_sales_info.sql
- demo_ins_sales_source_data.sql
- code_04_35_na.sql
- code_04_35_nb.sql
- code_04_34_s.sql
- code_04_36_sa.sql
- code_04_36_sc.sql
- code_04_36_n.sql

MERGE Statement 10
MERGE Statement Syntax
Merging Rows: Example
Tracking Changes in Data 15
Example of the Flashback Version Query
VERSIONS BETWEEN Clause
Quiz 5
Summary
Total Time 120
Session 18 (MR)
Source Topic/Activity Name Time Duration Demonstration Remarks
in min Strategy

Book 3: Lesson 2, Practice 2: Overview 40 E


3, and 4 Practice 3: Overview 40 E
Practice 4: Overview 40 E
Total Time 120

Week 7
Session 19 (CR)
Source Topic/Activity Name Time Duration Demonstration Slide Session to be Referred Remarks
in min Strategy

Book 3: Lesson 5 Objectives 5


Managing Data in Time Zones 5
Different Time TIME_ZONE Session Parameter 5
Zones CURRENT_DATE, CURRENT_TIMESTAMP, and LOCALTIMESTAMP 5
Comparing Date and Time in a Sessions Time Zone 10
DBTIMEZONE and SESSIONTIMEZONE 5
TIMESTAMP Data Types 5
TIMESTAMP Fields
Difference Between DATE and TIMESTAMP 5
Comparing TIMESTAMP Data Types 5
INTERVAL Data Types 5
INTERVAL Fields 5
INTERVAL YEAR TO MONTH: Example 10
INTERVAL DAY TO SECOND Data Type: Example SQL_Fundamentals_II_Volume_I_Les05.pps
10
EXTRACT 5
TZ_OFFSET 5
FROM_TZ 5
5 While conducting this topic, use the
following script:
TO_TIMESTAMP - demo_05_tz.sql
TO_YMINTERVAL 5
TO_DSINTERVAL 5
Daylight Saving Time 5
Quiz 5
Summary
Total Time 120
Session 20 (CR)
Source Topic/Activity Name Time Duration Demonstration Slide Session to be Referred Remarks
in min Strategy

Book 3: Lesson 6 Objectives 5


Retrieving Data by Multiple-Column Subqueries 5
Using Subqueries 5 While conducting this topic, use the
following scripts:
- demo_06_ex_1a.sql
- demo_06_ex_1b.sql
- demo_06_ex_2.sql
- demo_06_pairwise.sql
- demo_06_pairwise_a.sql
- demo_06_pairwise_b.sql
- lab_06_insert_empdata.sql

Column Comparisons
Pairwise Comparison Subquery 5
Nonpairwise Comparison Subquery 5
Scalar Subquery Expressions 15
Scalar Subqueries: Examples SQL_Fundamentals_II_Volume_I_Les06.pps
Correlated Subqueries 10
Using Correlated Subqueries 10
Using the EXISTS Operator 5
Find All Departments That Do Not Have Any Employees 5
SQL_Fundamentals_II_Volume_I_Les06.pps

Correlated UPDATE 5
Using Correlated UPDATE 5
Correlated DELETE 5
Using Correlated DELETE 5
WITH Clause 5
WITH Clause: Example 10
Recursive WITH Clause 10
Recursive WITH Clause: Example
Quiz 5
Summary
Total Time 120
Session 21 (MR)
Source Topic/Activity Name Time Duration Demonstration Remarks
in min Strategy

Book 3: Lesson 5 Practice 5: Overview 50 E


and 6 Practice 6: Overview 70 E
Total Time 120

Week 8
Session 22 (CR)
Source Topic/Activity Name Time Duration Demonstration Slide Session to be Referred Remarks
in min Strategy

Book 3: Lesson 7 Objectives 5


Regular Expression What Are Regular Expressions? 5
Support Benefits of Using Regular Expressions 5
Using the Regular Expressions Functions and Conditions in SQL and PL/SQL 5
What Are Metacharacters? 5
Using Metacharacters with Regular Expressions 5
Regular Expressions Functions and Conditions: Syntax 5
Performing a Basic Search by Using the REGEXP_LIKE Condition 10
Replacing Patterns by Using the REGEXP_REPLACE Function 10 While conducting this topic, use the
following scripts:
- demo_07_regexp_replace_a.sql
- demo_07_regexp_replace_b.sql
SQL_Fundamentals_II_Volume_I_Les07.pps
Finding Patterns by Using the REGEXP_INSTR Function 5
Extracting Substrings by Using the REGEXP_SUBSTR Function 5
Subexpressions 5
Using Subexpressions with Regular Expression Support 5
Why Access the nth Subexpression? 10
REGEXP_SUBSTR: Example 10
Using the REGEXP_COUNT Function 10
Regular Expressions and Check Constraints: Examples 10
Quiz 5
Summary
Total Time 120
Session 23 (CR)
Source Topic/Activity Name Time Duration Demonstration Remarks
in min Strategy

Recap 120
Total Time 120
Session 24 (MR)
Source Topic/Activity Name Time Duration Demonstration Remarks
in min Strategy

Course Test 120


Total Time 120

Note: Practice Exercises of Book 3: Lesson 7 needs to be done in an additional MR. Please ask the students to book an additional MR before the course test for practicing these exercises.
For the details of the Cloud components, please refer to the milestone.

You might also like