how to find the second highest salary from emp table?
Answer Posted / mohan rathour
select max(e1.salary) from Emp_table e1 where e1.salary not
in (select max(e2.salary) from Emp_table e2 )
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how to check server status with 'mysqladmin'? : Sql dba
What does count (*) mean?
how many columns can be used for creating index? : Sql dba
What does select count (*) mean in sql?
What is the use of non clustered index?
How do I copy a table in sql?
What are some predefined exceptions in pl/sql?
How do you select unique values in sql?
What is the use of function "module procedure" in pl/sql?
What are different types of sql commands?
How do I run a sql query in pgadmin 4?
Is a foreign key always unique?
Can we join two tables without common column?
Is ms sql traffic encrypted?
what is subquery? : Sql dba