# SQL Level 2

Canonical URL: <https://www.creativelive.com/classes/sql-level-2>

## Overview

In this intermediate SQL course, you will build on your knowledge of SQL fundamentals, enhancing your skills to join, filter, group, and analyze data.

You will learn how to use outer joins and find NULL data. You will learn how to group data and perform common statistical calculations using aggregate functions. Working with data also requires the ability to change data types when needed using CAST, and to work with and format date and time information.

By the end of this intermediate course, you will have a broader set of SQL techniques to extract and analyze the specific data you need from a database, making it easier to turn raw data into actionable insights.

## What you'll learn

- Compare INNER and OUTER JOIN types and use LEFT, RIGHT, and FULL JOINs to combine data across tables
- Identify and work with NULL values to ensure complete and accurate data analysis
- Use the CAST function to convert data types and make your queries more flexible
- Perform calculations with aggregate functions like SUM, COUNT, AVG, MAX, and MIN to summarize data
- Apply date functions to extract, format, and compare dates for time-based analysis
- Group results using GROUP BY and filter grouped data using the HAVING clause for advanced segmentation

## Prerequisites

SQL proficiency equivalent to our [SQL Level 1](/classes/sql-level-1) course is required, including basic querying, fundamentals of filtering (WHERE, LIKE, BETWEEN), and inner JOINs.

## Curriculum

### Inner vs Outer JOIN

#### Outer Joins & Finding NULLs

- Left Join
- Right Join
- Full Join
- Find NULL values

### Manipulating, Aggregating, & Filtering Data

#### Using CAST to Change Data Types

- Why and how to use CAST to make a data type fit your query’s needs

#### Aggregate Functions

- Using Aggregate Functions to perform common statistical calculations
- Using SUM, COUNT, AVG, MAX & MIN

#### Working with Dates & Time

- Date Functions: Getting the desired part of a date/time (Year, Month, Day, etc.)
- Formatting dates, including the day of the week (Sunday, Monday, etc.)
- Calculating the difference between 2 dates

### Grouping Data & Filtering Grouped Data

#### Grouping Data with Aggregate Functions

- Using GROUP BY to organize results into categories
- Applying Aggregate Functions to groups

#### Filtering Grouped Data with HAVING

- Using HAVING to filter the results of a GROUP BY
- HAVING vs WHERE

## Schedule
- Jun 11, 2026 10:00am–5:00pm — Live Online
- Jul 28, 2026 10:00am–5:00pm — Live Online
- Sep 23, 2026 10:00am–5:00pm — Live Online
- Nov 3, 2026 10:00am–5:00pm — Live Online

## Pricing

**Tuition:** $350
