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
Is json a nosql?
What is the difference between pl and sql?
Why are indexes and views important to an organization?
What is dml with example?
What is the difference between a procedure and a function?
What is a delimiter in sas?
Why use triggers in sql?
What is dml and ddl?
How to get list of all tables from a database?
Differences between Oracle 9i and 10g (Probably in terms of SQL and PL/SQL)?
Is sql procedural language?
Can we rollback delete command?
What is a sql driver?
How do I find sql profiler?
What is normalization? How many normalization forms are there?