Get in Touch

Course Outline

Extracting Data from Databases

  • Understanding syntax rules
  • Retrieving all columns
  • Projection concepts
  • Performing arithmetic operations in SQL
  • Using column aliases
  • Working with literals
  • String concatenation

Filtering Result Sets

  • Applying the WHERE clause
  • Using comparison operators
  • Utilizing the LIKE condition
  • Employing BETWEEN...AND conditions
  • 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 order
  • Eliminating duplicates with the DISTINCT clause

Ordering Result Sets

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

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: Oracle specific 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 data by different columns
  • Filtering aggregated data using the HAVING clause
  • Multidimensional grouping with ROLLUP and CUBE operators
  • Identifying summary rows with the GROUPING function
  • Utilizing the GROUPING SETS operator

Querying Multiple Tables

  • Various types of joins
  • NATURAL JOIN implementation
  • Assigning table aliases
  • Oracle style: specifying join conditions in the WHERE clause
  • SQL99 style: INNER JOIN
  • SQL99 style: LEFT, RIGHT, and FULL OUTER JOINS
  • Cartesian products in Oracle and SQL99 syntax

Subqueries

  • Identifying where subqueries can be placed
  • Differentiating single-row and multi-row subqueries
  • Operators for single-row subqueries
  • Using aggregate functions within subqueries
  • Multi-row subquery operators: IN, ALL, ANY

Set Operators

  • UNION
  • UNION ALL
  • INTERSECT
  • MINUS/EXCEPT

Transactions

  • Managing COMMIT, ROLLBACK, and SAVEPOINT statements

Other Schema Objects

  • Sequences
  • Synonyms
  • Views

Hierarchical Queries and Sampling

  • Constructing tree structures using CONNECT BY PRIOR and START WITH clauses
  • Using the SYS_CONNECT_BY_PATH function

Conditional Expressions

  • The CASE expression
  • The DECODE expression

Managing Data Across Time Zones

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

Analytic Functions

  • Application and use cases
  • Partitions
  • 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 prior specific experience or requirements are necessary to enroll in this course.

 21 Hours

Number of participants


Price per participant

Testimonials (7)

Upcoming Courses

Related Categories