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
How much does mysql cost?
What is mysql57?
Why myisam is faster than innodb?
How many mysql connections can handle?
What is meant by sharding?
How can you validate emails using a single query?
What is mysql and why it is used?
How do I install mysql workbench?
How can you plan the logshipping before processing?
Why phpmyadmin is used for mysql?
What are date and time intervals?
Is sql and mysql same?
How do I rename a procedure?
What is a mysql view?
What is pragma serially_reusable and why is it used?