Get in Touch
 Duration 21 hours

Course Outline

Data Selection from Databases

  • SQL syntax fundamentals
  • Retrieving all columns
  • Column projection
  • Performing arithmetic operations in SQL
  • Using column aliases
  • Working with literals
  • String concatenation

Filtering Result Sets

  • The WHERE clause
  • Comparison operators
  • The LIKE condition
  • The BETWEEN...AND condition
  • The IS NULL condition
  • The IN condition
  • Logical operators: AND, OR, NOT
  • Combining multiple conditions in the WHERE clause
  • Operator precedence
  • Eliminating duplicates with the DISTINCT clause

Sorting Result Sets

  • 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 type conversion
  • Using conversion functions
  • Nested function calls
  • The Dual table (comparison between Oracle and 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
  • The GROUP BY clause
  • Grouping by different columns
  • Filtering aggregated results with the HAVING clause
  • Multi-dimensional grouping using ROLLUP and CUBE operators
  • Identifying rollup summaries with the GROUPING function
  • The GROUPING SETS operator

Querying Multiple Tables

  • Different types of joins
  • NATURAL JOIN
  • 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

Subqueries

  • Placement and usage contexts for 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 Operators

  • UNION
  • UNION ALL
  • INTERSECT
  • MINUS/EXCEPT

Transactions

  • COMMIT, ROLLBACK, and SAVEPOINT statements

Additional Schema Objects

  • Sequences
  • Synonyms
  • Views

Hierarchical Queries and Sampling

  • Constructing tree structures (CONNECT BY PRIOR and START WITH clauses)
  • The SYS_CONNECT_BY_PATH function

Conditional Expressions

  • Case expressions
  • Decode expressions

Managing Data Across Time Zones

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

Analytic Functions

  • Usage of analytic functions
  • Data partitions
  • Window definitions
  • Ranking functions
  • Reporting functions
  • LAG/LEAD functions
  • FIRST/LAST functions
  • Reverse percentile functions
  • Hypothetical rank functions
  • WIDTH_BUCKET functions
  • Statistical functions

Requirements

No specific prerequisites are required to enroll in this course.

Number of participants


Price per participant

Testimonials (7)

Upcoming Courses

Related Categories