write the query for find the top 2 highest salary in sql
server
Answer Posted / k.elumalai
select max(salary)from emp where salary <(select sum(salary)
from emp)
| Is This Answer Correct ? | 6 Yes | 12 No |
Post New Answer View All Answers
Working with TLogs
What is a constant or literal in ms sql server?
Explain hostprotectionattribute in sql server 2005?
What is the fillfactor concept in indexes?
I have a table Events Events containing cardno,time,id,name--each id has a cardno my requirement is every day each employee swipe the card several times i want to calculate first and last time of each card the output should be name 1 2 6 7 in out in out holiday holiday xxx 09:30 06:30 09:40 06:45 where 1,2...... are dates for example january 1,2, etc. 6 and 7 are saturday and sunday how it is posssible
Explain why variables called the most powerful component of ssis?
How to concatenate two strings in SQL Server.
How to create a ddl trigger using "create trigger" statements?
How do I start sql server 2016?
How to backup encryption key ?
What is the server name for sql management studio?
What command is used to delete a table from the database in the sql server and how?
How network traffic be reduced by using the stored procedure?
How to execute a sql statement using odbc_exec()?
How to specify the collation for a character data type in ms sql server?