メインコンテンツへスキップ
ホームSnowflake

無料 コース

Snowflake のウィンドウ関数

中級スキルレベル
更新日 2026/01
Snowflakeのウィンドウ関数を使い、ランキング、パーティション、ローリング計算で複雑なデータ問題を解決します。
無料コースを開始

無料に含まれます

SnowflakeData Manipulation
3時間
10 ビデオ
34 演習
2,850 XP
2,295
修了証明書

無料アカウントを作成

Googleで続行その他のオプションを表示

または


続行すると、弊社の利用規約プライバシーポリシーに同意し、データが米国に保存されることに同意したことになります。

何千もの企業の従業員が支持

Group

チームのトレーニングを担当していますか?

Businessをお試しください

コース説明

Snowflake のウィンドウ関数を活用して、問題解決の手法を大幅に広げましょう!このコースでは、データの外れ値を特定したり、移動平均を計算したりするための技術を習得します。まず、従来の集計関数とウィンドウ関数の違いを理解します。次に、Snowflake のクエリ内のすべてのレコードに行番号やランキングを付与することで、ウィンドウ関数の構造をしっかり押さえましょう。基礎を固めたら、ウィンドウ関数とパーティションを組み合わせます。これにより、レコードを順序付きのグループにまとめ、連続する値を比較できるようになります。最後は、集計ウィンドウ関数とローリング平均を学びます。これらはデータの整形と分析において特に役立つウィンドウ関数の応用例です。コースを修了する頃には、Snowflake のクエリをさらに強力にする新しいスキルセットが身に付いています!

前提条件

Data Manipulation in Snowflake
1

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!
Snowflake のウィンドウ関数
コース完了

修了証明書を取得

この修了書をLinkedInや履歴書、CVに追加しましょう
ソーシャルメディアや人事評価で共有しましょう
今すぐ登録

19百万人を超える学習者と共にSnowflake のウィンドウ関数を始めましょう!

無料アカウントを作成

Googleで続行その他のオプションを表示

または


続行すると、弊社の利用規約プライバシーポリシーに同意し、データが米国に保存されることに同意したことになります。

DataCamp for Mobileでデータスキルを磨きましょう

モバイル コースと毎日の 5 分間のコーディング チャレンジで、外出先でも進歩できます。