Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / jebitha
select max(sal) from emp where sal<>(select max(sal) from
emp);
Is This Answer Correct ? | 7 Yes | 9 No |
Post New Answer View All Answers
Explain the structure of pl/sql in brief.
Do prepared statements prevent sql injection?
Can you have more than one key in a database?
what are the maximum number of rows that can be constructed by inserting rows directly in value list? : Transact sql
Explain the advantages and disadvantages of stored procedure?
What is a table in a database?
Can we rollback after truncate?
How to run sql*plus commands in sql developer?
What is the difference between the sql*loader and import utilities? : aql loader
How to add a column ‘salary’ to a table employee_details?
What is oracle and pl sql?
Which join is like inner join?
Where are my tempfiles, I don't see them in v$datafile or dba_data_file?
What is a pragma statement?
what is the difference between a having clause and a where clause? : Sql dba