Advanced SQL Course

Learning Tree International AB, i Stockholm (+2 orter)
Längd
3 dagar
Längd
3 dagar
Få mer information om utbildningen, arrangörerna svarar oftast inom 48h 👍

Beskrivning av: Advanced SQL Course

SQL is the cornerstone of all relational database operations. In this hands-on Writing Advanced SQL Queries course , you will learn how to exploit the full potential of the SELECT statement to write robust queries using the best query method for your application, test your queries, and avoid common errors and pitfalls. It also teaches alternative solutions to given problems, enabling you to choose the most efficient solution in each situation.

Advanced SQL Course Delivery Methods

  • In-Person

  • Online

  • Blended Learning

Advanced SQL Course Information

  • Advanced SQL Course Benefits

    • Maximise the potential of SQL to build powerful, complex and robust SQL queries
    • Query multiple tables with inner joins, outer joins, and self joins
    • Construct recursive common table expressions
    • Summarise data using aggregation and grouping
    • Execute analytic functions to calculate ranks
    • Build simple and correlated subqueries
    • Thoroughly test SQL queries to avoid common errors
    • Select the most efficient solution to complex SQL problems
  • Advanced SQL Course Prerequisites

    This is an advanced course, and knowledge of the basics of SQL at the level of Introduction to SQL Programming Training or equivalent is assumed.

Advanced SQL Queries Course Instructor-Led Outline

Module 1: Introduction and Overview

SQL fundamentals

  • Why SQL can be both easy and difficult
  • Recommendations for thorough testing

Retrieving data with SELECT

  • Expressions
  • Literals
  • Handling NULLs properly

Executing queries

  • Analysing query plans
  • Enhancing query performance
  • Retrieving partly results with FETCH and OFFSET
  • Selecting the best alternatives
  • Avoiding errors and pitfalls

Module 2: Querying Multiple Tables

Implementing various types of joins

  • Inner joins
  • Cross joins
  • Left, right and full outer joins
  • Equijoins vs theta joins
  • The performance implications of joins
  • Adding filter conditions to outer joins

Writing self joins

  • Joining a table to itself
  • Chaining self joins
  • Solving time-interval problems

Combining queries with set operators

  • UNION
  • UNION ALL
  • INTERSECT
  • EXCEPT

Module 3: Aggregate Functions

Summarising data with aggregate functions

  • COUNT
  • SUM
  • AVG
  • MIN
  • MAX
  • Managing NULLs
  • identifying duplicates

Grouping data

  • GROUP B
  • Applying conditions with HAVING
  • Calculating moving averages
  • Building crosstab reports

Extending group queries

  • Nesting grouped aggregates
  • Joins and grouping
  • Introducing subtotals with CUBE and ROLLUP

Module 4: Performing Extensive Analysis with Analytic Functions

The OVER clause

  • Specifying the ordering before applying the function
  • Splitting the result set into logical partitions

Calculating ranks

  • RANK and DENSE_RANK
  • ROW_NUMBER with ordered sets
  • Calculating percentiles

Extending the use of aggregates

  • Partitioning in multiple levels
  • Computing running totals
  • Comparing row and aggregate values
  • Top-N queries
  • Defining sliding window boundaries

Module 5: Building Subqueries

Self-contained subqueries

  • Subqueries in conditions and column expressions
  • Creating multilevel subqueries
  • Avoiding problems when subqueries return NULLs
  • Handling multirow subquery results
  • Finding gaps in number series

Correlated subqueries

  • Accessing values from the outer query
  • EXISTS vs IN
  • Identifying duplicates
  • Avoiding accidental correlation

Common table expressions

  • Reusable subqueries
  • Recursive subqueries
  • Traversing hierarchies

Module 6: Breaking Down Complex Queries

  • Overcoming SQL limitations
  • Reducing complexity and improving performance

Advanced SQL Queries Course On-Demand Training Bundle

On-Demand Training Bundle Benefits

This product offers access to a library of Microsoft on-demand courses, including SQL, Windows, Exchange, and more. In addition, at any time during your annual access to this offering, you may attend one of our 1-day review sessions focused specifically on Writing Powerful SQL Queries for SQL Server .

Unlimited Access Advanced SQL Queries Course Premium Blended Training

Premium Blended Training Benefits

This product offers access to a library of Microsoft on-demand courses, including SQL, Windows, Exchange, and more. At any time during your annual access to this offering, you may attend one of our 1-day review sessions focused specifically on Writing Powerful SQL Queries for SQL Server . In addition, enrolling in this bundle also grants you access to any of our multi-day instructor-led events of this course, Advanced SQL Course .

How to Schedule Your Instructor-Led Training

Once payment is received, you will receive details for your Unlimited Access Training Bundle via email. At that time, you may call or email our customer service team for assistance in enrolling in the event date of your choice.

Intresseanmälan

Beställ information

Fyll i formuläret för att få mer information om Advanced SQL Course, direkt från arrangören. Det är gratis och inte bindande!

reCAPTCHA logo Den här hemsidan är skyddad av reCAPTCHA och Googles Integritetspolicy och Användarvillkor tillämapas.
Learning Tree International AB
Fleminggatan 7
112 26 Stockholm

Learning Tree International

Learning Tree är ett internationellt utbildningsföretag med över 40 års erfarenhet av att leverera utbildning till yrkesverksamma IT-proffs, projektledare, verksamhetsutvecklare och chefer. Vi erbjuder allt från enstaka kurser till globala utbildningsprogram, och vi hjälper våra kunder att införa hållbara processer som fungerar idag och förbereder...

Läs mer om Learning Tree International AB och visa alla utbildningar.

Highlights