U.S. Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - 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

Currently there are no comments in this discussion, be the first to comment!


Save Cancel