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


one table has four field id,name,design,salary. i have to
find maximum salary .

Answers were Sorted based on User's Feedback



one table has four field id,name,design,salary. i have to find maximum salary ...

Answer / sujit

select max(sal) from <tablename>
if this answer not correct plz give me commets on the answer

Is This Answer Correct ?    13 Yes 2 No

one table has four field id,name,design,salary. i have to find maximum salary ...

Answer / prashant

Select * from table1 where salary = (select max(salary)
from table1)

Is This Answer Correct ?    8 Yes 0 No

one table has four field id,name,design,salary. i have to find maximum salary ...

Answer / ashish

hi,, it work


select * from table where salary =(select max(salary) from
table) .......this returns whole record of that salary,,,,
an if u want just that maximum salary than



select max(salary) from table

Is This Answer Correct ?    6 Yes 0 No

one table has four field id,name,design,salary. i have to find maximum salary ...

Answer / elumalai.k

select max(salary) from tablename

Is This Answer Correct ?    4 Yes 0 No

one table has four field id,name,design,salary. i have to find maximum salary ...

Answer / soni

SELECT MAX(columnName1)
FROM Employee

Is This Answer Correct ?    3 Yes 1 No

one table has four field id,name,design,salary. i have to find maximum salary ...

Answer / guest

select * from tab where max(salary)

Is This Answer Correct ?    4 Yes 8 No

Post New Answer

More SQL Server Interview Questions

What does ss stand for sexually?

0 Answers  


what is the importence of the trigger in sqlserver2000?

1 Answers   ATI,


What are alternate keys?

0 Answers  


How can you insert null values in a column while inserting the data?

0 Answers  


Explain the stored procedure?

0 Answers  


What are approximate numeric data types in ms sql server?

0 Answers  


What are points to remember while using the fillfactor argument?

0 Answers  


How to drop an existing stored procedure in ms sql server?

0 Answers  


What are triggers? How do you invoke a trigger on demand?

0 Answers   Hexaware,


What is a db view?

0 Answers  


What is a coalesce function?

0 Answers  


Why we use functions in sql server?

0 Answers  


Categories