how to find 2nd highest salary in random database salary of employer.....
Answer Posted / rajasekhar.s
select distinct a.sal from emp a where
n=(select count(distinct b.sal)
from emp b where a.sal<=b.sal)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Does adding an index lock a table?
Does mysql support nosql?
What is meant by mysqli?
Is mysql same as mariadb?
what is mySQL. Is there any specific qualification required to do this course ? What is the scope in India after doing mySQL
What is auto increment in mysql?
what is the difference between the nvl function, ifnull function, and the isnull function? : Mysql dba
Is mysql better than oracle?
How to use 'mysql' to run sql statements?
Does mysql use t sql?
How big is a blob mysql?
Can we store files in mysql?
If you wish to encrypt the username and password using php, how will you do that?
How do I restore a mysql database dump file in linux?
What are the advantages/disadvantages of mysql and php?