how to get second highest salary in SQL(as/4000
Answer Posted / sachin
select max(sal) from employees
where salary < (select max(sal) from employees);
| Is This Answer Correct ? | 19 Yes | 3 No |
Post New Answer View All Answers
What are the most important ddl statements in sql?
What are pl sql data types?
explain the difference between delete , truncate and drop commands? : Sql dba
how to enter binary numbers in sql statements? : Sql dba
Explain the methods used to protect source code of pl/sql.
How to get each name only once from an employee table?
How is debugging done?
What does the hierarchical profiler does?
What is constant in pl sql?
What is sql architecture?
How to find 3rd highest salary of an employee from the employee table in sql?
how would you enter characters as hex numbers? : Sql dba
How to avoid duplicate records in a query?
How do you delete duplicates in sql query using rowid?
What are inner and outer joins examples of both?