how to find the second highest salary from emp table?
Answer Posted / gaurav singh 'viccky'
select salary from user=(select max(salary)from user where
salary < (select max(salary)from user))
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is a primary key? : Sql dba
what is the difference between delete and truncate statement in sql? : Sql dba
How does join work in sql?
how to dump a table to a file with 'mysqldump'? : Sql dba
How to handle bulk data?
Can a foreign key have a different name?
what is the use of double ampersand (&&) in sql queries?
What are analytic functions in sql?
How do you change a value in sql?
What are the types of triggers in sql?
how to select unique records from a table? : Sql dba
How to pronounce postgresql?
Which is better join or subquery?
Is sql a microsoft product?
What is t sql in sql server?