how to find the second highest salary from emp table?
Answer Posted / sarojkant
select max(salary ) from emp table where sal<(select max
(salary)from emp table)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can we change the table name in sql?
Write a sql query to find the names of employees that begin with ‘a’?
What is sql and how does it work?
Can you sum a count in sql?
what are the other commands to know the structure of table using mysql commands except explain command? : Sql dba
How do you create a db file?
what are the 'mysql' command line options? : Sql dba
What is a table in a database?
What is a boolean in sql?
how can we know the number of days between two given dates using mysql? : Sql dba
Explain 3 basic parts of a trigger.
Explain the advantages and disadvantages of stored procedure?
Enlist some predefined exceptions?
How is pl sql different from sql?
How is sql used in oracle?