how to find the second highest salary from emp table?
Answer Posted / bharat puri
select top 2 (salary) from emp
order by salary desc
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How can we avoid duplicating records in a query?
explain the difference between delete , truncate and drop commands? : Sql dba
What are the triggers associated with image items?
How to disable a trigger name update_salary?
Which type of cursor is used to execute the dml statement?
What are the constraints available in sql?
How do you write a complex sql query?
How much does a sql dba make? : SQL DBA
How can I make sql query run faster?
Explain the difference between triggers and constraints?
what are the disadvantages of mysql? : Sql dba
Is nosql relational?
What are the various levels of constraints?
How do you break a loop in pl sql?
Why is theta join required?