Training

 

 

Popular Courses

Browse Our Free Resources

  • whitepapers
  • whitepapers
  • webinars
  • blogs

Our Locations

Training Centres

Vancouver, BC
Calgary, AB
Edmonton, AB
Toronto, ON
Ottawa, ON
Montreal, QC
Hunt Valley
Columbia

locations map

Calgary

550 6th Av SW
Suite 475
Calgary, AB
T2P 0S2

Toronto

821A Bloor Street West
Toronto, ON
M6G 1M1

Vancouver

409 Granville St
Suite 902
Vancouver, BC
V6C 1T2

U.S. Office

436 York Road
Suite 1
Jenkintown, PA
19046

Other Locations

Dallas, TX
Miami, FL

Home > Training > Oracle 12c > Oracle Database 12c: SQL II - Intermediate Training

Oracle Database 12c: SQL II - Intermediate Training

Course#: TP2641

This course builds upon the prerequisite introductory volume from the Oracle Database 12c: SQL Expert Series and considers intermediate-level SQL topics such as writing database queries using the SQL-99 syntax and exploiting the power of built-in functions that extend the capabilities of SQL.

You will learn how to complete of an application schema definition by creating database objects such as relational views, sequences, synonyms, indexes and others to compliment the table definitions. The crucial topic of data integrity and how this is protected using declarative constraints is covered.

With this course we will also leave the idyllic realm of the learning environment and begin to explore such practical real-­‐world considerations as database object security and database performance.

Objectives

This course demonstrates how one can build intermediate-level and even advanced queries using the SQL-­‐99 join syntax, along with other advanced query topics. It also considers both ANSI/ISO and native Oracle SQL built-in functions and the tremendous power that functions offer to SQL operations. It is difficult for one to use SQL within a production environment without liberal use of the built-in functions. Among many other tasks, the built-in functions allow one to move beyond the use of primitive date data types and values to include timestamps, time zones and to address other realistic date and time challenges. Finally attention is given to how one completes an application schema by creating database objects to compliment table definitions. One cannot implement a production database application simply with table and column definitions but needs to create and manage views, indexes, constraints and other object types.

Audience

The audience for this course is all Oracle professionals, both business and systems professionals. Among the specific groups for whom this course will be helpful are:

  • Business and non-IT professionals
  • Application designers and developers
  • Business Intelligence (BI) analysts and consumers
  • Database administrators
  • Web server administrators

Duration

3 Days

Outline of TP2641 Oracle Database 12c: SQL II - Intermediate Training

1. Understanding The Data Models

  • The Company Data Model
  • The Electronics Data Model

2. About The SQL-99 Standard

  • SQL-92 & SQL-99
  • Cross Joins
  • Natural Joins
  • Inner Joins
  • Implicit Inner Join
  • Outer Joins
  • Anti Joins
  • Named Sub - Queries

3. Enhancing Groups With ROLLUP & CUBE

  • Using ROLLUP
  • The GROUPING() Function
  • Using CUBE

4. Using The CASE Expression Sql Functions: Character Handling

  • What Are The Sql Functions?
  • String Formatting Functions
  • UPPER(), LOWER() Example
  • INITCAP() Example
  • Character Codes Functions
  • CHR(), ASCII() Examples
  • PAD & TRIM FUNCTIONS
  • RPAD() Example
  • RTRIM() Example
  • TRIM() Example
  • String Manipulation Functions
  • DECODE() Example
  • SUBSTR() Example
  • INSTR() Example
  • TRANSLATE() Example
  • REPLACE() Example
  • String Comparison Functions
  • LEAST() Example
  • Phonetic Search Function
  • SOUNDEX() Example

5. Sql Functions: Numeric Handling

  • About The Numeric Data Functions
  • GREATEST() Example
  • ABS() Example
  • ROUND() Example
  • TRUNC() Example
  • SIGN() Example
  • TO_NUMBER() Example & Data Type Conversions
  • NULL VALUES FUNCTIONS
  • NVL() & NVL2() Function
  • NVL() Example (Character)
  • NVL() Example (Numeric Loss Of Data)
  • NVL() Example (Numeric Output)
  • NVL2() Example
  • COALESCE() Function
  • NULLIF() Function

