Get in Touch

Course Outline

Extracting Data from Databases

  • SQL syntax conventions
  • Selecting all available columns
  • Data projection
  • Performing arithmetic operations within SQL
  • Using column aliases
  • Working with literals
  • String concatenation

Filtering Query Results

  • Utilizing the WHERE clause
  • Comparison operators
  • Applying the LIKE condition
  • Using the BETWEEN...AND condition
  • Handling NULL values with IS NULL
  • Using the IN condition
  • Logical operators: AND, OR, NOT
  • Combining multiple conditions within the WHERE clause
  • Operator precedence
  • The DISTINCT clause

Ordering Query Results

  • 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 (differences 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 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
  • The GROUPING SETS operator

Querying Multiple Tables

  • Various types of joins
  • NATURAL JOIN
  • Using table aliases
  • Oracle syntax: 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 of subqueries
  • Single-row and multi-row subqueries
  • Operators for single-row subqueries
  • Incorporating aggregate functions into subqueries
  • Operators for multi-row subqueries: IN, ALL, ANY

Set Operators

  • UNION
  • UNION ALL
  • INTERSECT
  • MINUS/EXCEPT

Transactions

  • Managing data integrity with COMMIT, ROLLBACK, and SAVEPOINT statements

Other 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

  • The CASE expression
  • The DECODE expression

Data Management Across Time Zones

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

Analytic Functions

  • Applications and usage
  • Partitions
  • Windows
  • Ranking functions
  • Reporting functions
  • LAG/LEAD functions
  • FIRST/LAST functions
  • Reverse percentile functions
  • Hypothetical rank functions
  • WIDTH_BUCKET functions
  • Statistical functions

Requirements

No prior prerequisites are required to enroll in this course.

 21 Hours

Testimonials (7)

Upcoming Courses

Related Categories