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

find highest salary

Answer Posted / renji

SELECT DISTINCT (
s1.salary
)
FROM `salary` s1
WHERE n -1 = (
SELECT count( DISTINCT (
s2.salary
) )
FROM `salary` s2
WHERE s2.salary > s1.salary )

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain mail function in PHP with syntax?

975


List functions available to sort an php array?

925


What is query string php?

940


Tell me what are sql injections, how do you prevent them and what are the best practices?

882


How to generate a character from an ascii value?

1125


Does php 5 support exceptions?

1085


What distinguishes php from something like client side java script?

998


How can I find my php version?

977


What does php exit do?

976


Which framework is best for php development?

940


What is list function with their uses.

941


What is htmlspecialchars?

954


What does php mean?

932


What does the php error 'parse error in php - unexpected t_variable at line x' means?

1068


What is the difference between file_get_contents() and file_put_contents() in php?

1133