how do u find least salary in a table
Answers were Sorted based on User's Feedback
Answer / sreeja.t.pillai
SELECT MIN(EmpSal) Min_Salary FROM Employee_Details
Is This Answer Correct ? | 14 Yes | 1 No |
Answer / kk
SELECT DISTINCT TOP 1 salary
FROM tblemp
ORDER BY salary ASC
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / saiteja
select ename,sal from emp
where sal=(select min(sal) from emp);
Is This Answer Correct ? | 1 Yes | 0 No |
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 |
What is normalization of database?
What is 2nf example?
tell me what is blocking and how would you troubleshoot it? : Sql server database administration
Is the log file is a part of file group?
You have a table ‘test’ which is a copy of northwind employee table you have written a trigger to update the field ‘hiredate’ with the current date
What are the different types of stored procedures?
Do you know what is a with(nolock)?
Explain powershell included in sql server 2008?
what is the query and condition to delete datas in sql server.
How the authentication mode can be changed?
What is the use of group by clause?
How to display a past time in days, hours and minutes?