course

Home / Courses / Introduction to Writing SQL Queries (TTSQL003)

Course Objectives

This course combines expert lecture, real-world demonstrations and group discussions with machine-based practical labs and exercises. Working in a hands-on learning environment led by our expert practitioner, attendees will learn to:

  • Maximize the potential of SQL to build powerful, complex and robust SQL queries Query multiple tables with inner joins, outer joins and self joins Construct recursive common table expressions Summarize data using aggregation and grouping Execute analytic functions to calculate ranks Build simple and correlated subqueries Thoroughly test SQL queries to avoid common errors Select the most efficient solution to complex SQL problems

Agenda

  • Introduction to SQL and its development environments
  • Using SQL*PLUS
  • Using SQL Developer

  • Capabilities of the SELECT statement
  • Arithmetic expressions and NULL values in the SELECT statement
  • Column aliases
  • Use of concatenation operator, literal character strings, alternative quote operator, and the DISTINCT keyword
  • Use of the DESCRIBE command

  • Limiting the Rows
  • Rules of precedence for operators in an expression
  • Substitution Variables
  • Using the DEFINE and VERIFY command

  • Describe the differences between single row and multiple row functions
  • Manipulate strings with character function in the SELECT and WHERE clauses
  • Manipulate numbers with the ROUND, TRUNC and MOD functions
  • Perform arithmetic with date data
  • Manipulate dates with the date functions

  • Describe implicit and explicit data type conversion
  • Use the TO_CHAR, TO_NUMBER, and TO_DATE conversion functions
  • Nest multiple functions
  • Apply the NVL, NULLIF, and COALESCE functions to data
  • Decode/Case Statements

  • Group Functions
  • Creating Groups of Data
  • Having Clause
  • Cube/Rollup Clause

  • Introduction to JOINS
  • Types of Joins
  • Natural join
  • Self-join
  • Non equijoins
  • OUTER join

  • Introduction to Subqueries
  • Single Row Subqueries
  • Multiple Row Subqueries

  • Set Operators
  • UNION and UNION ALL operator
  • INTERSECT operator
  • MINUS operator
  • Matching the SELECT statements

  • Data Manipulation Language
  • Database Transactions
  • Insert
  • Update
  • Delete
  • Merge

  • Data Definition Language
  • Create
  • Alter
  • Drop

  • Introduction to Data Dictionary
  • Describe the Data Dictionary Structure
  • Using the Data Dictionary views
  • Querying the Data Dictionary Views
  • Dynamic Performance Views

  • Creating sequences
  • Creating synonyms
  • Creating indexes
  • Index Types

  • Creating Views
  • Altering Views
  • Replacing Views

  • Managing constraints
  • Creating and using temporary tables
  • Creating and using external tables

  • Retrieving Data by Using a Subquery as Source
  • Working with Multiple-Column subqueries
  • Correlated Subqueries
  • Non-Correlated Subqueries
  • Using Subqueries to Manipulate Data
  • Using the Check Option
  • Subqueries in Updates and Deletes
  • In-line Views

  • System privileges
  • Creating a role
  • Object privileges
  • Revoking object privileges

  • Overview of the Explicit Default Feature
  • Using multitable INSERTs
  • Using the MERGE statement
  • Tracking Changes in Data
Tags
Technical Product Line: Other Technical Vendor: TriveraTech Core Type: Core 0
FREE

Interested in course?


Course Type: Instructor Led