Bezpłatny course
Window Functions in Snowflake
MediatorPoziom umiejętności
Zaktualizowano 01.2026Rozpocznij Bezpłatny Kurs
W zestawie za darmo
SnowflakeData Manipulation3 godz.10 videos34 Exercises2,850 PDOświadczenie o osiągnięciu
Utwórz bezpłatne konto
Lub
Kontynuując, akceptujesz nasze Warunki korzystania, naszą Politykę prywatności oraz fakt, że Twoje dane są przechowywane w USA.Uwielbiany przez pracowników tysięcy firm
Szkolenie 2 lub więcej osób?
Wypróbuj DataCamp for BusinessOpis kursu
Wymagania wstępne
Data Manipulation in Snowflake1
Window Functions
Open the window to a world of possibilities with Snowflake window functions! You'll get the ball rolling by differentiating window functions from traditional functions. Then, you'll learn how to provide a row number and ranking for each record in a query. Once you've nailed down the basics, you'll put the "window" in window functions, using PARTITION BY. You'll explore how to find and use the first and last value of a certain window before wrapping up with a sneak peek into aggregation functions.
2
Ranking Window Functions
Time to crank it up! In this chapter, you’ll take ranking functions to the next level. You’ll start with a variant of RANK, called DENSE_RANK, which handles ties in a bit of a different way. You’ll also explore a more robust version of the functions you saw in the previous lesson using NTH_VALUE. Next, you’ll create “buckets” of data using NTILE, which is more useful than you may think. You’ll also pick up a nifty little tool called CUME_DIST to find the number of records less than or equal to a certain record in a window. You’ll wrap up the chapter with one of the most powerful applications of window functions you’ve seen so far; LAG and LEAD.
3
Aggregate Window Functions
You’ll start this final chapter with aggregation functions like AVG, COUNT, and SUM. You’ll compare the output of these functions to individual records in a window, as well as to perform additional calculations. After this, you’ll master the most exciting application of window functions; running and moving calculations! You’ll start by calculating running averages and totals for different metrics for electric vehicle charging. Finally, you’ll wrap up the course by generating moving totals and averages with a sliding window!
Window Functions in Snowflake
Kurs ukończony
Zdobądź oświadczenie o osiągnięciach
Dodaj te dane uwierzytelniające do swojego profilu na LinkedIn, CV lub życiorysuUdostępnij w mediach społecznościowych i w swojej ocenie okresowej
W zestawiePremia or Zespoły
Zapisz Się TerazDołącz do nas 19 milionów uczniów i zacznij Window Functions in Snowflake już dziś!
Utwórz bezpłatne konto
Lub
Kontynuując, akceptujesz nasze Warunki korzystania, naszą Politykę prywatności oraz fakt, że Twoje dane są przechowywane w USA.