The posted answer in wrong.Correct answer would beset rowcount 2select distinct salary from employee order by salaryThis will take care of any repeats.
RE: How to find the 2 minimum salaries in a table?
hi, Since you are using the order by clause, please be informed that asc should not be mentioned, as Order by cluase by default sorts the required column in the descending order....