Select your country to view prices and course dates.

x

Recent Searches
Category

Microsoft Copilot Courses

Category

Microsoft Power BI

Category

AI for Business

Category

Microsoft Excel

Category

Professional Development

Category

Microsoft Office 365

Category

Excel Specialist

Category

Microsoft Project

Category

R Programming

Category

Python

Category

SQL

Category

Power Apps

Category

SharePoint

Category

Power Automate

Category

Microsoft Teams

Category

Microsoft Visio

Category

Microsoft PowerPoint

Category

Microsoft Word

Category

Microsoft Outlook

Category

Adobe InDesign Courses

Category

Adobe Photoshop Courses

Category

Adobe Illustrator Courses

Category

Adobe Premiere Pro Training

Category

Adobe After Effects Training

Category

Adobe Acrobat Courses

Category

Adobe Captivate Training

Category

Adobe Animate Training

Category

HTML Courses

Category

WordPress

Category

Canva Courses

Category

Microsoft Access

Category

Webinars

Course

Copilot for M365

Course

Power BI Beginner

Course

ChatGPT Beginner

Course

Excel Beginner

Course

Achieving Leadership & Success

Course

Microsoft 365 Beginner

Course

Financial Modelling

Course

Project Beginner

Course

R Programming Beginner

Course

Python Beginner

Course

SQL Beginner

Course

Power Apps Beginner

Course

SharePoint Beginner

Course

Teams Essentials

Course

Visio Essentials

Course

PowerPoint Level 1

Course

Word Beginner

Course

Microsoft Outlook Beginner

Course

InDesign Lite

Course

Photoshop Training Intro

Course

Illustrator Training Intro

Course

Premiere Training Intro

Course

After Effects Training Intro

Course

Acrobat Essentials

Course

Captivate Training

Course

Animate Training Intro

Course

HTML Training Intro

Course

WordPress Essentials

Course

Canva Beginners

Course

Microsoft Access Essentials

Course

Copilot for Word

Course

Power BI Intermediate

Course

Excel Intermediate

Course

Microsoft 365 Intermediate

Course

Analysis and Dashboards

Course

Project Intermediate

Course

R Programming Intermediate

Course

Python Intermediate

Course

SQL Intermediate

Course

Power Apps Intermediate

Course

SharePoint Intermediate

Course

PowerPoint Level 2

Course

Word Intermediate

Course

InDesign Training Intro

Course

Photoshop Lite

Course

Illustrator Training Advanced

Course

Premiere Basics Training

Course

Acrobat Forms

Course

Canva Intermediate

Course

Microsoft Access Advanced

Course

Copilot for Excel

Course

Power BI Advanced

Course

Excel Advanced

Course

Microsoft 365 Advanced

Course

Excel VBA

Course

Project Advanced

Course

R Programming Advanced

Course

Python Advanced

Course

SQL Advanced

Course

Power Apps Advanced

Course

SharePoint Advanced (Site Owner)

Course

Word Advanced

Course

InDesign Training Advanced

Course

Photoshop Training Advanced

Course

Advanced Premiere Training

Course

Advanced After Effects Training

Course

Canva Advanced

Course

Copilot for PowerPoint

Course

Power BI DAX

Course

Excel Expert

Course

Machine Learning in R

Course

SharePoint Advanced (Document Governance)

Course

InDesign Interactivity Training

Course

Copilot for Outlook and Teams

Course

InDesign Accessibility Training

Course

Power Automate Beginner

Course

Power Automate Intermediate

Course

Microsoft Outlook Advanced

Course

AI Prompting Fundamentals

Course

Power Automate Advanced

Course

Excel Tables and Pivot Tables

Course

Data Transformation with Power Query

Course

Excel Macro Mastery

Course

Power BI Desktop Advanced Reporting

Course

AI for Business Leaders and Managers

Course

Data Visualisation with Power BI Desktop

Course

Anger Management & Negotiation Skills

Course

Assertiveness & Confidence

Course

Building Resilience

Course

Coaching and Mentoring

Course

Communications

Course

Communications & Quality Client Service Training

Course

Critical Thinking and Problem Solving

Course

Cultural Diversity in the Workplace

Course

Embracing Change

Course

Growing Emotional Intelligence

Course

Minute Taking

Course

Persuasion and Negotiation Skills

Course

Presentation Skills and Public Speaking

Course

Practical Project Management

Course

Respect, Equity and Diversity (RED)

Course

Resumé Writing and Interview Skills

Course

Stress Management

Course

Team Leadership, Management and Development

Course

Time Management Intensive

Course

Train the Trainer

Course

Write Effective Business Documents

Course

Dealing with Difficult People

Course

Managing Difficult Conversations

Course

Managing the Virtual Workplace

Our Advanced SQL course is designed for those who have completed the SQL Intermediate course and want to master more complex querying techniques using Microsoft’s Transact-SQL (T-SQL) in an Azure SQL environment.

You’ll learn to write advanced queries with subqueries, temporary tables, and common table expressions (CTEs), reshape data using pivot and unpivot functions, and apply recursive techniques for hierarchical data and date dimension tables. The course also covers views, stored procedures, table-valued functions, and table variables to help simplify workflows and boost performance skills applicable across a range of database systems.

