Get in Touch
 Duration 21 hours

Course Outline

Selecting Data from the Database

  • Syntax conventions
  • Retrieving all columns
  • Projection techniques
  • Performing arithmetic operations in SQL
  • Using column aliases
  • Working with literals
  • String concatenation

Filtering Result Sets

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

Sorting Result Sets

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

SQL Functions

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

Aggregating Data with Aggregate Functions

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

Retrieving Data from Multiple Tables

  • Various types of joins
  • NATURAL JOIN
  • Applying table aliases
  • Oracle syntax: defining join conditions in the WHERE clause
  • SQL99 syntax: INNER JOIN
  • SQL99 syntax: LEFT, RIGHT, and FULL OUTER JOINs
  • Cartesian products using Oracle and SQL99 syntax

Subqueries

  • Appropriate contexts for using subqueries
  • Single-row versus multi-row subqueries
  • Operators for single-row subqueries
  • Incorporating aggregate functions within subqueries
  • Multi-row subquery operators: IN, ALL, and ANY

Set Operators

  • UNION
  • UNION ALL
  • INTERSECT
  • MINUS and EXCEPT

Transactions

  • Managing transactions with COMMIT, ROLLBACK, and SAVEPOINT statements

Other Schema Objects

  • Sequences
  • Synonyms
  • Views

Hierarchical Queries and Samples

  • Building tree structures using CONNECT BY PRIOR and START WITH clauses
  • Utilising the SYS_CONNECT_BY_PATH function

Conditional Expressions

  • The CASE expression
  • The DECODE expression

Managing Data Across Time Zones

  • Concepts of time zones
  • TIMESTAMP data types
  • Distinguishing between DATE and TIMESTAMP
  • Conversion procedures

Analytic Functions

  • Applications of analytic functions
  • Partitions
  • Window frames
  • Ranking functions
  • Reporting functions
  • LAG and LEAD functions
  • FIRST and LAST functions
  • Reverse percentile functions
  • Hypothetical ranking functions
  • WIDTH_BUCKET functions
  • Statistical functions

Requirements

No specific prerequisites are required to attend this course.

Custom Corporate Training

Training solutions designed exclusively for businesses.

  • Customised Content: We adapt the syllabus and practical exercises to the real goals and needs of your project.
  • Flexible Schedule: Dates and times adapted to your team's agenda.
  • Format: Online (live), In-company (at your offices), or Hybrid.
Investment

Price per private group, online live training, starting from £4800 + VAT*

Contact us for an exact quote and to hear our latest promotions

Testimonials (7)

Provisional Upcoming Courses (Contact Us For More Information)

Related Categories