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 )
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
Post a Comment