In this Course you will Learn to:
- Write simpler queries using window functions.
- Know how window functions work with partition and other clauses to help you form running totals or compare values from one row to the next.
- Create complex queries involving joins using window functions.
- Learn how to use LEAD and LAG to avoid using cursors in your SQL scripts.
- Write window functions using MySQL, PostgreSQL, SQLite, or SQL Server – your choice! I’m sure they will work with Oracle, I just haven’t tested… 🙂
- Understand how to set up a window frame and their affect on the window function.
- Know the difference between window functions and classing GROUP BY results.
- Work with multiple window functions within a query.
- Who to use results from a window functions within the same query.
- Learn to us the three classes of functions: Aggregate, Ranking, and Analytic functions.
Nothing is worse than
- Being excited to learn something new but not knowing where to start.
- Wasting time learning the wrong features.
- You being overwhelmed with options and not knowing which to use.
- Knowledge – Knowing how to quickly use window functions to take your SQL to the next level.
- Confidence – Feeling good that you’re on the right track.
- Accomplishment – Having a sense of accomplishment that you’ve learned something most cannot.
By the time you’ve completed this course you’ll have an appreciation of window functions, overcome your fear, and able to use them to simplify some of your very complex queries.
Who this course is for:
- Advanced Beginner to Intermediate SQL query authors curious about window functions.
- If you’re having a hard time understanding the ins and outs of window functions, then this course is for you as I explain it to you in simple to understand English.
- Business analysts looking more ways to write queries.
- Data Engineers needing more tools to deal with dirty data, such as an easy means to deduplicate incoming rows.
- Recent college graduates looking to hone their SQL skills.
- Job applicants looking for that extra edge with their next interview!
- You should already be familiar with SELECT, GROUP BY, and ORDER BY clauses
- Knowledge of joins and subqueries isn’t required, but recommended.
- If you can write a simple GROUP BY statement with HAVING, then you are ready for this course.
- No special equipment needed, all exercises are done online.
- Optional: Install a MySQL, PostgreSQL, or SQL Server learning lab on your own computer.
Last Updated 2/2023
EssentialSQL: SQL Window Functions for Business Analytics.zip (1.2 GB) | Mirror