Get in Touch

Course Outline

Selecting data from database

  • Basic syntax rules
  • Retrieving all columns
  • Data projection
  • Performing arithmetic operations in SQL
  • Assigning column aliases
  • Using literals
  • String concatenation

Filtering outcome tables

  • Utilizing the WHERE clause
  • Applying comparison operators
  • Using the LIKE condition
  • Filtering with BETWEEN...AND
  • Handling NULL values with IS NULL
  • Using the IN condition
  • Logical operators: AND, OR, NOT
  • Combining multiple conditions in a WHERE clause
  • Operator precedence
  • Eliminating duplicates with the DISTINCT clause

Sorting outcome tables

  • Ordering results using the ORDER BY clause
  • Sorting by multiple columns or complex expressions

SQL Functions

  • Distinctions between single-row and multi-row functions
  • Character, numeric, and DateTime functions
  • Explicit versus implicit data conversion
  • Conversion functions
  • Nested function usage
  • The Dual table (Oracle vs other database systems)
  • Retrieving the current date and time using various functions

Aggregating data with aggregate functions

  • Overview of aggregate functions
  • Behavior of aggregate functions with NULL values
  • Using the GROUP BY clause
  • Grouping by multiple columns
  • Filtering aggregated results with the HAVING clause
  • Multidimensional grouping with ROLLUP and CUBE operators
  • Identifying summary rows using GROUPING
  • Applying the GROUPING SETS operator

Retrieving data from multiple tables

  • Exploring different join types
  • Implementing NATURAL JOIN
  • Using table aliases
  • Oracle-style joins with conditions in the WHERE clause
  • SQL99 standard INNER JOIN
  • SQL99 standard LEFT, RIGHT, and FULL OUTER JOINS
  • Cartesian products in Oracle and SQL99 syntax

Subqueries

  • Placement and usage of subqueries
  • Differences between single-row and multi-row subqueries
  • Operators for single-row subqueries
  • Incorporating aggregate functions within subqueries
  • Operators for multi-row subqueries: IN, ALL, ANY

Set operators

  • UNION
  • UNION ALL
  • INTERSECT
  • MINUS/EXCEPT

Transactions

  • Managing transactions with COMMIT, ROLLBACK, and SAVEPOINT statements

Other schema objects

  • Sequences
  • Synonyms
  • Views

Hierarchical queries and samples

  • Constructing trees using CONNECT BY PRIOR and START WITH
  • Using the SYS_CONNECT_BY_PATH function

Conditional expressions

  • CASE expression
  • DECODE expression

Data management across time zones

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

Analytic functions

  • Application and usage
  • Defining partitions
  • Working with 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 specific requirements are needed to participate in this course.

 21 Hours

Number of participants


Price per participant

Testimonials (7)

Upcoming Courses

Related Categories