Answer Posted / indraneelandhavarapu
SELECT MIN(SALARY) from EMPSAL
OR
SELECT MAX(SALARY) FROM
(SELECT DISTINCT TOP 1 SALARY
FROM EMPSAL ORDER BY SALARY) AS A;
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
what is the difference between a primary key and a unique key? : Sql server database administration
How to recompile stored procedure at run time?
How to send email from database?
What is sql server database?
What are cursors? Explain different types of cursors. What are the disadvantages of cursors? How can you avoid cursors?
What is a DBMS, query, SQL?
What is replication with database mirroring? : sql server database administration
What are dml triggers and types of dml triggers?
List layers of abstraction microsoft architectured to provide relational db through cloud platform ?
What is a data collection table?
What are the advantages of user defined function?
What are the types of subscriptions in SQL Server replication?
How to create dbo table in sql server?
What is the difference between ddl,dml and dcl commands?
how to avoid cursors? : Sql server database administration