How to find only %th Highest Sal
Answer Posted / sujitpingale
Ans: select distinct(a.salary) from customers a where &n =
(select count(distinct(b.salary)) from customers b where
a.salary <= b.salary);
Enter value in inputbox. If you enter 1 then it will give
highest salary
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what does it mean to have quoted_identifier on? What are the implications of having it off? : Sql dba
What is the difference between drop and truncate commands?
What is crud stand for?
What is the non-clustered index in sql?
Explain what is rdbms?
What are the ddl commands?
What are the types of join and explain each?
what is primary key? : Sql dba
What is difference between db2 and sql?
What are different sql data types?
Define overloaded procedure?
what is sql profiler? : Sql dba
What does inner join mean?
Mention what is the plv (pl/vision) package offers?
Does truncate need commit?