how to find the second highest salary from emp table?
Answer Posted / udayalakshmij
select emp_name,max(salary) from emp except(select max(salary) from emp);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you use join?
In what condition is it good to disable a trigger?
What is the difference between the conventional and direct path loader? : aql loader
What is the difference between clustered and non-clustered index in sql?
how to present a past time in hours, minutes and seconds? : Sql dba
Can a primary key be a foreign key?
What is cross join example?
What is the execution plan in sql?
how can we repair a mysql table? : Sql dba
which tcp/ip port does sql server run on? : Sql dba
what is schema? : Sql dba
What is the difference between cross join and natural join?
What does dml mean?
What is data modelling in sql?
What is %type in pl sql?