Get in Touch

Course Outline

Retrieving Data from Databases

  • Understanding SQL syntax rules
  • Selecting all columns from a table
  • Concept of projection
  • Performing arithmetical operations within SQL
  • Using column aliases
  • Working with literals
  • String concatenation

Filtering Result Sets

  • Applying the WHERE clause
  • Using comparison operators
  • Pattern matching with the LIKE condition
  • Range checking with the BETWEEN...AND condition
  • Handling null values with IS NULL
  • Filtering by lists using the IN condition
  • Logical operators: AND, OR, and NOT
  • Combining multiple conditions in the WHERE clause
  • Understanding operator precedence
  • Eliminating duplicates with the DISTINCT clause

Sorting Result Sets

  • Using 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 and implicit data conversion
  • Utilizing conversion functions
  • Nesting functions
  • Using the Dual table (specifics for 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 aggregation
  • Using the GROUP BY clause
  • Grouping data by different columns
  • Filtering aggregated results with the HAVING clause
  • Multidimensional grouping using ROLLUP and CUBE operators
  • Identifying summary rows with the GROUPING function
  • Using the GROUPING SETS operator

Fetching Data from Multiple Tables

  • Various types of table joins
  • Using NATURAL JOIN
  • Assigning table aliases
  • Oracle-specific syntax: join conditions in the WHERE clause
  • SQL99 syntax: INNER JOIN
  • SQL99 syntax: LEFT, RIGHT, and FULL OUTER JOINS
  • Cartesian products in 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

  • Using COMMIT, ROLLBACK, and SAVEPOINT statements

Additional Schema Objects

  • Sequences
  • Synonyms
  • Views

Hierarchical Queries and Sampling

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

Conditional Expressions

  • The CASE expression
  • The DECODE expression

Data Management Across Time Zones

  • Understanding time zones
  • TIMESTAMP data types
  • Differences between DATE and TIMESTAMP types
  • Time zone conversion operations

Analytic Functions

  • General usage and applications
  • Defining partitions
  • Working with windows
  • Ranking functions
  • Reporting functions
  • LAG and LEAD functions
  • FIRST and LAST functions
  • Reverse percentile functions
  • Hypothetical ranking functions
  • WIDTH_BUCKET functions
  • Statistical functions

Requirements

There are no specific prerequisites or prior requirements to enroll in this course.

 21 Hours

Number of participants


Price per participant

Testimonials (7)

Upcoming Courses

Related Categories