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

Write a query to get all details of employee who has maximum
salary from employee table

Answer Posted / vj

with cte as
(
select row_number() over (order by employee_salary desc)
maxSal ,* from Employee_Test)
select * from cte where maxSal=1

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

OPTIMIZATION OF SP,CURSOR,TRIGGERS

2792


can any body tell me how to know the password of current user in sql server

2078


What are examples of triggers?

1091


what is a sub-report?

142


What is resource governor in sql server?

1014


Explain trigger classes i.e. Instead of and after trigger?

883


What is factless fact table? : sql server analysis services, ssas

1041


Explain about Views?

1077


How we can refresh the view?

1113


Which are the two editions in which SQL Azure database available?

119


Explain the properties of a relational table?

1029


Explain primary key and foreign key constraints?

1039


Explain log shipping and mention its advantages.

1052


What is the difference between the application object and session object?

1082


How to generate create procedure script on an existing stored procedure?

1017