Get in Touch

Course Outline

Data Retrieval from Database

  • Syntax fundamentals
  • Selecting all columns
  • Projection techniques
  • Arithmetic operations in SQL
  • Column aliases
  • Literals
  • String concatenation

Filtering Result Sets

  • Understanding the WHERE clause
  • Comparison operators
  • PATTERN matching with LIKE
  • Range filtering with BETWEEN...AND
  • Handling nulls with IS NULL
  • List matching with IN
  • Logical operators: AND, OR, NOT
  • Implementing multiple conditions in WHERE clause
  • Operator precedence
  • Removing duplicates with DISTINCT

Sorting Result Sets

  • Using the ORDER BY clause
  • Sorting by multiple columns or expressions

SQL Functions

  • Distinguishing between single-row and multi-row functions
  • Character, numeric, and DateTime functions
  • Explicit versus implicit data conversion
  • Data conversion functions
  • Nesting functions
  • Understanding the DUAL table (Oracle vs. other databases)
  • Retrieving current date and time using various functions

Aggregating Data with Aggregate Functions

  • Overview of aggregate functions
  • Behavior of aggregate functions with NULL values
  • Grouping data with the GROUP BY clause
  • Grouping by multiple columns
  • Filtering aggregated results using the HAVING clause
  • Multidimensional grouping: ROLLUP and CUBE operators
  • Identifying summary rows with GROUPING
  • Using the GROUPING SETS operator

Retrieving Data from Multiple Tables

  • Types of joins
  • NATURAL JOIN
  • Table aliases
  • Oracle syntax: Join conditions in the WHERE clause
  • SQL99 standard: INNER JOIN
  • SQL99 standard: LEFT, RIGHT, and FULL OUTER JOINS
  • Cartesian product syntax in Oracle and SQL99

Subqueries

  • When and where to use subqueries
  • Single-row versus multi-row subqueries
  • Operators for single-row subqueries
  • Incorporating aggregate functions within subqueries
  • Operators for multi-row subqueries: IN, ALL, ANY

Set Operators

  • UNION
  • UNION ALL
  • INTERSECT
  • MINUS/EXCEPT

Transactions

  • COMMIT, ROLLBACK, and SAVEPOINT statements

Other Schema Objects

  • Sequences
  • Synonyms
  • Views

Hierarchical Queries and Examples

  • Constructing trees using CONNECT BY PRIOR and START WITH clauses
  • Using the SYS_CONNECT_BY_PATH function

Conditional Expressions

  • CASE expression
  • DECODE expression

Data Management Across Time Zones

  • Understanding time zones
  • TIMESTAMP data types
  • Differences between DATE and TIMESTAMP
  • Conversion operations

Analytic Functions

  • Usage overview
  • Partitions
  • Window frames
  • Ranking functions
  • Reporting functions
  • LAG and LEAD functions
  • FIRST and LAST value functions
  • Inverse percentile functions
  • Hypothetical ranking functions
  • WIDTH_BUCKET functions
  • Statistical functions

Requirements

There are no specific prerequisites required to enroll in this course.

 21 Hours

Number of participants


Price per participant

Testimonials (7)

Upcoming Courses

Related Categories