Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / m
select max(sal) from emp where sal<(select max(sal) from
emp))
| Is This Answer Correct ? | 222 Yes | 39 No |
Post New Answer View All Answers
Suppose a student column has two columns, name and marks. How to get name and marks of the top three students.
How do I truncate a sql log file?
What is constant in pl sql?
what is 'mysqldump'? : Sql dba
What are tables in sql?
If the application is running very slow? At what points you need to go about the database in order to improve the performance?
What is having clause in sql?
What is the difference between rename and alias?
Does sap use sql?
How to select all records from the table?
Which table is left in left join?
What is the command used to fetch first 5 characters of the string?
what is the difference between undefined value and null value? : Sql dba
What is a trigger in sql?
How does sql store data?