Get in Touch
 Duration 21 hours

Course Outline

Extracting data from databases

  • Syntactic conventions
  • Retrieving all columns
  • Data projection
  • Executing arithmetic operations in SQL
  • Defining column aliases
  • Handling literals
  • String concatenation

Filtering result sets

  • Utilizing the WHERE clause
  • Comparison operators
  • Pattern matching with LIKE
  • Range specification using BETWEEN...AND
  • Null value testing with IS NULL
  • Membership testing with IN
  • Logical operators: AND, OR, NOT
  • Combining multiple conditions in the WHERE clause
  • Operator precedence
  • Eliminating duplicates with the DISTINCT clause

Sorting result sets

  • Applying the ORDER BY clause
  • Sorting by multiple columns or calculated expressions

SQL Functions

  • Distinguishing between single-row and multi-row functions
  • Character, numeric, and DateTime functions
  • Explicit versus implicit data type conversion
  • Using conversion functions
  • Nesting functions
  • The Dual table (Oracle vs other database systems)
  • Retrieving current date and time using various functions

Aggregating data using aggregate functions

  • Overview of aggregate functions
  • Handling NULL values in aggregate functions
  • Grouping data with the GROUP BY clause
  • Grouping by multiple columns
  • Filtering aggregated data with the HAVING clause
  • Multi-dimensional data grouping using ROLLUP and CUBE operators
  • Identifying rollups and cubes with GROUPING
  • The GROUPING SETS operator

Retrieving data from multiple tables

  • Different types of joins
  • NATURAL JOIN
  • Table aliasing
  • Oracle syntax - specifying join conditions in the WHERE clause
  • SQL99 syntax - INNER JOIN
  • SQL99 syntax - LEFT, RIGHT, and FULL OUTER JOINS
  • Cartesian products - Oracle and SQL99 syntax

Subqueries

  • Contexts for using subqueries
  • Single-row and multi-row subqueries
  • Operators for single-row subqueries
  • Using 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 samples

  • Constructing tree structures (CONNECT BY PRIOR and START WITH clauses)
  • Using the SYS_CONNECT_BY_PATH function

Conditional expressions

  • CASE expressions
  • DECODE expressions

Managing data across different time zones

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

Analytic functions

  • Application of analytic functions
  • Partitioning
  • Windowing
  • Ranking functions
  • Reporting functions
  • LAG/LEAD functions
  • FIRST/LAST functions
  • Reverse percentile functions
  • Hypothetical rank functions
  • WIDTH_BUCKET functions
  • Statistical functions

Requirements

There are no specific prerequisites required to attend this course.

Number of participants


Price per participant

Testimonials (7)

Upcoming Courses

Related Categories