write the query for find the top 2 highest salary in sql
server
Answer Posted / pari
select max(sal) from emp
where sal !=(select max(sal) from emp);
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
Is a primary key unique?
can we have a nested transaction? : Sql server database administration
Mention the uses of stored procedures.
System variable and temporary variables
What is sql collation?
What are group functions in query statements in ms sql server?
What do you understand by sql server agent?
Can the “if update (colname)” statement be used in a delete trigger?
What happens if we shrink log file in sql server?
How many tables can be joined in SQL Server?
What is difference between after and before?
What are parameterized reports?
Can one drop a column from a table?
Why are sql functions used?
How can I tell if sql server is 32 or 64 bit?