I have the relation instructor(ID, name, dept name, salary).
The question in our assignment asks us to: Use the rank function in SQL to write a query to nd the id and name of those instructors in the top 10 most highly paid.
I'm able to rank the instructors through using select id, name, rank() over(order by(salary) desc) as sal
from instructor order by sal
What is my next step in grabbing the top 10 instructors? Thanks.