Get in Touch
 Duration 21 hours

Course Outline

Extracting Data from Databases

  • SQL syntax conventions
  • Retrieving all columns
  • Column projection
  • Arithmetic operations within SQL
  • Assigning column aliases
  • Working with literals
  • String concatenation

Refining Result Sets via Filtering

  • Utilizing the WHERE clause
  • Employing comparison operators
  • Pattern matching with LIKE
  • Range filtering with BETWEEN...AND
  • Checking for NULL values
  • Member checks with the IN condition
  • Logical operators: AND, OR, NOT
  • Combining multiple conditions in WHERE clauses
  • Operator precedence rules
  • Removing duplicates with the DISTINCT clause

Organizing Results through Sorting

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

Implementing SQL Functions

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

Aggregating Data with Aggregate Functions

  • Overview of aggregate functions
  • Handling NULL values in aggregates
  • Grouping data with the GROUP BY clause
  • Grouping by various column combinations
  • Filtering aggregated results using the HAVING clause
  • Multi-dimensional grouping with ROLLUP and CUBE operators
  • Identifying summary rows with the GROUPING function
  • Using the GROUPING SETS operator

Retrieving Data Across Multiple Tables

  • Various types of joins
  • NATURAL JOIN implementation
  • Using table aliases
  • Oracle syntax: specifying 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

Utilizing Subqueries

  • Identifying appropriate contexts for subqueries
  • Distinguishing single-row and multi-row subqueries
  • Operators for single-row subqueries
  • Integrating aggregate functions within subqueries
  • Multi-row subquery operators: IN, ALL, ANY

Combining Result Sets with Set Operators

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

Managing Transactions

  • Using COMMIT, ROLLBACK, and SAVEPOINT statements

Exploring Other Schema Objects

  • Creating and using Sequences
  • Working with Synonyms
  • Defining Views

Performing Hierarchical Queries and Sampling

  • Building tree structures with CONNECT BY PRIOR and START WITH clauses
  • Using the SYS_CONNECT_BY_PATH function

Applying Conditional Expressions

  • The CASE expression
  • The DECODE expression

Managing Data Across Time Zones

  • Understanding time zones
  • TIMESTAMP data types
  • Distinguishing between DATE and TIMESTAMP
  • Executing conversion operations

Leveraging Analytic Functions

  • Applications of analytic functions
  • Defining partitions
  • Configuring 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

No specific prerequisites are required to participate in this course.

Testimonials (7)

Upcoming Courses

Related Categories