Get in Touch
 Duration 21 hours

Course Outline

Extracting Data from the Database

  • SQL syntax conventions
  • Retrieving all columns
  • Data projection techniques
  • Performing arithmetic operations in SQL
  • Using column aliases
  • Handling literals
  • String concatenation

Filtering Result Sets

  • Utilizing the WHERE clause
  • Applying comparison operators
  • Using the LIKE condition
  • Employing the BETWEEN...AND condition
  • Checking for NULL values with IS NULL
  • Using the IN condition
  • Logical operators: AND, OR, NOT
  • Combining multiple conditions in the WHERE clause
  • Operator precedence
  • Removing duplicates with the DISTINCT clause

Ordering Result Sets

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

SQL Functionality

  • Distinguishing between single-row and multi-row functions
  • Character, numeric, and DateTime functions
  • Explicit and implicit data type conversion
  • Specific conversion functions
  • Nesting functions
  • The Dual table (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 aggregate functions
  • Using the GROUP BY clause
  • Grouping by multiple columns
  • Filtering aggregated data using the HAVING clause
  • Multi-dimensional grouping with ROLLUP and CUBE operators
  • Identifying summary rows with GROUPING
  • The GROUPING SETS operator

Retrieving Data from Multiple Tables

  • Types of table joins
  • 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
  • Understanding the Cartesian product in Oracle and SQL99

Subqueries

  • Appropriate placement and usage of subqueries
  • Single-row vs multi-row subqueries
  • Operators for single-row subqueries
  • Using aggregate functions within subqueries
  • Operators for multi-row subqueries: IN, ALL, ANY

Set Operations

  • UNION
  • UNION ALL
  • INTERSECT
  • MINUS/EXCEPT

Transaction Control

  • COMMIT, ROLLBACK, and SAVEPOINT statements

Additional Schema Objects

  • Sequences
  • Synonyms
  • Views

Hierarchical Queries and Samples

  • Building tree structures using CONNECT BY PRIOR and START WITH
  • The SYS_CONNECT_BY_PATH function

Conditional Expressions

  • CASE expression
  • DECODE expression

Managing Data Across Time Zones

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

Analytic Functions

  • Overview and usage
  • Defining partitions
  • Windowing concepts
  • Ranking 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 are necessary to join this course.

Number of participants


Price per participant

Testimonials (7)

Upcoming Courses

Related Categories