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 do I open port 1433?

0 Answers  


what is difference between nchar and char in Sql server ?

3 Answers  


How do you connect 100 files as a flat file sources in one package of SSIS?

2 Answers  


Write a code to select distinct records without using the DISTINCT keyword.

0 Answers   Aspiring Minds,


Differentiate between a primary key and a unique key.

0 Answers  


What are the system database in sql server 2008?

0 Answers  


what is the difference between them (ethernet networks and token ring networks)? : Sql server database administration

0 Answers  


How to compare the top two records using sql?

0 Answers  


Which Model uses the SET concept

0 Answers   Infosys,


How to Check Whether a Global Temporary Exists in a SQL Database or not?

2 Answers  


How can u get the number of pupils connecting the database?

1 Answers   Cap Gemini,


To which devices can a backup be created and where should these devices be located? : sql server management studio

0 Answers  


Categories