1.

If there are n tuples in the partition and the rank of the tuple is r, then its ________ is defined as (r −1)/(n−1).(a) Ntil()(b) Cum_rank(c) Percent_rank(d) rank()This question was addressed to me in my homework.I want to ask this question from Recursive Queries and Aggregation Features in portion SQL : Queries, Constraints and Triggers of Database Management

Answer»

The correct OPTION is (C) Percent_rank

Explanation: PERCENT rank of a TUPLE GIVES the rank of the tuple as a fraction.



Discussion

No Comment Found

Related InterviewSolutions