Answer Posted / amruta dash
select max(salary) from tblname where salary not in (select
max(salary) from tblname);
| Is This Answer Correct ? | 23 Yes | 1 No |
Post New Answer View All Answers
Explain data warehousing in sql server?
Explain what are the basic functions for master, msdb, model, tempdb databases?
What are the differences between lost updates and uncommitted dependencies?
What are the different Authentication modes in SQL Server and how can you change authentication mode?
Write an SQL query to obtain the 2nd highest salary.
Do you know hot add cpu in sql server 2008?
What is a derived table?
What is filtered index?
Tell me what is sql profiler?
How can we rewrite sub-queries into simple select statements or with joins?
While migrating Microsoft SQL Server 2008 database to SQL Azure, what can be done to ensure the database connectivity does not degrade?
what is nonclustered index
How to create a user name in a database?
Tell me what are the essential components of sql server service broker?
What command is used to rename the database?