Sail E0 Webinar
Question
Select ID, GPA from student grades order by GPA ____________
Inorder to give only 10 rank on the whole we should use :
Options:
A .  Limit 10
B .  Upto 10
C .  Only 10
D .  Max 10
Answer: Option A


Limit clause does not support partitioning, so we cannot get the top n within each partition without performing ranking; further, if more than one student gets the same GPA, it is possible that one is included in the top 10, while another is excluded.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers