how to get second highest salary in SQL(as/4000
Answer Posted / devi
select sal from (select sal,rank() over(order by sal desc)
as rank from emp) where rank>1 and rank<3
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Which is the correct statement about truncate and delete?
What is clustered index in sql?
what is timestamp in mysql? : Sql dba
What is a full join sql?
is mysql query is case sensitive? : Sql dba
How many types of relationship are there?
what are local and global variables and their differences? : Sql dba
what is csv? : Sql dba
What is pivot table in sql?
What is primary key and unique key?
How does a self join work?
Is it possible to include an insert statement on the same table to which the trigger is assigned?
Why is normalization important?
what are date and time data types? : Sql dba
What is the sql*loader? : aql loader