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
how to enter numeric values as hex numbers? : Sql dba
what are sequences
Can we use ddl statements in stored procedure?
What is aggregate function in sql?
Write a sql query to find the names of employees that begin with ‘a’?
What action do you have to perform before retrieving data from the next result set of a stored procedure ?
Can we write dml inside a function in sql server?
Write the command to remove all players named sachin from the players table.
explain the difference between bool, tinyint and bit. : Sql dba
What is sharding in sql?
What is set serveroutput on in pl sql?
What is sqlerrd?
What is the difference between a database and a relational database?
What is sql and how does it work?
What is difference between sql function and stored procedure?