InterviewSolution
Saved Bookmarks
| 1. |
Which of the clause is not mandatory?(a) OVER clause(b) ORDER BY clause(c) PARTITION BY clause(d) All of the mentionedThis question was addressed to me in a national level competition.The question is from Ranking topic in portion Manipulating Data with Select of SQL Server |
|
Answer» CORRECT choice is (C) PARTITION BY clause The EXPLANATION: PARTITION BY clause is not mandatory and if you don’t specify it all the RECORDS of the result-set will be considered as a part of single record group. |
|