1.

Which of the following will not raise error if not used?(a) OVER clause(b) ORDER BY clause(c) PARTITION BY clause(d) All of the mentionedThe question was asked during an online exam.Enquiry is from Ranking in section Manipulating Data with Select of SQL Server

Answer» RIGHT choice is (c) PARTITION BY clause

Explanation: PARTITION BY clause is not mandatory and when you specify a column/set of columns with PARTITION BY clause then it will DIVIDE the result-set into RECORD groups/partitions.


Discussion

No Comment Found

Related InterviewSolutions