Answer Posted / shankar
Hi...
here is the query to find out the n'th maximum salary
note: 1.'emp' is Table name & 'sal' is column name.
2.'distinct' is used for finding the unique value
3.'count' is for counting the values.
Query:
------
SELECT * from emp
where sal = (SELECT distinct(sal) from emp x
where &n = (SELECT count(distinct(sal)) from
emp where sal >= x.sal));
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
why QA team is necessary for an organization?
HI can i know who is taking real time testing classes in banglore? i am preparing to put 3+year experience in testing if possible anybody give suggestions for preparing 3+exp
can anybody send the project you have tested with the clear descriptions,and recent bugs u found in that
which test strategy your are fallowing in your company?which documents u r using in software development life cycle?
Diffrence b/w functional testing,functionality testing,system testing?
1. what is a date guidelines ?
what is independent question and what is retriewing and what is problem of severity.
when database testing comes into manual tesing
how will you test transfer funds module...explain in detail
How to find that tools work well with your existing system?
What r the documents required for performance testing
hello there, can anyone tell me what type of question does lg soft company ask in written test especially for a quant part? Thanku
What is an end-to-end testing?
What is the difference between GUI Testing,UI testing and Usability TEsting
Can you please explain about the erp project