To find second largest salary in Employee table
Answer Posted / kuduba.r
select max(salary) from emp where sal<(select max(salary)
from emp)
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
If a table does not have a unique index, can a cursor be opened on it?
Explain what is dbcc?
How to use values from other tables in update statements in ms sql server?
What are the advantages of using cte?
If you're given a raw data table, how would perform etl (extract, transform, load) with sql to obtain the data in a desired format?
What is postgresql server?
write an SQL query to list the employees who joined in the month of January?
What are distributed partitioned views?
How can you list all the table constraints in a database?
What is scheduled job and how to create it?
What is autocommit mode in sql server?
What does ss stand for sexually?
What are the export options of ssrs?
How does using a separate hard drive for several database objects improves performance right away?
How to update multiple rows with one update statement in ms sql server?