Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to convert a unicode strings to non-unicode strings?

1047


What are the advantages of having an index on the sql server?

885


What is the default Port No on which SQL Server listens?

1087


How do I shrink an ldf file?

946


What are the differences between user defined functions and stored procedures?

1017


What language is sql server written in?

995


How to enter comments in transact-sql statements?

900


what is a deadlock? : Sql server database administration

1004


If I delete a template from the list in sql studio, will it be deleted from the hard disk? : sql server management studio

941


How sql server enhances scalability of the database system?

1141


What is difference between clustered and non clustered index?

939


Tell me the difference between clustered and non-clustered index?

898


Describe in brief databases and sql server databases architecture.

959


What is the benefit of normalization?

1031


What are points to remember while using the fillfactor argument?

922