PHP/MYSQL Interview Question
Apr 13, 2009
nth highest Salaray
Question:
select nth highest Salaray...
Answer:
select sal as salary from emp order by sal desc limit n-1,1;
1 comment:
Sarvesh Tiwari
said...
This is very very useful question, Each and every interview have this question.
July 1, 2011 at 10:22 PM
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
1 comment:
This is very very useful question, Each and every interview have this question.
Post a Comment