how to find the second highest salary from emp table?
Answer Posted / anantkreshna v
select max(sal) from emp_table where sal < (select max(sal)
from emp_table);
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is normalization in a database?
What are the possible values for the boolean data field?
What is sql data?
What is record variable?
Which command is used to delete a trigger?
how can we find the number of rows in a table using mysql? : Sql dba
What is union and union all keyword in sql?
What are views in sql?
How do I order columns in sql?
What is pessimistic concurrency control? : Transact sql
What is meant by <> in sql?
what are the properties and different types of sub-queries? : Sql dba
what is the difference between delete and truncate statement in sql? : Sql dba
Are stored procedures faster than queries?
What is sql catalog?