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

mysql - FireDac error 314 - but DLLs are in program directory -

python - How to read gradle build progress from it's output? -

c# - How do I debug "System.DllNotFoundException: The specified procedure could not be found"? -