Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Snowflake DSA-C02 Exam - Topic 1 Question 60 Discussion

Which of the Following is not type of Windows function in Snowflake?
C) Aggregation window functions. and D) Association functions.
A) Rank-related functions.
B) Window frame functions.

Snowflake DSA-C02 Exam - Topic 1 Question 60 Discussion

Actual exam question for Snowflake's DSA-C02 exam
Question #: 60
Topic #: 1
[All DSA-C02 Questions]

Which of the Following is not type of Windows function in Snowflake?

Show Suggested Answer Hide Answer
Suggested Answer: C, D

Window Functions

A window function operates on a group (''window'') of related rows.

Each time a window function is called, it is passed a row (the current row in the window) and the window of rows that contain the current row. The window function returns one output row for each input row. The output depends on the individual row passed to the function and the values of the other rows in the window passed to the function.

Some window functions are order-sensitive. There are two main types of order-sensitive window functions:

Rank-related functions.

Window frame functions.

Rank-related functions list information based on the ''rank'' of a row. For example, if you rank stores in descending order by profit per year, the store with the most profit will be ranked 1; the second-most profitable store will be ranked 2, etc.

Window frame functions allow you to perform rolling operations, such as calculating a running total or a moving average, on a subset of the rows in the window.


Contribute your Thoughts:

0/2000 characters
Lashawna
2 days ago
Just to clarify, B and C are definitely types!
upvoted 0 times
...
Raylene
7 days ago
I've seen people mix up A and C before.
upvoted 0 times
...
Herschel
13 days ago
Wait, are we sure about that?
upvoted 0 times
...
Sheridan
18 days ago
Totally agree, D is the odd one out!
upvoted 0 times
...
Ryann
23 days ago
D) Association functions isn't a type.
upvoted 0 times
...
Iola
28 days ago
I’m pretty confident that A, B, and C are all types of window functions, but I can't shake the feeling that I might be mixing up some terms.
upvoted 0 times
...
Titus
1 month ago
I’m leaning towards D) Association functions as the answer, but I vaguely remember something about them being used in other contexts.
upvoted 0 times
...
Kristel
1 month ago
I practiced a question similar to this, and I feel like window frame functions were definitely mentioned, but I can't recall if association functions are valid.
upvoted 0 times
...
Winifred
1 month ago
I think I remember that there are rank-related functions and aggregation window functions, but I'm not sure about association functions.
upvoted 0 times
...

Save Cancel