mysql - How to get 2nd highest salary from db -


to find highest salary db use max in query.

how 2nd highest salary db. can 1 suggest sq query

this should help:

select max(salary)  mytable salary < (    select max(salary) mytable ) 

Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -