please tell me the query to get details of the employee
having the second largest salary

Answer Posted / ss

select max(salary) from emp
where salary<(select max(salary) from emp)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by triggers and mention the different types of it?

672


How to receive returning result from a query?

748


What is the purpose of forms?

685


List the advantages of using stored procedures?

740


Define msdb database?

785






Indexes are updated automatically is the full-text index also updated automatically?

793


Define normalisation?

865


Explain what are the restrictions while creating batches in sql server?

797


How to test a dml trigger in ms sql server?

756


Explain about builtinadministrator?

770


How to create stored procedures with parameters in ms sql server?

704


What are the purposes and advantages stored procedure?

683


What is etl - extraction, transformation, and loading?

667


What is de-normalization and what are some of the examples of it?

722


What is extent? Types of extents?

789