Write a query to find second highest salary of an employee.
Answer Posted / arif saulat
select * from emp where sal <(select max(sal) from emp)
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
How can get second highest salary in sql?
What is difference between inner join and cross join?
How do you get column names only for a table (sql server)?
give the syntax of grant and revoke commands? : Sql dba
What is trigger and stored procedure in sql?
What is delimiter sql?
How to connect a sql*plus session to an oracle server?
What is the primary use of normalization?
What are data types in pl sql?
How do you break a loop in pl sql?
What is the use of function "module procedure" in pl/sql?
What does t sql mean?
Does a user_objects view have an entry for a trigger?
How many rows can sqlite handle?
What is the difference between view and stored procedure?