Search Header Logo

Windows Functions

Authored by Ivy Professional School

Professional Development

Professional Development

Used 25+ times

Windows Functions
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • Ungraded

Full name

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • Ungraded

Email ID

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • Ungraded

Student ID

Evaluate responses using AI:

OFF

4.

MULTIPLE SELECT QUESTION

3 mins • 1 pt

Which all statements are NOT true about Windows Function?

They summarizes the values in the table

They perform calculation on set of rows somehow related to current row

They create different groups and performs aggregation

They are used to find out the Rank

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

With regards to Rank and Dense Rank, which statements are true?

RANK skips the number of positions after records with the same rank number.

RANK DENSE returns position numbers and it doesn’t skip records with the same rank number

RANK & DENSE RANK are same when there is no tie

All of above

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

To narrow a window function's application to a subgroup within a data set, use __________.

PARTITION

OVER

SUBGROUP

GROUP

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

Write a query to find the subject wise Rank.

SELECT subjects, s_name, mark,

rank() OVER ( partition by subjects order by mark desc ) AS 'Rnk' FROM result;

SELECT subjects, s_name, mark , rank() OVER (order by mark asc ) AS 'Rnk' FROM result;

SELECT subjects, s_name, mark, rank() OVER ( partition by subjects) AS 'Rnk' FROM result;

SELECT subjects, s_name, mark, rank() OVER ( partition by s_name order by mark ) AS 'Rnk' FROM result;

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Professional Development