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 happens if you add a new index to large table?

881


What are rest-style architecture's?

170


Explain what are the restrictions while creating batches in sql server?

1020


Give an example of why you would want to denormalize a database

924


Explain the properties of a relational table?

976


What the different components of Replication and what is their use?

1015


What are the difference between “where” and “having” clause in sql server?

1003


How can delete duplicate records in cte in sql server?

911


Explain index in sql server?

964


How can you insert values in multiple rows using one Insert statement?

1036


Is port 1433 secure?

931


What is database dimension? : sql server analysis services, ssas

1031


What is DCL?

978


Explain rdbms?

979


Explain about local stored procedure?

901