02.05.2024
This course is not so advanced. It doesn't go deep enough into the concept of windows functions. By the way it's a quite good way to get familiar with the advanced SQL concepts
Learn and apply MySQL window functions, common table expressions, and temporary tables to gain a competitive advantage over analysts using SQL.
Unlike some other programming languages, SQL’s syntax is quite intuitive to understand and use, facilitating many to take their first steps toward working with relational database management systems (RDBMS). But knowing how to apply SQL’s basic instruments—such as aggregate functions, joins, and stored procedures—won’t allow you to reach its full potential. In this course, we’ll extensively cover window functions, common table expressions, and temporary tables to enrich your skill set and toolbox for handling relational databases and reveal plenty of options for data retrieval.
MySQL window functions, common table expressions, and temporary tables are highly sought-after tools in the arsenal of every database administrator, data scientist, or data analyst. By completing this course—packed with real-world scenarios and practical problems—you’ll understand and master the mechanics behind each one of these tools, and more precisely:
When we say “window,” we mean a particular part of your database on which we want to apply some function. The functions to use can be ranking window functions (ROW_NUMBER(), RANK(), or DENSE_RANK()), value window functions (LAG() and LEAD()), or MySQL aggregate window functions applied in the context of window functions, such as MAX() or MIN().
This section covers MySQL Common Table Expressions (CTEs)—a tool allowing you to obtain a temporary result set that you can use and reuse within the scope of a query. More precisely, we’ll explore single and multiple subclauses in a WITH clause and refer to already specified common table expressions in a WITH clause.
As you progress as an SQL analyst, you’ll increasingly work with more extensive databases containing tables with millions of records. In other words, the queries you write can easily take a few minutes before returning the desired result. In such cases, you’ll look for tools like MySQL temporary tables to increase the efficiency of the data retrieval process. In this section, you’ll create your first MySQL Temporary Table and explore some of its features.
Student feedback
“Unlike programming languages like Python or R, SQL doesn’t have a vast library of ready-made tools that allow you to retrieve the desired data by simply executing a short line of code. Mastering SQL requires a comprehensive understanding of the functionality of each of its tools and how to combine them to retrieve specific information from your database. And that’s precisely the challenge we present through the highly practical configuration of this course.”
Worked at PaySafe Group
Advanced SQL
with Martin Ganchev and Vladimir Saev