By the end of this course, you will be able to:

  • Write advanced SQL queries using subqueries, temporary tables, and CTEs
  • Transform data using pivoting, unpivoting, and result set manipulation
  • Build recursive queries for hierarchical data and create date dimension tables
  • Improve query performance with views, stored procedures, and table-valued functions

Prerequisite:

This course builds on the skills taught in our SQL Intermediate course. Students should have completed our SQL Beginner and Intermediate courses or be confident in writing SQL queries.

Upcoming Courses

Scheduled
Taking enrollments.
Confirmed
Taking enrollments.
Few Seats left
Book Now.
Sold Out
Try another date.

SQL Training Courses

Course Icon SQL Beginner

Start your SQL journey with this beginner training course. Learn SQL basics, understand relational databases, and query data in the cloud using Azure tools.

download course pdf
Course Icon SQL Intermediate

Boost your data skills with our intermediate SQL training course. Learn T-SQL functions, subqueries, and views to write more advanced SQL queries.

download course pdf

SQL Advanced Course Content

Expand All | Collapse All

Introduction

SQL and T-SQL

Reshaping data

Use PIVOT to turn rows into columns

Use UNPIVOT to rotate columns into rows

Writing More Complex Queries

Subqueries

Local and global temporary tables

Create, modifying and delete temporary tables

Writing More Complex Queries (cont'd)

Common table expressions

Nested CTEs

Recursive CTEs

Query hierarchical data

Create date dimension tables

More Complex Joins

Cross joins

Self joins

Anti joins

Semi joins

Variables

Local variables

Table variables

Temporary tables vs CTEs vs table variables

User-Defined Functions

Scalar user-defined functions

Table-valued functions

Multi-statement table-valued functions

Schemas

Use APPLY to join output from table-valued functions to a table

Control of Flow

IF…ELSE

BEGIN…END

Simplifying Code Reuse

Working with views

Table-valued functions

Working with stored procedures

Executing stored procedures with parameters

Query Performance

Improving query performance

Basic principles

View execution plans

Temporary tables, views, CTEs and table variables

Functions

Reusing code

Frequently Asked Questions

Meet your Developer

Tamara Shatar holds a PhD in Agricultural Data Science. She has extensive experience, including many years working as a research scientist focused on data analysis, modelling using machine learning, simulation, and other techniques. While working in both academia and at the CSIRO, part of her role included teaching a variety of data analysis skills.

What is Remote Training?

Remote training at Nexacu means our experienced trainers will deliver your training virtually. With remote learning, students can access our usual classroom training courses via video conferencing, ask questions, participate in the discussion, and share their screen with the trainer if they need help at any point in the course. Students have the same level of participation and access to the trainer as they would in classroom training sessions.

Who should attend this SQL Advanced course?

This course is ideal for professionals who have completed our SQL Intermediate course or have significant experience writing SQL queries. It's designed for those looking to deepen their skills with complex SQL techniques, query performance tuning, and advanced data operations.

What will I learn in this advanced SQL training course?

You’ll learn how to reshape and manipulate result sets using techniques such as pivoting and unpivoting, create common table expressions (CTEs), work with recursive queries, create table-valued functions, and write stored procedures. The course also focuses on improving SQL performance and code reuse.

Do I need to complete the Intermediate SQL course first?

Yes, we strongly recommend completing the SQL Intermediate course before attending. You’ll need a solid understanding of SQL, including subqueries, views, functions, and working in Azure SQL environments.

What tools will I use during the course?

You will work in an Azure SQL environment and write queries using Transact-SQL (T-SQL) in Azure Data Studio. These are commonly used tools for data professionals and business analysts working with cloud-based databases.

Is query optimisation covered in this course?

Yes, a key focus of this course is writing more efficient SQL code. You’ll learn how to optimise queries using execution plans, compare temporary tables, CTEs, and table variables, and apply best practices for SQL performance.

skills test nexacu

Skills Test

Try our short skills test and find out which course is right for you.

 skills test

 

Locations In-Person & Online

Find the nearest location and date that works for you

Locations In-Person & Online

Find the nearest location and date that works for you

Related Training Courses

Course Icon SQL Beginner

Start your SQL journey with this beginner training course. Learn SQL basics, understand relational databases, and query data in the cloud using Azure tools.

download course pdf
Course Icon SQL Intermediate

Boost your data skills with our intermediate SQL training course. Learn T-SQL functions, subqueries, and views to write more advanced SQL queries.

download course pdf

Locations In-Person & Online

Find the nearest location and date that works for you

Locations In-Person & Online

Find the nearest location and date that works for you

Trusted Globally by Leading Organisations

At Nexacu, we are proud to be the trusted training partner for hundreds of leading organisations across Australia, New Zealand, and around the world. From government agencies to multinational corporations, we help teams build practical skills and achieve real outcomes through expert-led training.

  • 400+ companies rely on Nexacu for workforce development
  • Trusted by government agencies at all levels
  • Delivering training across 9 countries and growing

Why Nexacu? 

step by step courseware

Step by Step Courseware

Custom workbook included with a step by step exercises

Facility Image 2
Facility Image 3
Facility Image 1

Interactive real time training

Interactive, Real-Time Training

Learn with expert instructors, wherever you are

Trusted by Business

Trusted by Business

Procured by Government

Procured by Goverment

Reviews Not Found

Valued by Individuals