how to check the 3rd max salary from an employee table?
Answer Posted / akilis.org@hotmail.com
Let us Assume
Table Name=salary
Column Name=maxsal
select * from salary order by maxsal desc limit 2,1;
Enjoy the simple code :)
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
how many tables will create when we create table, what are they? : Sql dba
how to use regular expression in pattern match conditions? : Sql dba
What is the current version of postgresql?
what is schema? : Sql dba
How do I remove duplicates in two columns?
Can we rollback truncate?
What is the current version of sql?
Is primary key always clustered index?
what is dbms? : Sql dba
what is sql server agent? : Sql dba
Is primary key clustered index?
Do we need to rebuild index after truncate?
how to start mysql server? : Sql dba
Can we use distinct and group by together?
Can delete statement be rollbacked?