Data and Analytics - Category Banner

SQL Advanced

  • Length 1 day
Course overview
View dates &
book now

Why study this course

A crucial skill for anyone working with data is the ability to access and analyse that data. Structured Query Language (SQL) enables users to access data from databases, combine data from multiple related tables, and aggregate, sort, filter, or limit the data retrieved as needed.

This advanced course builds upon the skills learnt in our SQL Intermediate course. In this SQL course, you'll learn 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.

Nexacu Public Schedule

Nexacu is part of the Lumify Group, offering you the largest public schedule of end user applications and professional development training in Australia, New Zealand, and the Philippines. You can now access the schedule of courses and book, by clicking on the button below.

Request Course Information


What you’ll learn

After completing this course, students will be able to:

  • Use sophisticated techniques for querying databases

  • Reshape and manipulate result sets

  • Reshape data by pivoting and unpivoting

  • Write complex queries using subqueries, temporary tables, and common table expressions

  • Use recursive techniques to query hierarchical data and create date dimension tables

  • Write more efficient SQL code


Microsoft Solutions Partner - Cloud - Training Services Logo

Microsoft at Lumify Work

As part of Lumify Group, Lumify Work has skilled more people in Microsoft technologies than any other organisation in Australia and New Zealand. We have a campus in the Philippines, too. We offer the broadest range of instructor-led training courses, from end user to architect level.  We are proud to be the winner of the Microsoft MCT Superstars Award for FY24, which formally recognises us as having the highest quality Microsoft Certified Trainers in ANZ. 


Who is the course for?

This course will be of benefit for anyone working towards Microsoft Certification in Azure Data Fundamentals and for anyone interested in working with data stored in the cloud.


Course subjects

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, modify, and delete temporary tables

  • 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


Prerequisites

This course builds on the knowledge and skills taught in our SQL Intermediate course.

Anyone attending this course should have completed our Beginner and Intermediate courses or be confident in writing SQL queries.


Microsoft - Training Solutions Partner - Microsoft Certified Trainers - MCT Superstars Award FY24


Terms & Conditions

The supply of this course by Lumify Work is governed by the booking terms and conditions. Please read the terms and conditions carefully before enrolling in this course, as enrolment in the course is conditional on acceptance of these terms and conditions.


Request Course Information

Select and book a course

February
April

Can't find a date you like?

Contact sales


Offers

Microsoft Bundles
Master Microsoft skills, from fundamentals to advanced levels. Choose from bundles or private class options and SAVE up to 35% on training costs.