how to find the second highest salary from emp table?
Answer Posted / abhay
select max(sal) from emp where sal< (select max(sal) from
emp)
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Why we use triggers in mysql?
how to convert character strings to numeric values? : Sql dba
what is 'mysqld'? : Sql dba
What is a heap in sql?
Which tcp/ip port does sql server run?
what is foreign key? : Sql dba
What are the main features of cursor?
what are the advantages and disadvantages of views in a database? : Sql dba
What is pragma in pl sql?
Name three sql operations that perform a sort.
What is the difference between the conventional and direct path loads? : aql loader
write an sql query to get third maximum salary of an employee from a table named employee_table. : Sql dba
What are the sql aggregate functions?
What is group function in sql?
What is procedure and function?