adspace
How to find only %th Highest Sal
Answer Posted / sujit pingale
Ans: select distinct(a.salary) from customers a where &n =
(select count(distinct(b.salary)) from customers b where
a.salary <= b.salary);
It will ask you to enter number in input box which salary
you want to see
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Can we use distinct and group by together?
how to start mysql server? : Sql dba
how to use regular expression in pattern match conditions? : Sql dba
what is bcp? When does it used? : Sql dba
Does group by remove duplicates?
How do I remove duplicates in two columns?
define sql insert statement ? : Sql dba
What is the current version of postgresql?
Is inner join faster than left join?
Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me
Do we need to rebuild index after truncate?
what is dbms? : Sql dba
What is your daily office routine?
Is primary key clustered index?
how to escape special characters in sql statements? : Sql dba