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
How is foreign key related to primary key?
Difference between uniqe index and uniqe constraint?
How to check status of stored procedure in sql server?
Which tools are available to manage SQL Azure databases and servers?
What is the bookmark lookup and rid lookup?
Explain about SQLOS?
Write a program to fetch first 10 records from a file?
How to optimize stored procedure optimization?
What is user-defined function? Explain its types i.e. Scalar and inline table value user-defined function?
What are the different types of backups avaialabe in sql server 2005?
Different types of keys in SQL?
what are the new features in SSRS?
What will happen if a column containing char type data is changed to the nchar data type?
How to rename an existing column with the "sp_rename" stored procedure in ms sql server?
What is the rdl file?