Select ID, GPA from student grades order by GPA ____________ Inorder to give only 10 rank on the whole we should use.

Select ID, GPA from student grades order by GPA ____________
Inorder to give only 10 rank on the whole we should use.
A. Limit 10
B. Upto 10
C. Only 10
D. Max 10
 
Answer: a
Explanation: 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.
 

Tìm kiếm

Back
Top