SQL Queries Level 2 Live Online Learning Courses

This one-day SQL (Structured Query Language) workshop is for data analysts who need to summarise and interrogate data. This is a follow up to the introduction course and will continue to develop your skills in writing SQL in order to manipulate data stored in a relational database system.

This workshop is suitable for anyone who needs to learn SQL, whatever database system you use. The training is typically delivered using MS SQL Server and SSMS, so please let us know what system you use.

Course Overview

Take your SQL skills to the next level by learning how to combine data from multiple tables and write more advanced queries confidently.

 

Why take this course?

  • Learn how to join multiple tables together
  • Use aggregate functions to summarise data
  • Write cleaner, more efficient queries
  • Grow your confidence in handling real-world data

Who is this course for?

This course is ideal for anyone with a basic understanding of SQL who is ready to deepen their knowledge and start building more powerful queries.

 

 

Duration

1 day

Classroom size

8 approx.

Location

Online or Classroom

Certificate

1 Certification

Experience

Intermediate

What you will learn

  • INNER JOIN, LEFT JOIN, and combining data from multiple tables
  • GROUP BY and aggregate functions (SUM, COUNT, AVG, etc.)
  • Using aliases and understanding subqueries
  • Tips for writing more efficient and readable queries

Course Timetable

This course will be taught in the latest version of the software. We can train this in older versions if needed – please get in touch for more information and availability.

Session 1 – Introduction and Recap

We start by examining the training database and briefly recap SQL the basic SELECT statement and JOINs with a quiz and exercise.

Session 2 – Advanced SQL SELECT Statements

This section includes several useful exercises for querying data from multiple tables. Topics include:

  • CASE statements
  • Union vs Union All
  • Useful string, date and convert functions

Session 3 – Sub Queries and Window Functions

Sub queries allow you to control the data returned from your main query with the results from another query.  A typical example might be to first calculate the total that a customer has spent with you during the year, then use this query to return the customers that have spent above average.  You can also use sub queries to find duplicate data.

Window functions can be used to combine individual data with aggregate data. For example, in the same query you could display an individual’s salary, the average salary for the department/company and calculate the difference.  Window functions belong to a type of function known as a ‘set function’, which means a function that applies to a set of rows. The word ‘window’ is used to refer to the set of rows that the function works on.

During the session of the workshop we complete various exercises:

  • Examples of useful sub queries
  • Introduction to Window functions
    • Over() and Over(Partition by)
    • Row() v Rank()

Session 4 – Aggregate Queries

SQL offers a number of ways to consolidate and aggregate the output of your queries. We begin by learning how to calculate the SUM, COUNT AVERAGE, MIN and MAX across the whole dataset and then look at how to write GROUP BY queries and limit these with the HAVING clause.

The key topics trained include:

  • How to write aggregate queries
  • COUNT vs Count(*)
  • GROUP BY
  • HAVING

Ready to take the next step?

We are here to help!

This course is only available as a one-to-one or private group booking.

For pricing and availability, send us a message using the form, leave us a message on 020 7375 7300, or speak to an Account Manager straight away using our Live Chat service in the bottom right of your screen!

Testimonials From Happy Learners

Looking for Private Group Training?

If you have three or more learners, a private group training could be cheaper.

We can tailor the content to your team, and host the training remotely, at your workplace or here at Happy’s HQ in Aldgate, Central London.

The Happy guarantee

We want everyone to go away from our courses feeling as though they have learnt useful, practical skills that they can use straight away when they go back to work.

If you don’t feel that your training has been useful or if you are unhappy in any way, please get in touch with our Customer Services team within 30 days of the course.

We will be happy to offer you additional support and training free of charge to help you to gain the skills you need, or if you’d prefer, a full refund.

Why Choose happy?

Because Happiness Works

Joy leads to success, every time,

Expert-Led & Hands-On

Our award-winning training isn’t just theoretical. It’s packed with practical tools you can use straight away.

B Corp Certified & Proud

We don’t just talk about impact — we live it. As a B Corp, we’re committed to making workplaces better for everyone.

Classroom or live online learning available

Both available for public and private dates.

The small print

For Live Online Interactive Learning sessions (webinars)

The course will run remotely for a full day consisting of three 90-minute live online sessions with independent work in between. 

All learners will need to install Zoom on their machines. Full technical requirements are on the Zoom website. Your link will be included in your joining instructions once you have booked your place — if you haven’t received this email then please contact our team.

Learners should log into the session 10 minutes before the start time to ensure that they have downloaded and set up Zoom correctly. The course will start precisely on time and it may not be possible to go back over material missed by late arrivals. Unfortunately you will be asked to leave and attend a different day if you arrive more than 15 minutes late for online sessions, and more than 30 minutes late for classroom sessions.

Please ensure you read our Terms and Conditions before booking for our payment terms and cancellation policy.

For classroom sessions

All public classroom sessions take place at Happy’s HQ in London at Robert Dolan House, 9 Alie Street, London E1 8DE. Please see our Contact Us page for full directions and a PDF map.

The course will run from 10am to 4:45pm (lunch is served 1pm to 1:45pm — we offer a choice of 3 cold bowl dishes). Please be careful to arrive by 9:45am for registration and refreshments. The course will start precisely on time and it may not be possible to go back over material missed by late arrivals. If you arrive over 30 minutes late you may be asked to leave and attend another day.

Please ensure you read our Terms and Conditions before booking for our payment terms and cancellation policy.

FAQs

What if I have a Mac?

If you are a Mac user, please let us know when booking. If the course is held in the classroom at Happy, the training is held on PCs so we recommend that you bring your Macbook with you (we are not able to provide an additional monitor). For online training, please let us know when booking and you can use your Mac as normal. We provide a PDF with shortcuts for Mac users and your trainer will refer to this throughout the training.