write the query for find the top 2 highest salary in sql
server

Answer Posted / naren

select max(salary) as salary1 from employee where salary <
select max(salary) as salary2 from employee

Is This Answer Correct ?    27 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why the trigger fires multiple times in single login?

882


Does full backup break log chain?

732


What is the Disadvantage of indexed sequential file.

783


Where are sql server usernames and passwords stored in the sql server?

793


what is an index? : Sql server database administration

680






What is the difference between clustered index and primary key?

677


Do you know how to store and query spatial data?

780


Do you know how to implement service broker?

690


What is trace flag in sql server?

718


Do you have any idea about the tcl commands?

716


What are blobs, tables, and Queues? Is SQL is the standard way to query blobs, tables, and queues?

131


Is resultset an interface?

718


What is stored procedures?

715


What is factless fact table? : sql server analysis services, ssas

761


Can we do dml on views?

730