how to find the second highest salary from emp table?
Answer Posted / raju tt
select max(salary) from employees where salary not in
(select max(salary) from employees)
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
how to concatenate two character strings? : Sql dba
What are sql constraints?
Is crud a cuss word?
What is rowid in sql?
what is difference between delete and truncate commands? : Sql dba
what is row? : Sql dba
What is prepared statement in sql?
How is sql used in oracle?
What is a data definition language?
What are joins in sql?
what is the difference between rownum pseudo column and row_number() function? : Sql dba
What is inner join in sql?
how can we optimize or increase the speed of a mysql select query? : Sql dba
What are the different ways to optimize a sql query?
How delete all records from table in sql?