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

What is delimiter php?

935


Will react hooks replace redux?

911


Why do we use hooks?

854


Is php a strongly typed language?

956


What does mysqli_query return?

894


What are php magic quotes?

877


What is the use of limit in mysql?

915


How can we submit a form without using submit buttons?

916


What is the default session out time?

1027


How to open a file for writing?

995


Which php framework is best for web development?

909


How can a cross-site scripting attack be prevented by php?

932


How to find current date and time?

951


How to get no of arguments passed to a PHP Function?

886


What is the difference between get & post ?

1030