InterviewSolution
Saved Bookmarks
| 1. |
The__________ function that does not create gaps in the ordering.(a) Intense_rank()(b) Continue_rank()(c) Default_rank()(d) Dense_rank()This question was posed to me at a job interview.Question is taken from Recursive Queries and Aggregation Features in chapter SQL : Queries, Constraints and Triggers of Database Management |
|
Answer» CORRECT choice is (d) Dense_rank() The best I can EXPLAIN: For dense_rank() the tuples with the second HIGHEST value all get RANK 2, and tuples with the third highest value get rank 3, and so on. |
|