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 get max salary with employee number by using one select
query and max function ??

Answers were Sorted based on User's Feedback



how to get max salary with employee number by using one select query and max function ??..

Answer / suresh jp

select emp_no,max(salary) over() from table_employee;

Is This Answer Correct ?    7 Yes 0 No

how to get max salary with employee number by using one select query and max function ??..

Answer / nitin sane

select Employee_name,max(Employee_Salary) over() from Employee_test;

Is This Answer Correct ?    2 Yes 0 No

how to get max salary with employee number by using one select query and max function ??..

Answer / mithilesh gatole

Answer -

select MAX(Salary) from Employee
WHERE Salary <> (select MAX(Salary) from Employee )

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More SQL Server Interview Questions

How to delete all rows with truncate table statement in ms sql server?

0 Answers  


How to defragment table indexes?

0 Answers  


Is the primary key column of a table an index in ms sql server?

0 Answers  


sql database suspect We have a sql database that is showing as suspect. How can we recover?

0 Answers  


Explain having clause and where clause?

0 Answers  


what is normalization? : Sql server database administration

0 Answers  


How optimize sql query with multiple joins in sql server?

0 Answers  


What are the dis_advantages of stored procedures, triggers, indexes?

0 Answers  


Where the sql logs gets stored?

0 Answers  


what is the diffrence between Snap Shot and Transaction Replication

2 Answers   CSC,


What is Command line parameters in PLSQL.?

0 Answers   MCN Solutions,


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

0 Answers  


Categories