In this self-paced intermediate SQL course, you’ll deepen your understanding of relational databases by learning to join, filter, group, and analyze data. You’ll explore outer joins, manage NULL values for more accurate results, and use the CAST function to convert data types for flexible, reliable queries.
You’ll also learn to group data and perform common statistical calculations using aggregate functions such as SUM, COUNT, and AVG. By the end of the course, you’ll have the skills to extract, organize, and manipulate data efficiently, turning raw information into meaningful insights.
What You Will 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
Course Outline
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
This course is available for 30 days. You can choose when to start your access period. Once you activate, you will have 30 days to complete it (access the course materials, quizzes, projects and videos). You may request one extension of seven (7) days. Other extension requests will be evaluated on a case-by-case basis. Videos are not downloadable.