Oracle 12c SQL Fundamentals

4.6 out of 5 rating

Jump to dates

Duration

5 Days

30 CPD hours

This course is intended for

The target audience for this textbook is all Oracle professionals, both business and systems professionals. Among the specific groups for whom this textbook will be helpful are:
? Business and non-IT professionals
? Application designers and database developers
? Business Intelligence (BI) analysts and consumers
? Database administrators
? Web server administrators

Overview

The first portion of this textbook considers the logical models upon which a relational database is based and the various configurations and environments in which you may work with the Oracle database. The next segment focuses on the actual SQL syntax for writing database queries. You will begin with the simplest of queries and then proceed onto moderately complex query scenarios. Finally, this textbook covers the DDL, DML and transaction control portions of the SQL language that allow one to create, maintain and manipulate application database objects and application data.

Description

This textbook takes a unique approach to SQL training in that it incorporates data modeling theory, relational database theory, graphical depictions of theoretical concepts and numerous examples of actual SQL syntax into one learning vehicle.

Relational Databases & Data Models
  • About Data Models
  • About the Relational Model
  • The Electronics Data Model
  • About the Relational DBMS
Selection & Setup of the Database Interface
  • Considering Available Tools
  • Selecting the Appropriate Tool
  • Oracle Net Database Connections
  • Oracle PAAS Database Connections
  • Setup SQL Developer
  • Setup SQL*Plus
  • Setup Jdeveloper
Using the Database Interface
  • About Bind & Substitution Variables
  • Using SQL Developer
  • Using SQL*Plus
Introduction to the SQL Language
  • About the SQL Language
  • Characteristics of SQL
  • Introducing SQL Using Select
  • SQL Rules
The Select Statement
  • The Select Statement
  • Distinct/Unique Keyword
  • Using Alias Names
Restricting Results with the Where Clause
  • About Logical Operators
  • Equality Operator
  • Boolean Operators
  • REGEXP_LIKE()
  • In Operator
Sorting Data with the Order By Clause
  • About the Order by Clause
  • Multiple Column Sorts
  • Specify the Sort Sequence
  • About Null Values within Sorts
  • Using Column Aliases
Pseudo Columns, Functions & Top-N Queries
  • Rowid Pseudo Column
  • ORA_ROWSCN PSEUDO Column
  • ROWNUM Pseudo Column
  • About the Built-In Functions
  • SYSDATE
  • User & UID
  • SESSIONTIMEZONE Function
  • Using the Dual Table
  • Row Limiting & Top-N Queries
  • FETCH First x Rows Only Clause
  • OFFSET x Rows Clause
  • FETCH?PERCENT Clause
  • The WITH TIES Option
Joining Tables
  • About Joins
  • Inner Joins
  • Reflexive Join
  • Non-Key Join
  • Outer Join
Using the Set Operators
  • About the Set Operators
  • SQL Set Operator Examples
  • UNION Example
  • INTERECT Example
  • MINUS Example
  • UNION All
Summary Functions Using Sub-Queries
  • Finding Data with Sub-Queries
  • Standard Sub-Queries
  • Correlated Sub-Queries
  • The EXISTS Operator
Aggregating Data within Groups
  • About Summary Groups
  • Find Groups within the Tables
  • Select Data From the Base Tables
  • Select Groups from the Results
Use DDL to Create & Manage Tables
  • Create Table Statement
  • Column Data Types
  • Not Null
  • Default
  • Describe
  • Alter Table Statement
  • Drop Table Statement
  • Table DDL Using SQL Developer
  • Alter User Statement
  • Alter Session Statement
  • NLS_Language
  • NLS_Date
Use DML to Manipulate Data
  • The Insert Statement
  • The Delete Statement
  • The Update Statement
  • About Transactions
  • Transaction Rollback
  • Transaction Commit
  • Transaction Savepoint
  • The Set Transaction Statement
  • Set Transaction Read Only Statement Rules
Understanding the Data Models
  • The Company Data Model
  • The Electronics Data Model
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
Enhancing Groups with Rollup & Cube
  • Using Rollup
  • The Grouping() Function
  • Using Cube
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
SQL Functions: Numeric Handling
  • About the Numeric Data Functions
  • GREATEST() Example
  • ABS() Example
  • ROUND() Example
  • TRUNC() Example
  • SIGN() Example
  • TO_NUMBER() Example & Data ype 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
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
Database Objects: About Database Objects
  • About Database Objects
  • About Schemas
  • Making Object References
Database Objects: Relational Views
  • About Relations Views
  • The Create View Statement
  • Why Use Views?
  • Accessing Views with DML
  • Maintaining View Definitions
  • Alter View
  • Drop View
  • DDL Using SQL Developer
Database Objects: Indexes
  • About Indexes
  • Create & Drop Index Statements
  • Indexes & Performance
  • Data Dictionary Storage
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
Database Objects: Object Management Using DDL
  • The RENAME Statement
  • TABLESPACE Placement
  • CREATE TABLE?TABLESPACE
  • The Comment Statement
  • The TRUNCATE TABLE Statement
Database Objects: Security
  • About Object Security
  • Grant Object Privileges
  • Revoke Object Privileges
  • Object Privileges & SQL Developer
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
Managing Constraint Definitions
  • RENAMING & DROPPING Constraints
  • ENABLING & DISABLING Constraints
  • DEFERRED Constraint Enforcement
  • SET CONSTRAINTS
  • Handling Constraint Exceptions
  • Constraints with Views
  • DATA Dictionary Storage
The Data Dictionary Structure
  • More About the Data Dictionary
  • OBJECT-SPECIFIC Dictionary Views
  • USER_UPDATABLE_COLUMNS
  • The Dictionary Structure
  • METADATA & SQL Developer
Training Insurance Included!

When you organise training, we understand that there is a risk that some people may fall ill, become unavailable. To mitigate the risk we include training insurance for each delegate enrolled on our public schedule, they are welcome to sit on the same Public class within 6 months at no charge, if the case arises.

What people say about us


Find out more about this course

Interested in alternative dates? Would like to book a private session of this course for your company? Or for any other queries please simply fill out the form below.