Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / prasanna
select * from emp where 2(select count(distinct sal) from
emp e where sal>=e.sal);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do I kill a query in postgresql?
Can we commit inside a trigger?
What are the datatypes available in pl/sql ?
what are date and time intervals? : Sql dba
how many ways to get the current time? : Sql dba
Does oracle roll back the transaction on an error?
What is nested table in pl sql?
Why do we use procedures?
what are all the common sql function? : Sql dba
what is data manipulation language? : Sql dba
Explain ddl statements in pl/sql?
what are the advantages a stored procedure? : Sql dba
Write an sql query to select all records from the table?
How to write a single statement that concatenates the words ?hello? And ?world? And assign it in a variable named greeting?
what is the difference between a web-garden and a web-farm? : Sql dba