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 .

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Cross Join and in which scenario do we use Cross Join?

1061


In which sql server version report builder introduced?

152


What do you know about normalization and de- normalization?

972


What do you understand by user-defined function in the sql server and explain the steps to create and execute a user-defined function in the sql server?

1024


Which is better statement or preparedstatement?

984


How to find the source of a table in sql server?

1039


How to find Duplicate Records In table?

1076


What is data compression? : sql server database administration

1018


As per your opinion what are the five top responsibilities of a dba? : sql server database administration

1174


How to see the event list of an existing trigger using sys.trigger_events?

1137


Name the different type of indexes in sql?

1013


It is important form e to get the information from log files of applications executed by the task scheduler? Does sql studio save these log files? : sql server management studio

1090


What does select 1 mean?

977


Do comments need to go in a special place in sql server 2005?

917


how to trace the traffic hitting a sql server? : Sql server database administration

1957