SQL: – Introduction Using Oracle Database (Used at PGE)
$200 Per Day
035200SE (Rev 1.0)
English
Course Length: 3 days
Description
Learning the SQL language is one of the most basic tasks required for the use of a relational database. SQL proficiency is essential for business users, database developers, database administrators and any other database professional. This textbook introduces the basics of the SQL language and the Oracle Relational Database Management System (RDBMS). One will become acquainted with the differences in the working environment between a traditional on-premise database installation and the Oracle database service cloud-computing platform.
Since SQL is an industry standard language, many of the topics presented and many of the skills you will acquire will be applicable to other database platforms, such as Microsoft SQL Server, IBM DB2, the open-source databases MySQL and PostgreSQL, and others.
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.
Audience
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
Training Suggestions
This textbook may be used as one module within a Sideris textbook kit entitled Oracle Database 12c: SQL – Fundamentals (Levels I & II). When delivered in this format as an instructor-led training (ILT) or live virtual training session, the suggested presentation length of all chapters is between 5 and 6 days.
The sequence in which the modules should be considered is as follows:
Oracle Database 12c: SQL I – Introduction
Oracle Database 12c: SQL II – Intermediate
Certification
This textbook and the subsequent ones within this series consider subjects applicable to certification as an Oracle Database Certified SQL Expert. The topics considered are included within “Exam 1Z0-047: Oracle Database: SQL Certified Expert”.
Objectives
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.
Content
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 SQLPLUS
- Setup JDEVELOPER
Using the Database Interface
- About Bind & Substitution Variables
- Using SQL Developer
- Using SQLPlus
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 JOIN
- REFLEXIVE JOIN
- NON-KEY JOIN
- OUTER JOIN
Using the Set Operators
- About the Set Operators
- SQL Set Operator Examples
- UNION Example
- INTERSECT example
- MINUS example
- UNION ALL
Using Sub-Queries
- Finding DAT 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 commits
- Transaction savepoint
- The set transaction statement
- Set transaction read only statement rules