Sie sind auf Seite 1von 9

Chapter Lesson name

Course Agenda
System Development Life Cycle & Database Definition
What is a Table?
Data Models & ERM
1- Introduction
About Primary key & foreign key
SQL and Types of SQL Statements
Oracle Database 12c Architecture
HR Schema in this Course
Oracle Live SQL / No Installation for anything
2-Live SQL & Download/ Install Downloading Oracle DB 12c
Installing Oracle DB 12c
Connecting SYS using SQL plus & SQL Developer
Unlock HR Account Part 1
3-Connecting to the Database
Unlock HR Account Part 2
ORA-01033 oracle initialization or shutdown in progress 12c
Navigate HR schema
Capabilities of SQL SELECT Statements
4- Retrieving data using the select statement Arithmetic expressions and NULL values
Column Alias, Concatenation , Distinct and DESCRIBE
4- Retrieving data using the select statement

Important Notes in Select Statement


The WHERE Clause & Comparison Operators
Using Between and / IN / Like Operators
Using IS NULL / NOT / Not equal Operators
5-Restricting and Sorting Data
Logical Operators (AND/ OR/ NOT)
Order by Clause
The FETCH Clause
What is a Substitution Variables (&)
DEFINE / UNDEFINE
6-Substitution Variables
ACCEPT / PROMPT
Double-Ampersand / SET VERIFY / SET DEFINE
Single Row Function Introduction
Character functions (Upper, Lower, Initcap )
Character functions (concat, substr, length )
Character functions ( instr )
Character functions ( lpad, rpad , replace, trim)
07-Using Single-Row Functions to Customize Output
Number functions ( Round, Trunc, MOD )
Date Functions ( Sysdate)
Date Functions ( months_between, add_months, next_day, last_day)
Date Functions ( round , trunc )
Nesting Functions
Implicit Data Conversion VS Explicit
TO_CHAR with dates
TO_CHAR with numbers
8- Using Conversion Functions and Conditional Expressions TO_NUMBER , TO_DATE Functions
nvl , nvl2 , nullif and coalesce Functions
The CASE Function
The DECODE Function

Group functions Introduction


9-Reporting Aggregated Data Using the Group Functions Group functions (sum, count, max, min, avg & more)
Group by Clause, Having Clause
Before You Start, important notes
HR Tables Diagram, Joins Clarification
What is Cartesian product?
Old Joins: Equijoin
Old Joins: nonEquijoins
Old Joins: outer join
10-Displaying Data from multiple tables using joins
Old Joins: Self Join and More Practices
1999 Syntax: Cross Join (Cartesian product )
1999 Syntax: Natural Join
1999 Syntax: USING Clause
1999 Syntax: ON Clause
1999 Syntax: Left/Right/full Outer Join
Single row Subqueries
Multiple rows Subqueries
11-Using Subqueries to Solve Queries
NULL values and Subqueries
Exists and not Exists
Overview (Union, union all, intersect, minus )
12-Using the Set Operators
Practice (Union, union all, intersect, minus )
Introduction to DML
Insert Statement
Inserting common errors
Update Statement
Delete Statement
13- Managing tables using DML Statments What is Database Transactions?
About Commit & Rollback
Practice ( Commit and rollback )
SAVEPOINT
ROW Lock
FOR UPDATE Clause
DDL & Naming Rules
Data Types Part 1
Data Types Part 2
Creating Tables (without constraints)
Types of constraints and why we use it?
Creating Tables ( Column Level Constraints )
Creating Tables ( Table Level Constraints )
Constraints Guidelines
14-Introduction to Data Definition Language ON DELETE cascade / ON DELETE set null
Create Table AS subquery
Alter Table/ Add Columns
Alter Table/ Modify Columns
Alter Table/ Drop Columns
Alter Table/ Set Unused
ALTER TABLE READ ONLY / READ write
Drop Table
Rename Column / Rename Table
Tips you Should know Part 1
Tips you Should know Part 2
Tips you Should know Part 3
15-Tips you Should know
15-Tips you Should know
Tips you Should know Part 4
Tips you Should know Part 5
Tips you Should know Part 6
About Exam 1Z0-061 / Visiting Oracle Website
16-Exam 1Z0-061 / Oracle Database 12c: SQL Fundamentals
My recommendations

What is Data Dictionary Views?


What is DICTIONARY?
USER_OBJECTS / ALL_OBJECTS
17-Introduction to Data Dictionary Views USER_TABLES / ALL_TABLES / USER_TAB_COLUMNS
USER_CONSTRAINTS & USER_CONS_COLUMNS Part 1
USER_CONSTRAINTS & USER_CONS_COLUMNS Part 2
COMMENT ON TABLE / COLUMN
Sequences Part 1
Sequences Part 2
Sequences Part 3
18-Creating sequences, synonyms, and indexes Sequences Part 4
Creating Synonyms
Creating Indexes Part 1
Creating Indexes Part 2
What is a View? / What is the benefits of Views?

19-Creating Views
Creating Simple Views
19-Creating Views
Creating Complex Views

With READ ONLY / With check option / Force view


Adding constraints / dropping constraints

Rename Column / Rename Constraint


Enable / Disable Constraints
Understanding DEFERRABLE Constraints
20-Managing Schema Objects DEFERRABLE Constraints Exercises

GLOBAL TEMPORARY TABLE


About SQL*Loader
External Tables Part 1
External Tables Part 2

Using the subquery as a source table


Pairwise/ Non Pairwise Subqueries
21-Retrieving Data By Using Subqueries Scalar Subquery / Correlated Subquery
Reminder of Exists / Not Exists
WITH Clause
Inserting/ Updating /Deleting Using a subquery as a target
22-Manipulating Data By Using Subqueries
Correlated Update / Correlated Delete
Database Security / System Privileges & Roles

23-Controlling User Access


Database Security / Object Privileges

System Privileges & Privileges Practice 1


23-Controlling User Access System Privileges & Privileges Practice 2
Creating ROLE Practice
With Grant Option
Drop user Statement

What is Data Warehouse?


Explicit default value in insert & update statement

Copy rows from another table


INSERT ALL statement / INSERT FIRST
24-Manipulating Data
Another "INSERT ALL" Example & Notes
Creating Matrix Report Using PIVOT
The Merge Statement
FLASHBACK Table & System change Number ( SCN)
THE INTERVAL ( YEAR TO MONTH / day TO second)
to_yminterval / to_dsinterval
Extract function
25-Managing Data in Different Time Zones timestamp / timestamp with time zone
V$TIMEZONE_NAMES and some functions
timestamp with local time zone
TZ_OFFSET / FROM_TZ / TO_TIMESTAMP
26-Exam 1Z0-061 26-Exam 1Z0-061