Get in Touch

Course Outline

Extracting data from databases

  • Adhering to syntax conventions
  • Retrieving all columns
  • Applying projection
  • 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
  • Applying the BETWEEN...AND condition
  • Handling NULL values with IS NULL
  • Using the IN condition
  • Combining conditions with AND, OR, and NOT
  • Managing multiple conditions within a WHERE clause
  • Understanding operator precedence
  • Eliminating duplicates with the DISTINCT clause

Ordering result sets

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

SQL Functions

  • Distinguishing between single-row and multi-row functions
  • Character, numeric, and DateTime functions
  • Explicit and implicit data conversion
  • Using conversion functions
  • Nesting functions
  • The Dual table (comparing Oracle with other databases)
  • Retrieving the current date and time using various functions

Aggregating data with aggregate functions

  • Overview of aggregate functions
  • Handling aggregate functions with NULL values
  • Using the GROUP BY clause
  • Grouping data by different columns
  • Filtering aggregated data using the HAVING clause
  • Multi-dimensional grouping with ROLLUP and CUBE operators
  • Identifying summary rows using GROUPING
  • Applying the GROUPING SETS operator

Accessing data from multiple tables

  • Exploring different join types
  • Using NATURAL JOIN
  • Defining table aliases
  • Oracle syntax: join conditions within the WHERE clause
  • SQL99 syntax: INNER JOIN
  • SQL99 syntax: LEFT, RIGHT, and FULL OUTER JOINS
  • Cartesian products in Oracle and SQL99 syntax

Subqueries

  • Identifying appropriate contexts for subqueries
  • Single-row and multi-row subqueries
  • Single-row subquery operators
  • Incorporating aggregate functions in subqueries
  • Multi-row subquery operators: IN, ALL, and ANY

Set operators

  • UNION
  • UNION ALL
  • INTERSECT
  • MINUS/EXCEPT

Transactions

  • Managing COMMIT, ROLLBACK, and SAVEPOINT statements

Additional schema objects

  • Sequences
  • Synonyms
  • Views

Hierarchical queries and examples

  • Constructing trees using CONNECT BY PRIOR and START WITH clauses
  • The SYS_CONNECT_BY_PATH function

Conditional expressions

  • CASE expressions
  • DECODE expressions

Data management across time zones

  • Understanding time zones
  • TIMESTAMP data types
  • Distinguishing between DATE and TIMESTAMP
  • Conversion processes

Analytic functions

  • Practical applications
  • Partitions
  • Windows
  • Ranking functions
  • Reporting functions
  • LAG/LEAD functions
  • FIRST/LAST functions
  • Reverse percentile functions
  • Hypothetical ranking functions
  • WIDTH_BUCKET functions
  • Statistical functions

Requirements

No prior specific experience or prerequisites are required to participate in this course.

 21 Hours

Testimonials (7)

Related Categories