Get in Touch

Course Outline

Extracting Data from Databases

  • Syntactic rules and standards
  • Retrieving all columns
  • Concept of projection
  • Performing arithmetic calculations in SQL
  • Defining column aliases
  • Handling literals
  • String concatenation techniques

Refining Result Sets with Filters

  • Using the WHERE clause
  • Applying comparison operators
  • Pattern matching with LIKE
  • Range filtering with BETWEEN...AND
  • Handling null values with IS NULL
  • Membership testing with IN
  • Logical operators: AND, OR, NOT
  • Combining multiple conditions within the WHERE clause
  • Understanding operator precedence
  • Eliminating duplicates with the DISTINCT clause

Ordering Query Results

  • Utilizing the ORDER BY clause
  • Sorting by multiple columns or complex expressions

Utilizing SQL Functions

  • Distinguishing between single-row and multi-row functions
  • Character, numeric, and DateTime function sets
  • Explicit versus implicit data conversion
  • Specific conversion functions
  • Nesting functions for complex logic
  • The Dual table (comparing Oracle with other database systems)
  • 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 diverse column combinations
  • Filtering aggregated results using the HAVING clause
  • Multidimensional grouping with ROLLUP and CUBE operators
  • Identifying summary rows with GROUPING
  • The GROUPING SETS operator

Combining Data from Multiple Tables

  • Exploring different join types
  • NATURAL JOIN mechanism
  • Assigning table aliases
  • Oracle-specific syntax: join conditions within the WHERE clause
  • SQL99 standard: INNER JOIN
  • SQL99 standard: LEFT, RIGHT, and FULL OUTER JOINS
  • Cartesian product: syntax in Oracle and SQL99

Employing Subqueries

  • Valid contexts for using subqueries
  • Differences between single-row and multi-row subqueries
  • Operators for single-row subqueries
  • Incorporating aggregate functions within subqueries
  • Operators for multi-row subqueries: IN, ALL, ANY

Using Set Operators

  • UNION operation
  • UNION ALL operation
  • INTERSECT operation
  • MINUS/EXCEPT operations

Managing Transactions

  • Using COMMIT, ROLLBACK, and SAVEPOINT statements

Exploring Other Schema Objects

  • Sequences
  • Synonyms
  • Views

Hierarchical Queries and Examples

  • Building tree structures (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
  • Distinguishing between DATE and TIMESTAMP types
  • Time zone conversion operations

Analytic Functions

  • Application scenarios
  • Defining partitions
  • Setting up windows
  • Ranking functions
  • Reporting functions
  • LAG and LEAD functions
  • FIRST and LAST functions
  • Reverse percentile functions
  • Hypothetical rank functions
  • WIDTH_BUCKET functions
  • Statistical functions

Requirements

No specific prerequisites are required to participate in this course.

 21 Hours

Number of participants


Price per participant

Testimonials (7)

Upcoming Courses

Related Categories