what is syntex second or third highest salary.
thanks & Regards
Dhirendra sinha
Answer Posted / dipti saxena
select sal,rownum from (select sal from emp
order by sal desc)
where rownum<=3
MINUS
select sal,rownum from (select sal from emp
order by sal desc)
where rownum<=1
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
How to convert a unicode strings to non-unicode strings?
What are the advantages of having an index on the sql server?
What is the default Port No on which SQL Server listens?
How do I shrink an ldf file?
What are the differences between user defined functions and stored procedures?
What language is sql server written in?
How to enter comments in transact-sql statements?
what is a deadlock? : Sql server database administration
If I delete a template from the list in sql studio, will it be deleted from the hard disk? : sql server management studio
How sql server enhances scalability of the database system?
What is difference between clustered and non clustered index?
Tell me the difference between clustered and non-clustered index?
Describe in brief databases and sql server databases architecture.
What is the benefit of normalization?
What are points to remember while using the fillfactor argument?