Mô tả

Do you already know the basics of SQL, but sometimes get frustrated when you encounter situations where the basics just aren't enough?

Are you a junior analyst who wants to level up to advanced SQL so you can take the next step in your career?

Or maybe you're a data scientist who knows enough SQL to get by, but want to take your skills further so you can spend less time wrangling data and more time building models.

If any of these sound like your situation, then you're in the right place. This course on advanced SQL for data analysis  has everything that isn't covered in introductory SQL courses.

The curriculum goes DEEP, spanning all the advanced techniques you'll ever need to wrangle and analyze data in the fastest and most efficient way possible.

And these concepts aren't presented in isolation; everything is taught in the context of real-world analytics scenarios, meaning you'll be ready to apply these techniques on the job from day one.


Here's a look at just some of the things you'll get out of this course:

  • Make the leap to Senior Analyst by mastering advanced data wrangling techniques with SQL

  • Become the resident SQL expert on your team

  • Perform nuanced analysis of large datasets with Window Functions

  • Use subqueries, CTEs and temporary tables to handle complex, multi-stage queries and data transformations

  • Write efficient, optimized SQL

  • Leverage indexes to speed up your SQL queries

  • Supercharge your SQL knowledge with procedural programming techniques like variables and IF statements

  • Program database objects like user defined functions and stored procedures that will make life easier for you AND your teammates

  • Master useful tips and tricks not found in most database courses, like Dynamic SQL

  • Gain an intuition for what technique to apply and when

  • Train your brain with tons of hands-on exercises that reflect real-world business scenarios


What makes this course different

There are three things that really set this course apart.

First is its scope. We'll dig deep into the advanced toolbox that SQL has to offer, uncovering techniques to solve problems that leave even senior analysts scratching their heads.

Second is a relentless focus on that practical, real-world applications. Techniques are taught not as abstract concepts, but rather as solutions to common data wrangling and analytics problems. And whenever possible, these techniques are presented, not in isolation, but in combination with other things that have already been covered. This "spiral" approach reinforces concepts you've learned so they stay with you long after taking the course.

Finally, and most importantly, the course provides a treasure trove of coding exercises that give you ample opportunity for hands-on practice. And these exercises are distributed throughout the course - not clustered together after hours of videos. This means you'll have an opportunity to practice every concept you learn, right after you learn it.

So if you want to go from SQL apprentice to SQL master, enroll today. I look forward to seeing you in the course.

Bạn sẽ học được gì

Installing SQL Server and SQL Server Management Studio

Window Functions

Correlated Subqueries

Advanced filtering with EXISTS and NOT EXISTS

Flattening data with PIVOT

Generating data series with Recursive CTEs

Leveraging CTEs and temporary tables to break complex processes into manageable steps

Defining and manipulating tables with DDL and DML commands

Designing lookup tables to simplify redundant analysis

SQL optimization techniques, including indexes

Procedural programming techniques like variables and IF statements

Defining your own SQL functions

Creating stored procedures for flexible, repeatable analysis

Supercharge your SQL knowledge with procedural programming techniques like variables and IF statements

Writing code that writes code, with Dynamic SQL

Yêu cầu

  • Access to a Windows 10 operating system (SQL Server only runs on Windows); there are known compatibility issues between Windows 11 and SQL Server 2019, so I STRONGLY recommend Windows 10 for this course. If you only have access to a Windows 11 machine, you can install SQL Server 2022 instead.
  • Microsoft SQL Server 2019 and SQL Server Management Studio; these are both available for free, and I’ll walk you through installation and setup.
  • A working knowledge of SQL fundamentals - including SELECT statements, applying criteria, table joins, and aggregate queries - is necessary for success in this course.
  • Specific knowledge of SQL Server is helpful, but not required.

Nội dung khoá học

7 sections

Before we start coding...

6 lectures
Introduction
01:25
IMPORTANT NOTE: PLEASE READ
01:00
Installing SQL Server 2019 Express
07:17
Installing SQL Server Management Studio
03:59
Downloading the AdventureWorks Sample Database
07:30
Course Environment Walkthrough
09:39

Advanced Analysis With Window Functions

16 lectures
Introducing Window Functions With OVER
09:29
Introducing Window Functions With OVER - Exercises
00:44
PARTITION BY
05:42
PARTITION BY - Exercises
00:40
ROW_NUMBER
10:07
ROW_NUMBER - Exercises
01:08
RANK and DENSE_RANK
07:07
RANK and DENSE_RANK - Exercises
00:46
LEAD and LAG
14:03
LEAD and LAG - Exercises
00:55
FIRST_VALUE
13:38
FIRST_VALUE - Exercises
01:38
Introducing Subqueries
07:05
Introducing Subqueries - Exercises
00:56
ROWS BETWEEN
15:27
ROWS BETWEEN - Exercises
00:55

Subqueries

11 lectures
Scalar Subqueries
07:15
Scalar Subqueries - Exercises
00:45
Correlated Subqueries
10:34
Correlated Subqueries - Exercises
00:29
EXISTS
13:47
EXISTS - Exercises
00:44
FOR XML PATH With STUFF
14:31
FOR XML PATH With STUFF - Exercises
00:41
PIVOT - Part 1
10:17
PIVOT - Part 2
08:15
PIVOT - Exercises
00:17

Common Table Expressions (CTEs)

5 lectures
CTEs - Part 1
11:36
CTEs - Part 2
08:23
CTEs - Exercise
00:30
Recursive CTEs
14:43
Recursive CTEs - Exercises
00:19

Temp Tables

12 lectures
Temp Tables - Part 1
10:28
Temp Tables - Part 2
05:14
Temp Tables - Exercises
00:05
CREATE and INSERT
13:23
CREATE and INSERT - Exercise
00:03
TRUNCATE - Part 1
09:29
TRUNCATE - Part 2
08:27
TRUNCATE - Exercise
00:42
UPDATE - Part 1
08:58
UPDATE - Part 2
08:16
UPDATE - Exercise
00:18
DELETE
04:48

Optimization

13 lectures
Optimizing With UPDATE - Part 1
07:36
Optimizing With UPDATE - Part 2
08:40
Optimizing With UPDATE - Exercise
00:08
An Improved EXISTS With UPDATE
11:26
An Improved EXISTS With UPDATE - Exercise
00:15
Introducing Indexes
09:03
Optimizing With Indexes - Example
11:30
Optimizing With Indexes - Exercise
00:08
Lookup Tables - Part 1
13:24
Lookup Tables - Part 2
08:20
Lookup Tables - Exercises
00:18
Views
10:37
Views - Exercises
00:48

Programming SQL

19 lectures
Variables - Part 1
09:54
Variables - Exercise 1
00:06
Variables - Part 2
07:34
Variables - Exercise 2
00:29
Introducing User Defined Functions
08:26
NOTE TO STUDENTS
00:29
Making Functions Flexible With Parameters
11:10
User Defined Functions - Exercises
00:51
Table-Valued Functions
13:46
Table-Valued Functions - Exercise
00:21
Stored Procedures
11:28
Stored Procedures - Exercise
00:18
Control Flow With IF Statements
11:58
Control Flow With IF Statements - Exercise
00:16
Using Multiple IF Statements
07:51
Using Multiple IF Statements - Exercise
00:29
Dynamic SQL - Part 1
09:49
Dynamic SQL - Part 2
14:17
Dynamic SQL - Exercises
01:14

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.