Get in Touch

Course Outline

Data Selection from Databases

  • Syntax conventions
  • Retrieving all columns
  • Projection
  • Arithmetic operations in SQL
  • Column aliases
  • Literals
  • String concatenation

Filtering Result Sets

  • WHERE clause usage
  • Comparison operators
  • LIKE condition
  • BETWEEN...AND condition
  • IS NULL condition
  • IN condition
  • Logical operators (AND, OR, NOT)
  • Combining multiple conditions in the WHERE clause
  • Operator precedence
  • DISTINCT clause

Sorting Result Sets

  • ORDER BY clause
  • Sorting by multiple columns or expressions

SQL Functions

  • Distinction between single-row and multi-row functions
  • Character, numeric, and DateTime functions
  • Explicit and implicit type conversion
  • Conversion functions
  • Nested function calls
  • Dual table usage (Oracle vs. other databases)
  • Retrieving current date and time using various functions

Aggregating Data with Aggregate Functions

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

Retrieving Data from Multiple Tables

  • Various types of joins
  • NATURAL JOIN
  • Table aliases
  • Oracle syntax - join conditions in the WHERE clause
  • SQL99 syntax - INNER JOIN
  • SQL99 syntax - LEFT, RIGHT, and FULL OUTER JOINS
  • Cartesian product - Oracle and SQL99 syntax

Subqueries

  • Appropriate contexts for subqueries
  • Single-row and multi-row subqueries
  • Single-row subquery operators
  • Using aggregate functions in subqueries
  • Multi-row subquery operators - 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 Samples

  • Tree structure construction (CONNECT BY PRIOR and START WITH clauses)
  • SYS_CONNECT_BY_PATH function

Conditional Expressions

  • CASE expression
  • DECODE expression

Data Management Across Time Zones

  • Time zone concepts
  • TIMESTAMP data types
  • Differences between DATE and TIMESTAMP
  • Time zone conversion operations

Analytic Functions

  • Application of analytic functions
  • Partitions
  • Windows
  • Rank functions
  • Reporting functions
  • LAG/LEAD functions
  • FIRST/LAST functions
  • Reverse percentile functions
  • Hypothetical rank functions
  • WIDTH_BUCKET functions
  • Statistical functions

Requirements

No prior specific requirements or prerequisites are necessary to enrol in this course.

 21 Hours

Number of participants


Price per participant

Testimonials (7)

Provisional Upcoming Courses (Require 5+ participants)

Related Categories