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...

How to find 6th highest salary from Employee table ?

Answer Posted / vj

with cte as
(
select dense_rank() over (order by salary desc)
maxSal ,* from Employee )
select * from cte where maxSal=6

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to write a query with a full outer join in ms sql server?

1053


Explain the types of indexes.

1180


What is the server name for sql management studio?

997


Define inner join in sql server joins?

1041


What are number line correlation administrators will use while working with a subquery?

1152


What extended events?

988


What is buffer cash and log cache in sql server?

1094


What is single-user mode?

912


What are the instances when triggers are appropriate?

965


What is the Difference Between Primary and Foreign Key?

985


What are null values in ms sql server?

1058


How to write the storeprocedure with in the store procedure? and how can we write the store procedure with in a trigger vice versa? plz post me the exact answer?

2568


Write a program using SQL queries to find a unique entry in a table.

974


What are the advantages of stored procedure in sql server?

880


Explain the first normal form(1nf)?

1004