6. Sql Functions: Date Handling

  • Date Formatting Functions
  • TO_CHAR() & TO_DATE() Format Patterns
  • TO_CHAR() Examples
  • TO_DATE() Examples
  • EXTRACT() Example
  • DATE ARITHMETIC FUNCTIONS
  • MONTHS_BETWEEN() Example
  • ADD_MONTHS() Example
  • LAST_DAY() Example
  • NEXT_DAY() Example
  • TRUNC(), ROUND() Dates Example
  • NEW_TIME() Example
  • About V$TIMEZONE_NAMES
  • CAST() FUNCTION & TIME ZONES

7. Database Objects: About Database Objects

  • About Database Objects
  • About Schemas
  • Making Object References

8. Database Objects: Relational Views

  • About Relational Views
  • The Create View Statement
  • Why Use Views?
  • Accessing Views With DML
  • Maintaining View Definitions
  • Alter View
  • Drop View
  • DDL Using SQL Developer

9. Database Objects: Indexes

  • About Indexes
  • CREATE & DROP INDEX Statements
  • Indexes & Performance
  • Data Dictionary Storage

10. Database Objects: Creating Other Objects

  • About Sequences
  • Referencing NEXTVAL
  • Referencing CURRVAL
  • Within The DEFAULT Clause
  • ALTER SEQUENCE & DROP SEQUENCE
  • ALTER SEQUENCE
  • DROP SEQUENCE
  • About Identity Columns
  • CREATE TABLE ... GENERATED AS IDENTITY
  • ALTER TABLE ... GENERATED AS IDENTITY
  • START WITH LIMIT VALUE
  • ALTER TABLE ... DROP IDENTITY
  • ABOUT SYNONYMS
  • CREATE & DROP SYNONYM Statements
  • CREATE SYNONYM
  • DROP SYNONYM
  • Public Vs. Private Synonyms
  • CREATE SCHEMA AUTHORIZATION

11. Database Objects: Object Management Using DDL

  • The RENAME Statement
  • TABLESPACE Placement
  • CREATE TABLE ... TABLESPACE
  • The COMMENT Statement
  • The TRUNCATE TABLE Statement

12. Database Objects: Security

  • About Object Security
  • Grant Object Privileges
  • Revoke Object Privileges
  • Object Privileges & SQL Developer

13. Data Integrity Using Constraints

  • About Constraints
  • NOT NULL Constraint
  • NOT NULL Example
  • CHECK Constraint
  • UNIQUE Constraint
  • PRIMARY KEY Constraint
  • REFERENCES Constraint
  • ON DELETE CASCADE Example
  • ON DELETE SET NULL Example
  • CONSTRAINTS ON EXISTING TABLES
  • Constraints & SQL Developer

14. Managing Constraint Definitions

  • Renaming & Dropping Constraints
  • Enabling & Disabling Constraints
  • Deferred Constraint Enforcement
  • Set Constraints
  • Handling Constraint Exceptions
  • Constraints With Views
  • Data Dictionary Storage

15. The Data Dictionary Structure

  • More About The Data Dictionary
  • Object - Specific Dictionary Views
  • USER_UPDATABLE_COLUMNS
  • The Dictionary Structure
  • Metadata & SQL Developer
We regularly offer classes in these and other cities. Atlanta, Austin, Baltimore, Calgary, Chicago, Cleveland, Dallas, Denver, Detroit, Houston, Jacksonville, Miami, Montreal, New York City, Orlando, Ottawa, Philadelphia, Phoenix, Pittsburgh, Seattle, Toronto, Vancouver, Washington DC.
*Your name:

*Your e-mail:

*Phone:

*Company name:

Additional notes:

We have received your message. A sales representative will contact you soon.

Thank you!.

more details
buy this course

Register for a courseware sample

It's simple, and free.

 

Thank You!

You will receive an email shortly containing a link to download the requested sample of the labs for this course.